Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LegendSun0 opened this issue Dec 14, 2023 · 2 comments

Comments

@LegendSun0
Copy link

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
Copy link
Author

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

@WZMIAOMIAO
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants