tanluren / yolov3-channel-and-layer-pruning

yolov3 yolov4 channel and layer pruning, Knowledge Distillation 层剪枝,通道剪枝,知识蒸馏
Apache License 2.0
1.5k stars 446 forks source link

python -c "from models import *; convert('cfg/yolov3.cfg', 'weights/last.pt')" #47

Open S534435877 opened 4 years ago

S534435877 commented 4 years ago

您好,python -c "from models import *; convert('cfg/yolov3.cfg', 'weights/last.pt')" 这里在模型转换的时候,第一个参数是不是要使用cfg/my_cfg.cfg?

tanluren commented 4 years ago

是的用自己的cfg和权重

lccui commented 3 years ago

loaded weights from weights/converted.weights

let's test the original model first: Class Images Targets P R mAP F1: 0%| | 0/174 [00:00<?, ?it/s] 使用转换生成的模型无法测试,这是为什么