xinntao / EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
https://github.com/xinntao/BasicSR
1.49k stars 318 forks source link

AssertionError for assert x.size()[-2:] == flow.size()[1:3] #195

Open browneyes1222 opened 3 years ago

browneyes1222 commented 3 years ago

When I test tof ,i get an error for AssertionError。I wonder how you can sure the size of avg_pool2d is the same as F.interpolate.There is an error cause the size of ref is [36,45] while the size of flow_up which is upsamlped from the size of [18,22] is [36,44].