Vram requirements
See original GitHub issueHi there. I wanted to try this project with its amazing examples of face upscaling. I’m on a P5000 with roughly 13.3GB of usable VRAM in Windows 10 but I’ve gotten out of memory errors in trying to upscale my own image. I even cropped in to the face as far as I could but it always fails.
I’m on Python 3.8 with the latest versions of all of the requirements and cudatoolkit 10,1 (from conda)
These are some of the messages I’ve gotten back
RuntimeError: CUDA out of memory. Tried to allocate 5.13 GiB (GPU 0; 16.00 GiB total capacity; 5.34 GiB already allocated; 4.59 GiB free; 8.47 GiB reserved in total by PyTorch)
RuntimeError: CUDA out of memory. Tried to allocate 2.95 GiB (GPU 0; 16.00 GiB total capacity; 12.10 GiB already allocated; 962.25 MiB free; 12.12 GiB reserved in total by PyTorch)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
How Much VRAM Do You Need For Gaming? - GPU Mag
720P – 2GB of VRAM · 1080P – 2GB-6GB of VRAM · 1440P – 4-8GB of VRAM · 4K – 8GB+ VRAM.
Read more >Does GPU Memory Matter? How Much VRAM Do You Need?
The absolute minimum VRAM requirement for 3D modeling, animation, video editing, and graphic design sits between 4-6GB of GDDR5. However, it's ...
Read more >How Much VRAM Do You Need For Gaming? [2022 Guide]
Let's find out. Answer: In 2022, 4 GB of dedicated VRAM should be the bare minimum to aim for in graphics cards. However,...
Read more >How much GPU memory do I need? | Digital Trends
Dedicated GPUs have their own memory, called VRAM, and not having enough VRAM ... Adobe Premiere Pro's minimum requirement for VRAM is 2GB, ......
Read more >How much VRAM do you realistically need in 2021? - Reddit
Well Apex will run on 1GB of VRAM or around half that but that's just meeting the minimum requirements. The recommended VRAM is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

In our experiments, we crop the images based on landmark annotations following previous works. First, we find a rectangular bounding box that can cover the landmarks tightly. Then we crop this bounding box to a square box with length equal to the short side of the rectangular box centered at the same point. Finally, we crop the image with the square box expanded by a scale factor of 1.3 and resize it to 128X128 by bicubic. I think a large difference in cropping strategies might affect the performance while small differences might have sight effects since the alignment network can help localize the faces.
Hi, I wonder what kind of preprocessing method is applied? Does different cropping method lead to different results?