-
Notifications
You must be signed in to change notification settings - Fork 39
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
Is it possible to optionally use Numpy? Cupy is a horrible mess when it comes to compatibility. #8
Comments
The cupy is used in softsplat. I have a substitution but will make the code slower. I can first update it to make you run the code successfully and find a faster way afterwards... |
That would be great as I'm looking into implementing this into a GUI that should run on any recent CUDA version. |
Hi, I just update a version without using cupy. To use it, please substitute "model = AnimeInterp" in config file to "model = AnimeInterpNoCupy" and comment the the content about AnimeInterp (import & all) in models/init.py The substitution seems slightly affect the results but it should not be too much. |
Thanks for the dedication, but I still get errors as it's trying to import CuPy either way.
|
init.py
|
utils/correlation.py still calls cupy. |
utils.init.py
|
CuPy no longer throws errors. However, it seems like the paths are based on Linux?
Seems like it does a double backslash when concatenating paths instead of using a forward slash. |
I run this code with Windows , maybe you can try to remove calculations like PSNR in test_anime_sequence_one_by_one.py and only get the visual effect in store_path
|
I made it work, I had something else wrong. |
It's impossible to run this code on any up-to-date Nvidia machine, as Cupy does not support CUDA 11.3.
Redistributing would also be near-impossible as Cupy only works for one specific CUDA version.
The text was updated successfully, but these errors were encountered: