Flowtter / crispy

Crispy is a machine-learning algorithm to make video-games montages efficiently. It uses a neural network to detect highlights in the video-game frames
https://crispy.gyroskan.com/
MIT License
83 stars 5 forks source link

Setup consistently fails #12

Closed estheranza closed 2 years ago

estheranza commented 2 years ago

setup.bat consistently fails to build wheels for NumPy. Windows 11, python 3.10.6. Can't get the error message, the file closes when it fails to install. I think it said something to do with lapack atlas files missing. I apologize if this is not helpful or formatted incorrectly/in the wrong place, I don't really have any idea what I'm doing here, just noticed a bug/ incompatibility that completely breaks crispy.

Flowtter commented 2 years ago

Hello,

No problem, the issue could be windows 11, we didn't test on it.

What you can do is open a command prompt, navigate to the directory using cd and run the command pip install -r requirements.txt

You'll have some logs that you can copy paste here or debug.

liyunze-coding commented 2 years ago

Some of the dependencies in requirements.txt seemed to be outdated, mainly NumPy and iPython

Flowtter commented 2 years ago

Yes we know. Unfortunately,the libraries that we'er using have requirements as well. For example, librosa requires numpy to not be above 1.3 if I remember correctly.

The problem is that we have a lot of dependencies that restrict our versions.

They are a few vulnerabilities in the current numpy and IPython, and we plan on upgrading them as soon as the bottleneck from other libraries is released.

estheranza commented 2 years ago

I keep getting an error: NumPy 1.21.0 may not yet support Python 3.10. I also keep seeing that I am "missing blas and lapack"

Flowtter commented 2 years ago

The program has been created with python 3.8.10 Seems like 3.10 has issues indeed https://pullanswer.com/questions/python-3-10-6-for-windows-x86-is-missing-installed-blas-lapack

I updated the release, you can try to download it again and change the python version to 3.8.10

estheranza commented 2 years ago

Mine now works, I would recommend adding instructions on how to manually install the dependencies using pip if people are on the wrong version of python to the documentation. Thank you!

TheRealS4MI commented 1 year ago

image still not working was there a python update i missed?

Flowtter commented 1 year ago

This seems to be a totally different issue from reading the output log. I would recommend double checking all the steps in the installation, you might have skipped one