ahmetozlu / tensorflow_object_counting_api

🚀 The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
https://www.youtube.com/watch?v=yT_1eKJTdfk
MIT License
1.32k stars 546 forks source link

NameError: name 'urllib' is not defined #30

Closed Haortiz10 closed 5 years ago

Haortiz10 commented 5 years ago

Hi, i'm getting this error I hope you could help me, thanks in advance

~\AppData\Local\Continuum\anaconda3\lib\site-packages\utils\backbone.py in set_model(model_name) 25 # Download Model if it has not been downloaded yet 26 if (model_found == 0): ---> 27 opener = urllib.request.URLopener() 28 opener.retrieve(download_base + model_file, model_file) 29 tar_file = tarfile.open(model_file)

NameError: name 'urllib' is not defined

ahmetozlu commented 5 years ago

Please check this out!