Closed Paperone80 closed 3 years ago
@Paperone80 As you are using an older version of tensorflow(1.x) which is officially considered as end of life. could you please upgrade to 2.6 which is latest stable version of TF and let us know if the issue still persists in newer versions. Thanks!
@kumariko, @vighneshbirodkar, yep, still the same issue with TF 2.6.0 and latest clone from models master:
tensorflow 2.6.0 tensorflow-addons 0.11.2 tensorflow-datasets 4.1.0 tensorflow-estimator 2.6.0 tensorflow-gpu 2.6.0 tensorflow-hub 0.10.0 tensorflow-metadata 0.26.0 tensorflow-model-optimization 0.5.0 tensorflow-serving-api 2.3.0 tensorflow-text 2.6.0
ValueError Traceback (most recent call last)
I am taking a look now.
@kumariko Can you try now ?
@vighneshbirodkar, pulled your latest changes and ran our tests again. No error and the return values are as expected again. Seems resolved now. Thanks.
Prerequisites
Please answer the following questions for yourself before submitting an issue.
1. The entire URL of the file you are using
https://github.com/tensorflow/models/tree/master/research/...
2. Describe the bug
@vighneshbirodkar, the rewrite of reframe_image_corners_relative_to_boxes() in research/object_detection/utils/ops.py with commit #58644b9653601e2cc8ba2c335b7ecb76887ff8b7 breaks run_inference_for_single_image().
PATH_TO_FROZEN_GRAPH = "mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb"
Resolved after reverting back to previous version:
git checkout 41aafda97ff4b7bc6125c07bbfe3658707414a81 -- "research/object_detection/utils/ops.py"
Last part of the traceback: