Traceback (most recent call last):


 "no-close-fd.py", line 4, in <module>

FT2Font('/System/Library/Fonts/Apple Color Emoji.ttf')
RuntimeError: In FT2Font: Could not set the fontsize

Traceback (most recent call last):


 "/home/hkuit164/anaconda3/envs/yolov5/lib/python3.8/runpy.py", line 194, in _run_module_as_main

return _run_code(code, main_globals, None,


 "/home/hkuit164/anaconda3/envs/yolov5/lib/python3.8/runpy.py", line 87, in _run_code

exec(code, run_globals)


 "/home/hkuit164/anaconda3/envs/yolov5/lib/python3.8/site-packages/onnxsim/__main__.py", line 52, in <module>

main()


 "/home/hkuit164/anaconda3/envs/yolov5/lib/python3.8/site-packages/onnxsim/__main__.py", line 39, in main

model_opt, check_ok = onnxsim.simplify(


 "/home/hkuit164/anaconda3/envs/yolov5/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 322, in simplify

model = onnx.shape_inference.infer_shapes(model)


 "/home/hkuit164/anaconda3/envs/yolov5/lib/python3.8/site-packages/onnx/shape_inference.py", line 35, in infer_shapes

inferred_model_str = C.infer_shapes(model_str, check_type)
RuntimeError: Inferred shape and existing shape differ in dimension 2: (640) vs (320)
