darkflow
darkflow copied to clipboard
Error running in python
Dear all
I run in windows 8.1 and have downloaded / clone https://github.com/thtrieu/darkflow and extract, do what the tutor do
- set command prompt in administrator
- run python35 setup.py build_ext --inplace, i use microsoft visual studio community 2015 to compile
- pip install -e .
- pip install . it succeed, and they created file with extension .pyd
but when i open python and type "from darkflow.net.build import TFNet" the python has stopped working and crash. but if i just import cv2 it works normaly.
anyone can help me ?
Thx
Sorry, I thought it was clear, you can do one of the three steps outlined in https://github.com/thtrieu/darkflow#getting-started not all three.
Can you run pip uninstall darkflow
to remove any installations, then in the root of the cloned darkflow repository just run pip install .
and try from darkflow.net.build import TFNet
again?
If it doesn't work please provide more information - when you say it "has stopped working and crashes" does it give an error? If so, please include that information here.
Here i enclosed in the attachment the error result
Hmm, not exactly sure what is going on. You haven't made any modifications to the code have you? Can you try uninstalling again - delete the folder with darkflow in it - re-clone the repository, install again using pip install .
and then try creating a test python file with the code detailed in https://github.com/thtrieu/darkflow#using-darkflow-from-another-python-application and see if you get the same results. Everything runs just fine on my system (Windows 10) when running the same commands you did - it's tough to diagnose this without an error message.
One unrelated note - it looks like the folder where your cloned code is a folder named "yolo9000tf" - just so you know, darkflow does not currently support YOLO9000 - but hopefully it will be supported soon - see https://github.com/thtrieu/darkflow/issues/49
Dear
I rename the folder just to remain me that is yolo, i never modify the source code, i did delete and install several times, but the problem still the same, i didn't know if it will work on 64 bit or not. I'm using python 3.5.3 64 bit released on jan 2017, i'm not sure, is it possible that the python version you are using for and i'm using for different, that cause error ?
Thx
Limin
You should run "pip install ." in darkflow folder
- python35 setup.py build_ext --inplace Can any one tell me how to compile python3.5 setup.py build_ext --inplace, through microsoft visual studio community