chunmeifeng / SANet

【IEEE TNNLS 2023】Exploring Separable Attention for Multi-Contrast MR Image Super-Resolution
43 stars 6 forks source link

NumpyMetrics和TensorMetrics引用失败 #4

Open CLAY-Z opened 5 months ago

CLAY-Z commented 5 months ago

在evaluat.py中第198行报错: default=CORPD_FBK 图片

chunmeifeng commented 5 months ago

应该不是我的代码问题,你再check一下

Zhao Xiaohe @.***> 于2024年3月12日周二 13:38写道:

在evaluat.py中第15行提示: from pytorch_lightning.metrics.metric import NumpyMetric, TensorMetric中,NumpyMetrics和TensorMetrics引用失败,查看metric.py发现只有Metric类,没有NumpyMetrics和TensorMetrics的相关定义。 2024-03-12.133707.png (view on web) https://github.com/chunmeifeng/SANet/assets/37917907/d921c359-217c-483f-a7ac-abc6e974bd00

— Reply to this email directly, view it on GitHub https://github.com/chunmeifeng/SANet/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR75XNZVQTS2J3JJLUE5ZWLYX2IFTAVCNFSM6AAAAABERR2YRCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DANZXGUZTKOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AHU-chenzhao commented 4 months ago

在evaluat.py中第198行报错: default=CORPD_FBK 图片

你好,请问你是如何解决的呢?