Cannot download models (deepstream-lpr-python-version)

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 550
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

According to issue in Github Repo

Cannot download models. · Issue #11 · preronamajumder/deepstream-lpr-python-version (github.com)

When I run ./download_us.sh

It’s error as these messages below. Please advise how to download models, Thank you.

--2024-03-22 21:03:39--  https://api.ngc.nvidia.com/v2/models/nvidia/tlt_trafficcamnet/versions/pruned_v1.0/files/trafficnet_int8.txt
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 44.239.232.238, 35.162.105.119, 44.228.14.81, ...
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|44.239.232.238|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-22 21:03:40 ERROR 404: Not Found.

--2024-03-22 21:03:40--  https://api.ngc.nvidia.com/v2/models/nvidia/tlt_trafficcamnet/versions/pruned_v1.0/files/resnet18_trafficcamnet_pruned.etlt
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 100.20.149.112, 52.27.252.135, 35.86.41.132, ...
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|100.20.149.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-22 21:03:41 ERROR 404: Not Found.

/deepstream-lpr-python
--2024-03-22 21:03:41--  https://api.ngc.nvidia.com/v2/models/nvidia/tlt_lpdnet/versions/pruned_v1.0/files/usa_pruned.etlt
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 44.239.232.238, 100.20.149.112, 52.27.252.135, ...
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|44.239.232.238|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-22 21:03:42 ERROR 404: Not Found.

--2024-03-22 21:03:42--  https://api.ngc.nvidia.com/v2/models/nvidia/tlt_lpdnet/versions/pruned_v1.0/files/usa_lpd_cal.bin
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 35.162.105.119, 44.239.232.238, 100.20.149.112, ...
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|35.162.105.119|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-22 21:03:43 ERROR 404: Not Found.

--2024-03-22 21:03:43--  https://api.ngc.nvidia.com/v2/models/nvidia/tlt_lpdnet/versions/pruned_v1.0/files/usa_lpd_label.txt
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 44.228.14.81, 35.162.105.119, 44.239.232.238, ...
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|44.228.14.81|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-22 21:03:44 ERROR 404: Not Found.

/deepstream-lpr-python
--2024-03-22 21:03:44--  https://api.ngc.nvidia.com/v2/models/nvidia/tlt_lprnet/versions/deployable_v1.0/files/us_lprnet_baseline18_deployable.etlt
Resolving api.ngc.nvidia.com (api.ngc.nvidia.com)... 100.20.109.103, 44.228.14.81, 35.162.105.119, ...
Connecting to api.ngc.nvidia.com (api.ngc.nvidia.com)|100.20.109.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-22 21:03:45 ERROR 404: Not Found.

The repo seems not updated for some time, please check the model name and URL in the latest version deepstream_lpr_app/download_us.sh at master · NVIDIA-AI-IOT/deepstream_lpr_app · GitHub.

1 Like

Thank you, I will try again.

After I try, Now I can find new URL for all models in download_us.sh of DeepStream-LPR-Python and download successful, Thank you.

#!/bin/bash

# Download CAR model
mkdir -p ./models/tlt_pretrained_models/trafficcamnet
cd ./models/tlt_pretrained_models/trafficcamnet
wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/trafficcamnet/versions/pruned_v1.0/files/trafficnet_int8.txt
wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/trafficcamnet/versions/pruned_v1.0/files/resnet18_trafficcamnet_pruned.etlt

cd -

# Download LPD model
mkdir -p ./models/LP/LPD
cd ./models/LP/LPD
wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/lpdnet/versions/pruned_v1.0/files/usa_pruned.etlt
wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/lpdnet/versions/pruned_v1.0/files/usa_lpd_cal.bin
wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/lpdnet/versions/pruned_v1.0/files/usa_lpd_label.txt


cd -

# Download LPR model
mkdir -p ./models/LP/LPR
cd ./models/LP/LPR
wget https://api.ngc.nvidia.com/v2/models/nvidia/tao/lprnet/versions/deployable_v1.0/files/us_lprnet_baseline18_deployable.etlt
touch labels_us.txt
cd -

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.