# How to run fasterRcnn Vgg caffeemodel with python test app3

**URL:** <https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169>\
**Category:** DeepStream SDK\
**Tags:** ai, cuda\
**Created:** [July 30, 2021, 7:29am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169 "2021-07-30T07:29:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hitesh.pant21](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hitesh.pant21](https://forums.developer.nvidia.com/u/hitesh.pant21)\
**Post date:** [July 30, 2021, 7:29am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/1 "2021-07-30T07:29:28Z")

</div>

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson )**  
**• DeepStream Version-5.0**  
**• JetPack Version: 4.4.1**

I am using the **primary config** and **ds config** in **ObjectDetector\_fasterRcnn** folder along with deepstream\_test\_app3(python) and getting the following error:  
**Error: gst-library-error-quark: Configuration file parsing failed (5)**  
following are the deepstream config and primary config file that I am using with test\_app3.py.  
[config\_infer\_primary\_fasterRCNN.txt](https://forums.developer.nvidia.com/uploads/short-url/9vNDybO1TjWjIzXmNjmKsIfC8Bm.txt) (3.6 KB)  
[dstestrdx\_pgie\_config.txt](https://forums.developer.nvidia.com/uploads/short-url/haECjv3A5IgE9VrMyEeTHgUr9Pj.txt) (2.3 KB)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [July 30, 2021, 8:20am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/3 "2021-07-30T08:20:28Z")

</div>

Hi,

Could you check the below topic to see if you are meeting the same issue?

> [@Model engine error, deepstream-test1, python bindings](https://forums.developer.nvidia.com/t/model-engine-error-deepstream-test1-python-bindings/155035):
>
> Please provide complete information as applicable to your setup. • Hardware Platform : GTX1080TI • DeepStream version : 5.0 • TensorRT version : 7.0 • NVIDIA GPU Driver Version : 440.33.01 • Issue type : bugs I am running deepstream\_test-1, I followed all of this [README](https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/blob/master/apps/README) to execute on [deepstream docker](https://ngc.nvidia.com/catalog/containers/nvidia:deepstream) Input: python3 deepstream\_test\_1.py /opt/nvidia/deepstream/deepstream-5.0/samples/streams/sample\_1080p\_h264.mp4 Output: Creating Pipeline Creating Source Creating H…

Thanks

---

<div class="post-metadata">

**Author:** ![hitesh.pant21](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hitesh.pant21](https://forums.developer.nvidia.com/u/hitesh.pant21)\
**Post date:** [July 31, 2021, 6:11am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/4 "2021-07-31T06:11:12Z")

</div>

I have the following folder structure for running the fasterRCNN

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/2/4/24b6c180904afd87852c7b18d21eb829ea21dc00.png)

I am following the commands in README:

Download model tar file using:  
_$ wget --no-check-certificate \*  
\*\* [https://dl.dropboxusercontent.com/s/o6ii098bu51d139/faster\_rcnn\_models.tgz?dl=0](https://dl.dropboxusercontent.com/s/o6ii098bu51d139/faster_rcnn_models.tgz?dl=0) \*_  
\*\* -O faster-rcnn.tgz\*\*

- Untar the model using:  
**$ tar zxvf faster-rcnn.tgz -C . --strip-components=1 --exclude=ZF\_** \*
- **Copy the prototxt file “faster\_rcnn\_test\_iplugin.prototxt” from the**  
\*\* data/faster-rcnn directory in TensorRT samples to this directory.\*\*

**Compile the custom library:**  
\*\* $ make -C nvdsinfer\_custom\_impl\_fasterRCNN\*\*

when I run the command following command I get the following error:  
_gst-launch-1.0 filesrc location=…/…/samples/streams/sample\_1080p\_h264.mp4 ! \*  
\*\* decodebin ! m.sink\_0 nvstreammux name=m batch-size=1 width=1920 \*_  
\*\* height=1080 ! nvinfer config-file-path= config\_infer\_primary\_fasterRCNN.txt ! \*\*  
\*\* nvvideoconvert ! nvdsosd ! nveglglessink sync=0\*\*

ERROR: **gst-launch-1.0: symbol lookup error: /home/dipesh/deepstream-5.0/sources/objectDetector\_FasterRCNN/nvdsinfer\_custom\_impl\_fasterRCNN/libnvdsinfer\_custom\_impl\_fasterRCNN.so: undefined symbol: createRPNROIPlugin**

Please help.

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [August 2, 2021, 7:17am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/5 "2021-08-02T07:17:04Z")

</div>

Hi,

We test the pipeline with _gst-launch-1.0_ and _deepstream-app_.  
And both can work correctly in our environment.

Based on your log, it seems there are some issues in the TensorRT libraries.  
Could you verify if the libraries are well-installed first?

```auto
$ dpkg -l | grep TensorRT

```

Thanks.

---

<div class="post-metadata">

**Author:** ![hitesh.pant21](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hitesh.pant21](https://forums.developer.nvidia.com/u/hitesh.pant21)\
**Post date:** [August 2, 2021, 7:28am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/6 "2021-08-02T07:28:49Z")

</div>

This is the output:

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/3/5/354d4145aa9346bc4499b1064f8d6a42c2e15704.png)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [August 9, 2021, 5:05am UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/7 "2021-08-09T05:05:33Z")

</div>

Hi,

Do you use the Jetson device?  
The package you installed is for the desktop environment (amd64).

For Jetson, please find the packages from the JetPack installer.  
Thanks.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:13pm UTC](https://forums.developer.nvidia.com/t/how-to-run-fasterrcnn-vgg-caffeemodel-with-python-test-app3/185169/9 "2021-10-12T16:13:44Z")

</div>

Closed on October 12, 2021, 4:13pm UTC


