-
Notifications
You must be signed in to change notification settings - Fork 3
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
实验结果精度只有7%,请教是哪里出错了? #2
Comments
检查这个函数 |
您好,这个函数在opencv 4.5.5中返回2个值,还有其他可能的问题吗?会不会是标签、权重或者代码计算哪里可能有问题?我用的不是caffe vgg16,是vgg16-397923af.pth,这个有影响吗?
|
这个代码load的是caffe的模型。 |
caffe的模型和torch model_zoo 的那个区别在哪里?我具体是改哪里可以跑vgg16-397923af.pth呢? |
我没有测试过torch的模型,我是按照Grad-CAM里面的setting测得caffe的模型。caffe的模型比torch的模型定位效果要好。如果需要 ,需要改test_data_loader_caffe() 成 test_data_loader() , 因为caffe模型和torch模型处理数据的方式是不一样的。 |
大神您好!我使用的权重是vgg16-397923af.pth,环境是python3.9 opencv-python 4.5.5
这是运行结果,top1非常低,这是哪里出错了吗?
The text was updated successfully, but these errors were encountered: