coldlarry / YOLOv3-complete-pruning

提供对YOLOv3及Tiny的多种剪枝版本,以适应不同的需求。
805 stars 214 forks source link

raise Exception #91

Open Muxindawang opened 4 years ago

Muxindawang commented 4 years ago

Number of channels has been reduced from 10592 to 3178 Prune ratio: 0.700 mAP of the pruned model is 0.0002 layer index: 0 total channel: 32 remaining channel: 11 layer index: 7 total channel: 64 remaining channel: 25 layer index: 20 total channel: 128 remaining channel: 56 layer index: 21 total channel: 256 remaining channel: 108 layer index: 22 total channel: 256 remaining channel: 239 layer index: 47 total channel: 256 remaining channel: 65 Channels would be all pruned! num_filters, filters_mask = obtain_filters_mask(model, threshold, CBL_idx, prune_idx) File "/home/czl/code-objectdetection/yolov3-2020-01-12/normal_prune.py", line 136, in obtain_filters_mask raise Exception Exception 你好,请问我出现这个问题,保留的层数为0,是因为我稀疏化不到位吗