deep-learning-for-image-processing icon indicating copy to clipboard operation
deep-learning-for-image-processing copied to clipboard

使用swin-transformer里的predict.py和官方swin_tiny_patch4_window7_224.pth模型预测没结果;

Open LegendSun0 opened this issue 1 year ago • 2 comments

System information

  • Have I written custom code:
  • OS Platform(e.g., window10 or Linux Ubuntu 16.04):
  • Python version:
  • Deep learning framework and version(e.g., Tensorflow2.1 or Pytorch1.3):
  • Use GPU or not:
  • CUDA/cuDNN version(if you use GPU):
  • The network you trained(e.g., Resnet34 network):

Describe the current behavior

Error info / logs

LegendSun0 avatar Dec 14 '23 10:12 LegendSun0

使用官方swin_tiny_patch4_window7_224.pth模型预测没有报错,但返回的结果都是0。请问是什么问题?

LegendSun0 avatar Dec 14 '23 10:12 LegendSun0

没理解你说的问题,使用predict脚本会打印每个类别的名称和概率,全0是什么意思

WZMIAOMIAO avatar Jan 28 '24 09:01 WZMIAOMIAO