Open Hatem-Jr opened 3 years ago
Seems like a darkflow issue. Did you try solving it like in #849 darkflow issue?
the solution of JaronrH I got stuck at number 6 and that was the error:
D:\custom code\YOLO-Object-Counting-API>setup.py build_ext --inplace
Traceback (most recent call last):
File "D:\custom code\YOLO-Object-Counting-API\setup.py", line 3, in
Even though all requirements already were satisfied in points 3,4,5
can you tell me all the modules that I should install even before the getting started section ? (with their cmd install commands ?)
Have you tried all 3 options described in Getting started
section of the Readme??
option 1: D:\custom code\YOLO-Object-Counting-API>python3 setup.py build_ext --inplace Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
option 2:
and option 3 as above
Maybe try using anaconda and replace python3
with python
?
D:\custom code\YOLO-Object-Counting-API>python setup.py build_ext --inplace running build_ext copying build\lib.win-amd64-3.8\darkflow\cython_utils\nms.cp38-win_amd64.pyd -> darkflow\cython_utils copying build\lib.win-amd64-3.8\darkflow\cython_utils\cy_yolo2_findboxes.cp38-win_amd64.pyd -> darkflow\cython_utils copying build\lib.win-amd64-3.8\darkflow\cython_utils\cy_yolo_findboxes.cp38-win_amd64.pyd -> darkflow\cython_utils
but when running the count_cars_crossing_virtual_line.py this error occurs:
PS D:\custom code\YOLO-Object-Counting-API> & C:/Users/Owner/AppData/Local/Programs/Python/Python39/python.exe "d:/custom code/YOLO-Object-Counting-API/count_cars_crosing_virtual_line.py"
Traceback (most recent call last):
File "d:\custom code\YOLO-Object-Counting-API\count_cars_crosing_virtual_line.py", line 2, in
Did you try installing tensroflow?
pip install tensorflow
?
requirement already satisfied in the cmd but somehow when I run this count_cars_crossing_virtual_line.py the error above happens, also I tried adding imports in that file still same error but I might have an idea what is your running environment in vscode? my current one is: C:/Users/Owner/AppData/Local/Programs/Python/Python39/python.exe I tried using different environments but had more errors than just: ModuleNotFoundError: No module named 'tensorflow'
everything is installed correctly and option 1 in the read me file worked problem is when running this: C:/Users/Owner/AppData/Local/Programs/Python/Python39/python.exe "d:/custom code/YOLO-Object-Counting-API/count_cars_crosing_virtual_line.py" this error appears: "ModuleNotFoundError: No module named "tensorflow" even though tensor flow is installed correctly in the comment above is there anymore modules I should install in order to get the counting to work (before even the getting started part in readme) ?
Hi I cloned another repo that uses tensor flow that has the same getting started section however I tried all 3 ways of and the last one did this: