BasicSR
BasicSR copied to clipboard
model parameters
How to calculate model parameters in BasicSR? When I use thop.profile, the following error occurs:
D:\anaconda3\envs\Pytorch\python.exe C:/Users/DELL/Desktop/BSRN-main/para.py
Traceback (most recent call last):
File "C:\Users\DELL\Desktop\BSRN-main\para.py", line 9, in
Process finished with exit code 1
Have you solved this problem yet? I am currently experiencing the similar problem.If convenience,could you help me?
Have you solved this problem yet? I am currently experiencing the similar problem.If convenience,could you help me?
from torchsummaryX import summary if name=='main': scale = 4 input = torch.zeros(1, 3, 1280//scale, 720//scale) model = Net(in_chan=3, out_chan=3, dim=64, upscale=scale) summary(model, input)
Have you solved this problem yet? I am currently experiencing the similar problem.If convenience,could you help me?
Have you solved this problem yet? I am currently experiencing the similar problem.If convenience,could you help me?
What's your problem?