Auto-Annotate icon indicating copy to clipboard operation
Auto-Annotate copied to clipboard

Simple fix: Label --label does not belong to COCO labels

Open mdhmz1 opened this issue 3 years ago • 4 comments

The error:

Using TensorFlow backend. WARNING:tensorflow:From annotate.py:14: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.

WARNING:tensorflow:From annotate.py:14: The name tf.logging.ERROR is deprecated. Please use tf.compat.v1.logging.ERROR instead.

Traceback (most recent call last): File "annotate.py", line 156, in assert args.label in COCO_DATASET_LABELS, "Label --label does not belong to COCO labels " AssertionError: Label --label does not belong to COCO labels

Please refer to the issue below in order to be more informed on this: https://github.com/mdhmz1/Auto-Annotate/issues/11

mdhmz1 avatar Oct 07 '22 09:10 mdhmz1

Hi @mdhmz1 Can I take this up?

jivjen avatar Oct 07 '22 11:10 jivjen

Go ahead. Shall I assign it to you?

mdhmz1 avatar Oct 07 '22 13:10 mdhmz1

I cross checked the labels and seems like all the labels of COCO dataset are already defined in COCO_DATASET_LABELS Could you let me know what exactly needs to be looked into here?

jivjen avatar Oct 07 '22 17:10 jivjen

Try running the application using a label in Coco dataset and it should probably throw an error as above.

mdhmz1 avatar Oct 07 '22 23:10 mdhmz1