YOLOv3-complete-pruning
YOLOv3-complete-pruning copied to clipboard
Pruning problem
Prune ratio: {1-remain_num/len(sorted_bn):.3f} mAP of the pruned model is {mAP:.4f} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d} layer index: {idx:>3d} total channel: {mask.shape[0]:>4d} remaining channel: {remain:>4d}
======================================================================== The above information appears during pruning, and the cfg file generated by pruning is as follows: [{module_def['type']}] {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value} {key}={value}
Do you know what's going on?
Try to use yolov3-tiny-hand.cfg and yolov3-tiny.weights?I guess you use v3-cfg or v3-weights?
Thank you for your reply! I use yolov3.cfg and yolov3.weights. Is your code not supported? How can I run yolov3.cfg? @coldlarry
@ZhaoMonica I encountered the same problem, did you solve it?