Code Monkey home page Code Monkey logo

Comments (7)

ryanxingql avatar ryanxingql commented on June 18, 2024

Hi
I guess the program is trying to allocate more gpu memory for testing.
You may turn off the regular testing, or conduct the testing on another gpu.

from stdf-pytorch.

FloBEAUG avatar FloBEAUG commented on June 18, 2024

I have commented
# CUDA_VISIBLE_DEVICES=0 python test.py --opt_path option_R3_mfqev2_1G.yml
on the script.sh file but there is no change of behavior.

I just have one GPU on my computer which is used by the OS (linux mint 20.3). With all application closed the system is using an incompressible 500M of GPU memory which I think is causing my problem.

I will try to run in full console mode to free more memory but just in case, can I change some values in the option_R3_mfqev2_1G.yml file to reduce memory consumption ?

from stdf-pytorch.

FloBEAUG avatar FloBEAUG commented on June 18, 2024

Nope, tried in full console environment with 0MB of memory used when launching the training script. Same problem.

from stdf-pytorch.

ryanxingql avatar ryanxingql commented on June 18, 2024

hi, sorry for late response

I mean you may turn off the regular validation in the training process. Check this line:

if ((num_iter_accum % interval_val == 0) or \

from stdf-pytorch.

FloBEAUG avatar FloBEAUG commented on June 18, 2024

Tank you, it seems to work if i do that.
I think my GPU has no sufficient memory to load 1080p video files.

I tried test the pre-trained models but it fails at the same point.
Also tried test_one_video.py which works fine with the default video (BasketballPass_416x240_500) but when I try to open a 1080p video I got the same error.

from stdf-pytorch.

ryanxingql avatar ryanxingql commented on June 18, 2024

Glad to hear that!

If you cannot enhance videos with big resolution, you may cut each frame into smaller patches, enhance these patches and finally combine them into one frame.

Or, you may conduct the test process on cpu, which may be 10 times slower than that on gpu.

from stdf-pytorch.

FloBEAUG avatar FloBEAUG commented on June 18, 2024

Ok thanks I will try that.

from stdf-pytorch.

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.