Giter VIP home page Giter VIP logo

Comments (8)

HanClinto avatar HanClinto commented on May 26, 2024 2

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

from zooming-slow-mo-cvpr-2020.

mpriessner avatar mpriessner commented on May 26, 2024 2

I actually found out the solution myself. :)

It is as simple as changing the line 8 in train_zsm.yml

from
gpu_ids: [2]
to
gpu_ids: [0]

because Google Colab just provides one GPU instead of three.
I hope in case anyone else runs into that problem that this comment helps.

from zooming-slow-mo-cvpr-2020.

freedomlyle avatar freedomlyle commented on May 26, 2024 1

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!

from zooming-slow-mo-cvpr-2020.

mpriessner avatar mpriessner commented on May 26, 2024 1

Hello everyone!

@Mukosame: Thank you for this amazing work. It is fascinating how well the interpolation works.
@HanClinto: thanks for sharing the code for the Colab notebook - it works very well for the testing.

I am trying to train a new model from scratch with just 2x magnification on google colab and I run into some problems here.
When I use thetorch==1.4.0 torchvision==0.5.0 as done by HanClinto I get the following error when running:
!python train.py -opt options/train/train_zsm.yml

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:
https://github.com/jinfagang/DCNv2_latest.git
which works also fine with torch==1.5.0+cu101 torchvision==0.6.0+cu101 and normal pytorch 1.6 for the interpolation of videos but when I try the training again I get the following error:

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:
RuntimeError: cuda runtime error (38) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:50

All the trails the torch.cuda.is_available() gives me "True". Therefore I don't understand why I get these errors.
The grafic card is: Tesla V100-SXM2-16GB

Does anyone know how to solve this problem?
Thank you!

from zooming-slow-mo-cvpr-2020.

Mukosame avatar Mukosame commented on May 26, 2024

Hi @HanClinto , thanks for your comments! I'm sure your gist would be very helpful for other ones.
As for the OOM issue, I recalled that it was also mentioned in previous issues. Thanks for your detailed feedback and the provided video again. I will try to modify my code to make it more memory-efficient for video processing.

from zooming-slow-mo-cvpr-2020.

HanClinto avatar HanClinto commented on May 26, 2024

@freedomlyle Very glad to hear it was helpful, thank you! :)

from zooming-slow-mo-cvpr-2020.

noobtoob4lyfe avatar noobtoob4lyfe commented on May 26, 2024

This no longer works. please update or delete

from zooming-slow-mo-cvpr-2020.

HanClinto avatar HanClinto commented on May 26, 2024

This no longer works. please update or delete

@noobtoob4lyfe what error are you having?

from zooming-slow-mo-cvpr-2020.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.