Comments (13)
python train.py --type mvocs
的 epochs是300
python train.py --type smvocs
的 epochs是100
from mobile-yolov5-pruning-distillation.
这描述给的信息太少了 尝试单步debug吧 我这边流程是没问题
from mobile-yolov5-pruning-distillation.
这描述给的信息太少了 尝试单步debug吧 我这边流程是没问题
确认一下我这样的操作是否正常
from mobile-yolov5-pruning-distillation.
这个是我执行的脚步
# 训练 Baseline
python train.py --type mvocs
# 稀疏 sparse learning
python3 train.py --type smvocs
# 剪枝 Pruning
python3 pruning.py -t 0.1
# 微调 finetune
python3 train.py --type fsmvocs
# 蒸馏 Distillation
python3 train.py --type dmvocs
from mobile-yolov5-pruning-distillation.
我修改了 cfg、data、weights、epochs、batch_size
from mobile-yolov5-pruning-distillation.
baseline用的模型是 mobilenet_v2-b0353104.pth,后续的都是上一次训练得到的best模型,到pruning这步就这样了。我尝试重新训练看看是否正常
from mobile-yolov5-pruning-distillation.
这个是我执行的脚步
# 训练 Baseline python train.py --type mvocs # 稀疏 sparse learning python3 train.py --type smvocs # 剪枝 Pruning python3 pruning.py -t 0.1 # 微调 finetune python3 train.py --type fsmvocs # 蒸馏 Distillation python3 train.py --type dmvocs
能问问您关于这个数据集放置的问题吗
from mobile-yolov5-pruning-distillation.
走debug吧 看是哪个位置错了
from mobile-yolov5-pruning-distillation.
定位的执行bn_analyze方法的plt.hist(bn_val, bins=101, align="mid", log=True, range=(0, 1.0))
报错
from mobile-yolov5-pruning-distillation.
如果是服务器terminal应该不带显示功能吧 plt的问题
from mobile-yolov5-pruning-distillation.
定位到是matplotlib.pyplot相关方法调用报错,我注掉后使用IDEA运行正常,但是通过终端执行还是会报段错误。
from mobile-yolov5-pruning-distillation.
如果是服务器terminal应该不带显示功能吧 plt的问题
我用的是深度的系统,deepin v20
from mobile-yolov5-pruning-distillation.
test.py文件使用剪枝后的模型会报错,报错信息如下:
Traceback (most recent call last):
File "/home/demon/PycharmProjects/mobile-yolov5-pruning-distillation/test.py", line 357, in
test(opt.data,
File "/home/demon/PycharmProjects/mobile-yolov5-pruning-distillation/test.py", line 89, in test
names = {k: v for k, v in enumerate(model.names if hasattr(model, 'names') else model.module.names)}
File "/home/demon/anaconda3/envs/pytorch_gpu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 771, in getattr
raise ModuleAttributeError("'{}' object has no attribute '{}'".format(
torch.nn.modules.module.ModuleAttributeError: 'Model' object has no attribute 'module'
from mobile-yolov5-pruning-distillation.
Related Issues (20)
- 稀疏训练时遇到一些问题 HOT 1
- 模型剪枝之后,参数减少很多,但是模型推理速度并没有明显区别
- AttributeError: Can't get attribute 'ModelPruned' on <module 'models.yolo' from 'models\\yolo.py'>
- 大佬好,注意到 yolo head 和原版的有所不同,想问下具体做了哪些改变 HOT 4
- 关于TA策略与d_online HOT 1
- before_pruning.jpg和after_pruning.jpg
- 大佬好,ignore_idx 是不是写错了 HOT 1
- 作者你好,请问剪枝过程是参考的哪篇论文
- 请问如何配置apex进行混合多精度加速训练
- 蒸馏后Student Model的准确率下降 HOT 1
- 旋转框蒸馏 HOT 6
- 求助帖 HOT 3
- no fuse
- feature蒸馏的一些疑惑
- model文件夹中yaml文件
- 关于train后识别不到任何结果
- 蒸馏模块无法跑起来 HOT 2
- 蒸馏代码问题
- 'python3 train.py --type vocl' meet the error
- AttributeError: 'Model' object has no attribute 'names'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-yolov5-pruning-distillation.