-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does anyone ever upgraded the build environment? #144
Comments
There seems to be a typo in your command. You've missed 's' from the package name. It's keras |
Sorry for the typo. I will correct it. (python27) C:>pip install TensorFlow==1.5.0 (python27) C:>pip install tensorflow==1.5.0 (python27) C:>pip install OpenCV==2.4.9 |
Upgrade pip for tensorflow. Also, numpy>=1.19 and OpenCV>=3 will work |
Upgrading pip doesn't work for me. For Python 2.7, the newest is pip-20.2.3. (python27) C:>python -V (python27) C:>python -m pip install -U pip (python27) C:>pip install tensorflow==1.5.0 (python27) C:>pip install OpenCV==2.4.9 (python27) C:>pip install OpenCV==2.4.13.6 (python27) C:>pip install OpenCV==3.4.1 |
For opencv:
For tensorflow:
|
I encountered the following error when installing opencv-python.Fortunately, the solution can be found on stackoverflow and it works for me. (python27) C:>pip install opencv-python Collecting opencv-python ----------------------------------------
ERROR: Command errored out with exit status 1: 'g:\anaconda3\envs\python27\python.exe' 'g:\anaconda3\envs\python27\lib\site-packages\pip\_vendo
r\pep517\_in_process.py' get_requires_for_build_wheel 'f:\temp\tmp5giz_o' Check the logs for full command output.
Pip is still unable to find tensorflow on Python 2.7.(python27) C:>pip install tensorflow==1.5.1 ERROR: Could not find a version that satisfies the requirement tensorflow==1.5.1 (from versions: none) (python27) C:>pip install tensorflow ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ======================Python 3.8.3======================= Found several tensorflow packages on Python 3.8.3(base) C:>pip install tensorflow==1.5.1 (base) C:>pip install tensorflow |
@saswat0 |
Check out this version. It's in python3 |
@saswat0 I also want share some amateur's ideas. Just amateur's little ideas...
Maybe it is possible to replace darknet with them, so you don't need to rely on darknet to do the vehicle detection. I also noticed that TensorFlow 2.0+ supports Keras API as tf.keras. Maybe you can also get rid of the Keras, too.
You might be able to do the entire work with TensorFlow 2.0+ solely without building/installing darknet/Keras. |
Darknet is optimised for YOLO. Using tensorflow or pytorch will result in much lesser fps than darknet alone. In fact, the only part that doesn't use darknet in this project is the license plate detection (wpod net in tensorflow) and causes the maximum lag in the entire pipeline Thanks for the feedback though. I'll try to incorporate these things if possible |
I tried to establish the environment but failed. Pip cannot find the old Keras and TensorFlow for Python 2.7.
And, the newer Kera/TensorFlow only supports Python 3.5+.
Original environment: Keras 2.2.4, TensorFlow 1.5.0, OpenCV 2.4.9, NumPy 1.14 and Python 2.7.
Does anyone ever successfully use newer toolchains to reproduce this work? Thank you.
(python27) C:>pip install tensorflow==1.5.0
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: Could not find a version that satisfies the requirement tensorflow==1.5.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==1.5.0
The text was updated successfully, but these errors were encountered: