Skip to content

zip error: Nothing to do! (try: zip -rj -q submit_zips/s2anet_r50_fpn_1x_dota.zip . -i work_dirs/s2anet_r50_fpn_1x_dota_bs2_test/test/submit_12/after_nms/*) #13

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

Open
YongZh958 opened this issue Aug 28, 2021 · 10 comments

Comments

@YongZh958
Copy link

Loading config from: configs/s2anet_r50_fpn_1x_dota.py
[w 0828 08:21:51.503818 84 init.py:980] load parameter fc.weight failed ...
[w 0828 08:21:51.503950 84 init.py:980] load parameter fc.bias failed ...
[w 0828 08:21:51.504010 84 init.py:998] load total 267 params, 2 failed
Sat Aug 28 08:21:55 2021 Loading model parameters from work_dirs/s2anet_r50_fpn_1x_dota_bs2_test/checkpoints/ckpt_12.pkl
Sat Aug 28 08:21:55 2021 Testing...
0it [00:02, ?it/s]
Merge results...
0it [00:00, ?it/s]
zip..

zip error: Nothing to do! (try: zip -rj -q submit_zips/s2anet_r50_fpn_1x_dota.zip . -i work_dirs/s2anet_r50_fpn_1x_dota_bs2_test/test/submit_12/after_nms/*)
test时出现了这个问题

@cxjyxxme
Copy link
Collaborator

这是因为网络没有任何大于阈值的输出,可能是网络训练有问题,或者模型加载错了,比如训练的数据集和测试的数据集不匹配。您是直接用JDet提供的config文件吗?还是有做过修改呢?

@YongZh958
Copy link
Author

我用的是自己进行切割后的图片及标准文件,然后将配置文件里的数据集路径修改为自己数据集的路径,其他的没有做修改

@cxjyxxme
Copy link
Collaborator

那网络是重新训练的还是下载的JDet提供的权重呢?您是用哪个数据集训练和测试的呢?

@YongZh958
Copy link
Author

重新训练的权重,用的是高分大赛的数据集

@cxjyxxme
Copy link
Collaborator

您是用哪个脚本切割的数据呢

@YongZh958
Copy link
Author

用的是devkit里的ImageSplit.py

@cxjyxxme
Copy link
Collaborator

您可以参考这个文档,用JDet提供的数据预处理工具preprocess.py试试:https://github.com/Jittor/JDet/blob/master/docs/fair.md

@YongZh958
Copy link
Author

就是处理处理数据后重新训练一遍吗

@cxjyxxme
Copy link
Collaborator

是的

@YongZh958
Copy link
Author

好的

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