ckkelvinchan / RealBasicVSR

Official repository of "Investigating Tradeoffs in Real-World Video Super-Resolution"
Apache License 2.0
900 stars 134 forks source link

Running the image model will cause the memory to kill. How to solve it? #58

Open ss-lb opened 2 years ago

ss-lb commented 2 years ago

Running the image model will cause the memory to kill. How to solve it? I have converted the video to a picture ,64gb memory still can be adjusted in the kill configuration?64gb memory still can be adjusted in the kill configuration? And the 24gb video memory will also report insufficient, how to solve it? much needed, thank you

lhcwork commented 1 year ago

hello,I also meet the same problem.The reason casue the memory to kill is that the process use to many memory to temporily store image,and save the output image at once lastly.So,I save the save every max_seq_len,and the memory consumption will decrease