Daniil-Osokin / lightweight-human-pose-estimation-3d-demo.pytorch

Real-time 3D multi-person pose estimation demo in PyTorch. OpenVINO backend can be used for fast inference on CPU.
Apache License 2.0
653 stars 137 forks source link

A question on Jetson Nano (Convert checkpoint to TensorRT format) #77

Closed chris666-sys closed 2 years ago

chris666-sys commented 2 years ago

Hello. First of all, thank you for your work

I am trying to run this program on Jetson Nano, so far I have successfully run demo.py, but FPS is very slow, so I began to try to use TensorRT on Jetson Nano, but I met some problems, I hope to get your guidance:

I followed the instructions and used the following code to convert TRT python3 scripts/convert_to_trt.py --checkpoint-path human-pose-estimation-3d.pth

However, questions regarding permissions were obtained as follows:

PermissionError: [Errno 13] Permission denied: 'human-pose-estimation-3d-trt.pth

issiu0

Then I use sudo python3 scripts/convert_to_trt.py --checkpoint-path human-pog-estimation -3D.pth

I use sudoto get permission,But it turned out to be an illegal instruction

Does anyone have the same situation as me? How should I deal with the above problems? Thank you very much for your reply...

Daniil-Osokin commented 2 years ago

Hi! You can try to change owner: sudo chown <your_user_name> human-pose-estimation-3d-trt.pth

chris666-sys commented 2 years ago

@Daniil-Osokin Thanks for your reply. Problem solved!