Closed maheshksingh closed 2 years ago
It's generated automatically when you run the deepstream-app (for YOLOv2, v3 or v4) and the file doesn't exist. The path for yolov4.cfg is wrong (see the log).
Hello I got the same problem. Fist time I did install DeepSteam SDK and yolo.
Aand I step by step "YOLOR usage" Finally I do step 9.Run Please help me . thanks
@JangDongMan, you forgot the step 8
...
[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary_yolor.txt
Change config-file=config_infer_primary.txt
to config-file=config_infer_primary_yolor.txt
So, sorry I miss mention it "YOLOR usage" I tried "YOLOv5 usage" So I forgot step 8. [primary-gie] enable=1 gpu-id=0 gie-unique-id=1 nvbuf-memory-type=0 config-file=config_infer_primary_yolov5.txt
then I got error message under.
what config file I miss it? thanks Do I step "Basic usage" ? I did not "Basiic usage"
@JangDongMan the correct path is config_infer_primary_yoloV5.txt
. The 'V' is in uppercase.
Thanks for your kindly reply. and I fixed it and run agian
that result are means I got mistake some configures?
I saw the error cuGraphicsGLRegisterBuffer failed with error(219). Are you using a physical monitor?
Thanks for your reply.
I did test via RealVNC and still connected local monitor and keyboard.
obove screen is caputred after by local keyboard and monitor. Did RealVNC influenced for test result?
thanks a lot.
There's no problem to use RealVNC.
Did you install the requirements as it's in README.md page?
Sure I did all install for requirements .
And I remember when "deepstream-app -c deepstream_app_config.txt" screen go to black screen about 0.5 second. And I connected monitor by RGB in server computer not graphic card.
[Ubuntu 18.04] [CUDA 11.4.3] [TensorRT 8.0 GA (8.0.1)] [cuDNN >= 8.2] [NVIDIA Driver >= 470.82.01 [NVIDIA DeepStream SDK 6.0]
What should I check more? I can not found any soultion in google search.
You can use without the display by change the [sink] type from 2 to 1.
This error is related to OpenGL. It seems missing in your NVIDIA Driver installation, but I'm not sure about it. I recommend you check this specific error in NVIDIA forums.
@marcoslucianops & team
I noticed with this custom parser:
Every time I see the model engine file is generated with model_b1_gpu0_fp32.engine
this kind of name.
It's not picking the name which I am providing inmodel-engine-file=/path/<somename>.engine
& The engine is not getting generated in the desired path which I am providing in model-engine-file
here.
The engine file is generated from where you are running the application.
It's a limitation in DeepStream SDK custom parser. The model engine file always will be generated in current path and as modelb{batch-size}{network-mode}.engine .
@JangDongMan,
Please uninstall your driver
sudo nvidia-uninstall
Reboot your computer and install this driver
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.63.01/NVIDIA-Linux-x86_64-470.63.01.run
sudo sh NVIDIA-Linux-x86_64-470.63.01.run
Then reboot your computer again.
It should solve the problem related to cuGraphicsGLRegisterBuffer error.
I did reinstall nvidia driver ver-470.63.01 and I rebooted then it auto matically upgrade 470.103.01 So I reinstall and prevent upgrade driver.
I got blelow result.
Monitor connected to onboard RGB port. Server PC is Intel® Server System R2308WFTZS , 2U, zeon cpu. graphic nvidia A4000.
thanks
Why did it install automatically?
Did you do this step?
sudo nano /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
sudo update-initramfs -u
sudo reboot
Thanks a lot for your reply.!!
I did not install "nouveau". so I edit 20auto-upgrades file like this APT::Periodic::Update-Package-Lists "0"; APT::Periodic::AutocleanInterval "0"; APT::Periodic::Unattended-Upgrade "0"; then no more driver upgrade. So I test it driver version "470.63.01" . But result is same.
You don't to install nouveau, you need to blacklist it doing the steps I sent.
@marcoslucianops
In this storage, I have to create a trt.engine file in advance, right?
No, the engine will be created by the DeepStream when you run it.
@marcoslucianops
Thank you for rapid response. I have an additional question.
I did a yolov4 train based on yolov4.cfg here(https://github.com/WongKinYiu/PyTorch_YOLOv4), and if I get a pt file from custom train, can it be executed immediately after generating the trt engine? Or should I have a darknet-based weight file? Thank you
It's supported only Darknet for YOLOv4.
Hello
I got the some problem when I training own yolov5 model.
please see detail as bellow,
I change all parameters of gpu-id to 1 and batch-size to 16 in deepstream_app_config.txt what config file I miss it ? thanks
@millionmilk, please rename your wts and cfg files to yolov5_best and try again.
@marcoslucianops Thanks for you reply after rename the file name and try again I found that maybe it's my GPU source problem Thanks a lot
Tuve el mismo problema. El error que cometí fué que copié un archivo incorrecto en yolov4.cfg, verifiqué bien, copié el archivo correcto y se ejecutó correctamente.
model_b1_gpu0_fp32.engine file missing, please see the image for details. Thanks,