-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
使用您提供的convert-onnx进行yolo fastest v2内pth转换时,提示以下报错
D:\labelImg\yolofastv2\convert_onnx>python pytorch2onnx.py --data coco.data --weights coco.pth
load param...
D:\labelImg\yolofastv2\convert_onnx\model\backbone\shufflenetv2.py:59: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert (num_channels % 4 == 0)
Metadata
Metadata
Assignees
Labels
No labels