question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Decrease memory needs

See original GitHub issue

I have a simple RTX 2060, with 6gb, is that possible to run on it? I’m testing with the tanksandtample data, but its complaining of gpu memory.

but if I decrease the resolution in the arguments bwhen running its seems to doesnt make difference. If I change the ndepth it does work, to a certain point, as it complains

RuntimeError: The size of tensor a (3) must match the size of tensor b (4) at non-singleton dimension 2

I think the problem is because the training checkpoint provided was trained using the default depths 48,32,8

So in the and I cant run the tests. Is there another way? Thanks a lot.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Ma5oniccommented, Oct 2, 2022

No problem! I’m glad that I could help 😃

1reaction
carlosedubarretocommented, Sep 29, 2022

Thans a lot for the answer. I just found out a way to run on my 6gb card. decrease the max_h/max_w size and the numdepth

This one works for me python eval_rcmvsnet_dtu.py --numdepth 128 --max_h 512 --max_w 512

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Free Up RAM and Reduce RAM Usage on Windows
Need to learn how to free up RAM on your computer, perhaps after seeing messages that your Windows PC is low on memory?...
Read more >
11 ways to decrease RAM usage and speed ...
Use less resource-instensive apps. Although not always possible, using lighter apps that don't require as much RAM is a great way to decrease...
Read more >
How to Reduce Memory Usage
Close windows and exit programs when you are done using them. Having many unnecessary programs and windows open wastes RAM. If your computer...
Read more >
Rendering Issue: Decrease the memory requirements
Decrease the memory requirements for the rendering of this frame. Note: The maximum amount of memory that one frame can occupy is 2...
Read more >
Reducing Memory Usage
For best performance, this number should be less than your total (363) memory and in order to prevent out of memory errors, it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found