Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #2321 Subclass PyTorchYolo and PyTorchDetectionTransformer off PyTorchObjectDetector #2371

Closed
wants to merge 31 commits into from

Fix unit test

bb1e089
Select commit
Loading
Failed to load commit list.
Closed

Fix #2321 Subclass PyTorchYolo and PyTorchDetectionTransformer off PyTorchObjectDetector #2371

Fix unit test
bb1e089
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Dec 26, 2023 in 5s

12 new alerts

New alerts in code changed by this pull request

  • 12 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 252 in art/estimators/estimator.py

See this annotation in the file changed.

Code scanning / CodeQL

Mismatch between signature and use of an overridden method Note

Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasRegressor.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method MXClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchRegressor.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method TensorFlowClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method TensorFlowV2Classifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method MXClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method TensorFlowClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method TensorFlowV2Classifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method TensorFlowClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchObjectDetector.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method s

Check notice on line 444 in art/estimators/estimator.py

See this annotation in the file changed.

Code scanning / CodeQL

Mismatch between signature and use of an overridden method Note

Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchObjectDetector.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchDeRandomizedSmoothing.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchDeRandomizedSmoothing.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'scheduler'. Overriding method
method PyTorchObjectDetector.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'scheduler'. Overriding method
method PyTorchDeRandomizedSmoothing.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'scheduler'. Overriding method
method PyTorchDeRandomizedSmoothing.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'update_batchnorm'. Overriding method
method PyTorchDeRandomizedSmoothing.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'update_batchnorm'. Overriding method
method PyTorchDeRandomizedSmoothing.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'drop_last'. Overriding method
method PyTorchObjectDetector.fit
matches the call.

Check notice on line 66 in art/estimators/keras.py

See this annotation in the file changed.

Code scanning / CodeQL

Mismatch between signature and use of an overridden method Note

Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'verbose'. Overriding method
method KerasClassifier.fit
matches the call.

Check notice on line 204 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 211 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 222 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 226 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 243 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 262 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 273 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 287 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.

Check notice on line 302 in tests/estimators/object_detection/test_pytorch_detection_transformer.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.