Editing Deepstream Config txt file which is located in the docker container

Hello.I am trying to run PCB defect detection programm on my jetson nano.I need deepstream to run this programm, so i am going to use the deepstream docker container.

I have a question:
Is it possible to edit config file “Config_infer_primary_yoloV5.txt”, which is located in the docker container ? If so, how can i do that ?

Yes, of course.which docker image did you used ?

Considering that you use jetson nano, it is recommended that you use deepstream-l4t. You can use the following command to pull

docker pull  nvcr.io/nvidia/deepstream-l4t:6.0.1-samples

Config_infer_primary_yoloV5.txt is not part of the deepstream container, you get it here.

Then follow the README and run it in your device.

Thanks for your reply.I use nvcr.io/nvidia/deepstream-l4t:6.0.1-samples container. Unfortunatelly, i i still can’t get how to put Config_infer_primary_yoloV5.txt (with the necessary changes in it) in the docker container.It is not part of the container, so i should download this txt file and put it in the container structure?If so, how can i do that ?

Yes, that’s right

# connect x11
xhost +

# start docker 
docker run -it --rm --net=host --runtime nvidia  -e DISPLAY=$DISPLAY  -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:6.0.1-samples

# clone the repo
git clone https://github.com/marcoslucianops/DeepStream-Yolo.git

Thanks for the fast reply.But unfortunatelly, i still cant get how to edit the file.
There is no any commands about editing in this instruction, so i cant understand how to start edit the Config_infer_primary_yoloV5.txt file.

4. Edit the config_infer_primary.txt file according to your model (example for YOLOv4)


Do you know how to use linux? You can use any editor like vim/gedit/emacs

I have very few knowledge about using of the linux, but i know that is vim editor.I will try to use it.Thanks.

I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks

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