You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you planning to deploy it using docker container? [yes/no]: no
Is it a CPU or GPU environment?: CPU
Using a default/custom handler? [If possible upload/share custom handler/model]: NA
What kind of model is it e.g. vision, text, audio?: NA
Are you planning to use local models from model-store or public url being used e.g. from S3 bucket etc.? local models
[If public url then provide link.]:
Provide config.properties, logs [ts.log] and parameters used for model registration/update APIs: NA
* Fixes#772: unit test attribute error - 'bytes' object has no attribute 'metrics'
* Fixes#773 : Unit test - AssertionError for test_object_detector.py
Co-authored-by: Aaqib <maaquib@gmail.com>
Context
The handler unit tests in the ts/torch_handler folder fails in the master branch.
As you run "./run_unit_test.sh" , it fails with the following error
in the test_object_detector.py file in the line assert('bench' in results[0]).
Your Environment
[If public url then provide link.]:
Expected Behavior
The object detector unit test should pass.
Current Behavior
Possible Solution
Modify the object_detector_unit_test to properly asserts the object_detector response.
Steps to Reproduce
2.Run "run_unit_test.sh" inside the folder ts/torch_handler/unit_tests
Failure Logs [if any]
unit_test_metrics_object_detector.log
The text was updated successfully, but these errors were encountered: