dvlab-research / MASA-SR

MASA-SR: Matching Acceleration and Spatial Adaptation for Reference-Based Image Super-Resolution (CVPR2021)
161 stars 20 forks source link

AttributeError: 'int' object has no attribute 'item' #33

Closed EchoXu98 closed 1 year ago

EchoXu98 commented 1 year ago

请问在models/trainer.py的第220行中显示这个错误,不知道要怎么处理?