-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
outdated requirements? #131
Comments
Hello, I cannot help you regarding the NumPy build, but can you try with the right Python version (3.6 or 3.7) and let me know if you fail to install the requirements for that as well? |
Thanks, I saw that the numpy compilation seems to be a python 3.8 specific problem, as soon as I have time I will try to install the 3.6 in the docker image (there is a good chance that the 3.7 will work or should I stay on 3.6 to be sure?) |
Most people have tried with 3.6. I think you have a better chance with 3.6. |
Ok, it seems to work with the dependencies specified in requirements, if you are interested here is a gist of the Dockerfile (to clean and fix for cuda which does not work for me for the version in the card too old) and .dockerignore. Thanks. |
If you can add it with instructions on how to use and create a pull request, I can merge it into the main repo. I have no experience with docker, so I would not be able to contribute here. Glad your issue is solved! :) |
Thanks, sorry if I answer here even if the issue is closed, I cleaned up the gist a bit and added some instructions in the header, it is easy to use once a compatible version of docker is installed, the commands must be given in the project directory , the first build of the docker image takes some time (and some disk space) to download / install / build but only needs to be done once, I think right now it is still incomplete to open a PR, but it could be a good starting point if someone with docker experience and a gpu suitable for training wants to try. |
@prajwalkr @snehitvaddi @dipam7 @xenogenesi |
I hope this message finds you well. I encountered a similar issue as the original poster when using Python 3.10, so I switched to Python 3.6 as recommended. However, I have run into another problem when attempting to install the dependencies using The installation process seems to get stuck at the following step for an extended period (over an hour):
I have tried searching for any existing solutions within the repository's issues and related discussions, but I haven't found any relevant information so far. I was wondering if anyone else has experienced this issue and if there's a known solution or workaround for it. Thanks! |
global cap.cpp:597 cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): temp/result.avi in function 'cv::icvExtractPattern' 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [04:28<00:00, 268.58s/it] I am getting this , can any one solve this |
Have you solve it? |
Hope this might help someone: I had installed Python 3.6.8 on my Windows machine and was running Firstly, make sure to use the 64-bit Python version as PyTorch does NOT work on the 32-bit Python version (Reference: PyTorch Windows Installation). I was facing this issue:
This was resolved by going to: PyTorch CPU Wheel Files Then use
Replace Then download that file. Install using: pip install <path to wheel file> (Reference: Stack Overflow) |
I am trying to run it locally but I have problems with dependency versions, I have tried with Debian/sid and then with docker (which is based on nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 and is the same image for the
face-alignment
project which works)I tried to upgrade the packages with the nearest available stable version
But then numpy fail to build
Any hint to get it working?
The text was updated successfully, but these errors were encountered: