armaanpriyadarshan / Training-a-Custom-TensorFlow-2.X-Object-Detector

Learn how to train a TensorFlow Custom Object Detector with TensorFlow-GPU
83 stars 47 forks source link

Installation error Package 'dataclasses' requires a different Python: 3.8.5 not in '>=3.6, <3.7' #10

Open BushraSaif opened 4 years ago

BushraSaif commented 4 years ago

Hi Armaan, i am following your tutorial to train a custom object detector using tf2. While i am running following commands copy object_detection\packages\tf2\setup.py . python -m pip install . I am receiving this error. ((((((( Package 'dataclasses' requires a different Python: 3.8.5 not in '>=3.6, <3.7'))))))) I exactly followed your tutorial from starch.

I ignore this and tested installation by using this python object_detection\builders\model_builder_tf2_test.py but received this error,

Traceback (most recent call last): File "object_detection\builders\model_builder_tf2_test.py", line 24, in from object_detection.builders import model_builder ModuleNotFoundError: No module named 'object_detection'

I think it's because of previous once. I need urgent help please guide. Thanks

shehroz010 commented 4 years ago

@BushraSaif which version of python you are using ?