-
Notifications
You must be signed in to change notification settings - Fork 154
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
Running in Google Colab #31
Comments
Note: Here is the file that I could not get to process without running out of memory -- it would be really nice to be able to process larger videos like this: https://drive.google.com/file/d/1o2dXzchZGa1hsep8z9NKLn411_cU6jfV/view?usp=sharing |
Hi @HanClinto , thanks for your comments! I'm sure your gist would be very helpful for other ones. |
I'm suffering from a problem with the window system that prevents me from running the project.But the approach you suggested allowed me to successfully test the project, thank you so much for your selfless dedication! |
@freedomlyle Very glad to hear it was helpful, thank you! :) |
Hello everyone! @Mukosame: Thank you for this amazing work. It is fascinating how well the interpolation works. I am trying to train a new model from scratch with just 2x magnification on google colab and I run into some problems here. RuntimeError: cuda runtime error (100) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:50 I also tried to exchange the DCNv2 for a different version provided from: THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=47 error=100 : no CUDA-capable device is detected terminate called after throwing an instance of 'std::runtime_error' what(): cuda runtime error (100) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:47 When trying torch==1.2.0 torchvision==0.4.0 with installing pillow==6.1 (otherwise Pillow==6.1 error) I got the following error: All the trails the Does anyone know how to solve this problem? |
I actually found out the solution myself. :) It is as simple as changing the line 8 in train_zsm.yml from because Google Colab just provides one GPU instead of three. |
This no longer works. please update or delete |
@noobtoob4lyfe what error are you having? |
Initially I had some trouble running this code in Google Colab, but eventually got it to work and wanted to share my notebook in case others would find this useful:
https://gist.github.com/HanClinto/49219942f76d5f20990b6d048dbacbaf
Eventually it might be nice to clean this up a bit more and put it into the repo as an included "quick start" for users.
Note that you will need to run on a Colab VM with GPU support, and it helps if you tick the "High RAM" option as well. Note that I ran out of memory when attempting to process a video of resolution 480x848, but when I switched to a video that was only 320x564 then it was able to complete after I set the command-line option of
--N_out 3
Thank you so very much for this code -- it's very well done!
The text was updated successfully, but these errors were encountered: