After following the install instructions and running python3 bodypix.py I get error
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Fatal Python error: Aborted
Further inspection with python3 -q -X faulthandler bodypix.py revealed
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Fatal Python error: Aborted
Current thread 0x00007f4d892ff740 (most recent call first):
File "/usr/local/lib/python3.8/dist-packages/edgetpu/basic/basic_engine.py", line 40 in __init__
File "/home/jim/Downloads/project-bodypix/pose_engine.py", line 133 in __init__
File "bodypix.py", line 164 in main
File "bodypix.py", line 183 in <module>
Aborted (core dumped)
Furthermore, if I try to specify a model with python3 -q -X faulthandler bodypix.py --model models/bodypix_resnet_50_960_736_32_quant_edgetpu_decoder.tflite I see a seg fault.
Current thread 0x00007f1179379740 (most recent call first):
File "/usr/local/lib/python3.8/dist-packages/edgetpu/basic/basic_engine.py", line 40 in __init__
File "/home/jim/Downloads/project-bodypix/pose_engine.py", line 133 in __init__
File "bodypix.py", line 164 in main
File "bodypix.py", line 183 in <module>
Segmentation fault (core dumped)
Any help would be appreciated
Edit:
I am running this on Ubuntu 20.04, kernel 5.4.0-64
After following the install instructions and running
python3 bodypix.py
I get errorFurther inspection with
python3 -q -X faulthandler bodypix.py
revealedFurthermore, if I try to specify a model with
python3 -q -X faulthandler bodypix.py --model models/bodypix_resnet_50_960_736_32_quant_edgetpu_decoder.tflite
I see a seg fault.Any help would be appreciated
Edit: I am running this on Ubuntu 20.04, kernel 5.4.0-64