I am running the latest JetPack 4.6 on a Jetson Nano 2 GB and had been following the examples on the jetson-inference projects. Since I wanted to understand the details of how things are set up, I’ve chosen to build the project from source following instructions on this page.
Everything went well until I got to the page Re-training SSD-Mobilenet.
Since I am not running from the Docker Container, I tried to follow the Setup steps to get things ready. However, when I ran the wget command, I got an error that “models” directory does not exist. I created that and it ran. A file “mobilenet-v1-ssd-mp-0_675.pth” was downloaded to the “models” directory. But, when I ran the “pip3 install -v -r requirements.txt”, I got an error that “requirements.txt” not found. I found a “requirements.txt” file in GitHub - dusty-nv/pytorch-ssd: MobileNetV1, MobileNetV2, VGG based SSD/SSD-lite implementation in PyTorch. Out-of-box support for retraining on Open Images dataset. ONNX and Caffe2 support. Experiment Ideas like CoordConv. and copied that to the ssd directory. Now, the pip3 install ran. However, after a long process, I got the following (just showing the last output from the terminal
... adding 'pandas-1.1.5.dist-info/metadata.json' adding 'pandas-1.1.5.dist-info/top_level.txt' adding 'pandas-1.1.5.dist-info/WHEEL' adding 'pandas-1.1.5.dist-info/METADATA' adding 'pandas-1.1.5.dist-info/RECORD' done Stored in directory: /home/francis/.cache/pip/wheels/04/a1/90/bc4b4417affaf986b84b41f0033243244024078fc71ff9be12 Removing source in /tmp/pip-build-fziaxway/pandas Successfully built pandas Installing collected packages: jmespath, six, python-dateutil, urllib3, botocore, s3transfer, boto3, numpy, pytz, pandas changing mode of /home/francis/.local/bin/f2py to 775 changing mode of /home/francis/.local/bin/f2py3 to 775 changing mode of /home/francis/.local/bin/f2py3.6 to 775 Successfully installed boto3-1.18.33 botocore-1.21.33 jmespath-0.10.0 numpy-1.19.5 pandas-1.1.5 python-dateutil-2.8.2 pytz-2021.1 s3transfer-0.5.0 six-1.16.0 urllib3-1.26.6 Cleaning up...
However, there were no python scripts created in the ssd directory. So I think something is still not right.
Have anyone else tried this? Is there something else I should be doing?