-
Notifications
You must be signed in to change notification settings - Fork 166
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
Pruning 段错误 #18
Comments
|
这描述给的信息太少了 尝试单步debug吧 我这边流程是没问题 |
确认一下我这样的操作是否正常 |
这个是我执行的脚步
|
我修改了 cfg、data、weights、epochs、batch_size |
baseline用的模型是 mobilenet_v2-b0353104.pth,后续的都是上一次训练得到的best模型,到pruning这步就这样了。我尝试重新训练看看是否正常 |
能问问您关于这个数据集放置的问题吗 |
走debug吧 看是哪个位置错了 |
定位的执行bn_analyze方法的 |
如果是服务器terminal应该不带显示功能吧 plt的问题 |
定位到是matplotlib.pyplot相关方法调用报错,我注掉后使用IDEA运行正常,但是通过终端执行还是会报段错误。 |
我用的是深度的系统,deepin v20 |
test.py文件使用剪枝后的模型会报错,报错信息如下: |
我先是通过
python train.py --type mvocs
进行训练,再通过python3 train.py --type smvocs
将上一步的best_mvocs.pt作为本次训练的输入模型,再通过python3 pruning.py -t 0.1
将上一步的best_smvocs.pt作为本次的输入模型,运行python3 pruning.py -t 0.1
就报段错误
The text was updated successfully, but these errors were encountered: