You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When computing the ssim of the output of a CNN (batch size 8, image resolution is 192*192), the consumed GPU memory are doubled. It seems that the ssim should require little GPU memory. I am curious about this problem. Thx~
The text was updated successfully, but these errors were encountered:
For my project, i needed the ssim function. So by adding the line below at the start of the ssim function definition (in the init.py file) , i was able to reduce the memory consumption
torch.cuda.empty_cache()
When computing the ssim of the output of a CNN (batch size 8, image resolution is 192*192), the consumed GPU memory are doubled. It seems that the ssim should require little GPU memory. I am curious about this problem. Thx~
The text was updated successfully, but these errors were encountered: