Fixed auto_segmentation app (#1562)

* disabled tf eager execution for auto_segmentation
* Update CHANGELOG.md
main
Andrey Zhavoronkov 6 years ago committed by GitHub
parent 5816494694
commit 43395af812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed an issue with large number of instances in instance mask (https://github.com/opencv/cvat/issues/1539)
- Fixed full COCO dataset import error with conflicting labels in keypoints and detection (https://github.com/opencv/cvat/pull/1548)
- Fixed COCO keypoints skeleton parsing and saving (https://github.com/opencv/cvat/issues/1539)
- `tf.placeholder() is not compatible with eager execution` exception for auto_segmentation (https://github.com/opencv/cvat/pull/1562)
### Security
-

@ -41,6 +41,11 @@ def run_tensorflow_auto_segmentation(frame_provider, labels_mapping, treshold):
## INITIALIZATION
# workarround for tf.placeholder() is not compatible with eager execution
# https://github.com/tensorflow/tensorflow/issues/18165
import tensorflow as tf
tf.compat.v1.disable_eager_execution()
# Root directory of the project
ROOT_DIR = os.environ.get('AUTO_SEGMENTATION_PATH')
# Import Mask RCNN

Loading…
Cancel
Save