olgaliak / active-learning-detect

Active learning + object detection
MIT License
100 stars 33 forks source link

Error with upload_vott_json.py #28

Closed GondekNP closed 6 years ago

GondekNP commented 6 years ago

Abram and I are having an issue getting the VoTT workflow set up on a second windows machine. Downloading the images and tagging works just fine, the json is properly updated after tagging, but tagging.csv is never updated with the script, and tagged.csv is not created. We made sure all of the modules we needed are up to date, and our parameters are set properly in our config_cats.ini file, and we aren't sure what else to try.

Here's an image of the error

abfleishman commented 6 years ago

@GondekNP Nick I got this to work on your machine! I had to write the full path to python37! eeeeewwww! But That tells me that it is an issue with the env var PATH and not a python issue. Lets chat tomorrow but I think this means we can get you up and running on your own computer!

cd "D:\CM,Inc\active-learning-detect\tag" C:\Users\ConservationMetrics\AppData\Local\Programs\Python\Python37-32\python.exe .\upload_vott_json.py ..\config_cats.ini

yashpande commented 6 years ago

Yeah the issue probably occurred because the version of python that you were running this with was <3.6. Some of the code requires 3.6+ to work correctly, which can be fixed by directly using the python 3.6/3.7 executable instead of simply typing python.