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.33k stars 546 forks source link

error occurred on jetson nano #67

Open SaddamBInSyed opened 4 years ago

SaddamBInSyed commented 4 years ago

@ahmetozlu

thanks for your work. when i run the python3 vehicle_counting.py

then I am getting below error. note: numpy is update to date.

2020-02-11 22:07:29.569821: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 Traceback (most recent call last): File "vehicle_counting.py", line 12, in from api import object_counting_api File "/home/svnano/machinelearning/tensorflow_object_counting_api/api/object_counting_api.py", line 11, in from utils import visualization_utils as vis_util File "/home/svnano/machinelearning/tensorflow_object_counting_api/utils/visualization_utils.py", line 41, in from utils.color_recognition_module import color_recognition_api File "/home/svnano/machinelearning/tensorflow_object_counting_api/utils/color_recognition_module/color_recognition_api.py", line 1, in from utils.color_recognition_module import color_histogram_feature_extraction File "/home/svnano/machinelearning/tensorflow_object_counting_api/utils/color_recognition_module/color_histogram_feature_extraction.py", line 12, in from scipy.stats import itemfreq File "/usr/lib/python3/dist-packages/scipy/stats/init.py", line 348, in from .stats import * File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 177, in from . import distributions File "/usr/lib/python3/dist-packages/scipy/stats/distributions.py", line 13, in from . import _continuous_distns File "/usr/lib/python3/dist-packages/scipy/stats/_continuous_distns.py", line 15, in from scipy._lib._numpy_compat import broadcast_to File "/usr/lib/python3/dist-packages/scipy/_lib/_numpy_compat.py", line 10, in from numpy.testing.nosetester import import_nose ModuleNotFoundError: No module named 'numpy.testing.nosetester'

please advise

ahmetozlu commented 3 years ago

Set numpy version to '1.17.0' and then try again please..