DeepStream-Yolo icon indicating copy to clipboard operation
DeepStream-Yolo copied to clipboard

Can't change model_b1_gpu0_fp32.engine file name?

Open lida2003 opened this issue 1 year ago • 1 comments

As all configuration uses engine file name model_b1_gpu0_fp32.engine.

And if I switched from yolov8s to yolov4, then I need to delete the engine file. So I made a different name for yolov8 and yolov4. But it didn't work.

How to make this work?

Tested on below latest version:

$ git log -n 1
commit e5d994e2d73966d059978de7315c3f2964025581 (HEAD -> master, origin/master, origin/HEAD)
Author: Marcos Luciano <[email protected]>
Date:   Wed Nov 27 23:16:57 2024 -0300

    Add support CO-DETR (MMDetection)

EDIT: If the file name is controller by those params, then why we need this option for engine file naming?

https://github.com/marcoslucianops/DeepStream-Yolo/blob/c11c3e4a7836aac501ab38cfe85985f557bf5037/docs/customModels.md?plain=1#L207-L252

lida2003 avatar Dec 05 '24 09:12 lida2003

Hello, have you solved this problem yet?How to change it's name

szwlh-c avatar Jun 18 '25 12:06 szwlh-c

See the second NOTE in

https://github.com/marcoslucianops/DeepStream-Yolo/blob/master/docs/customModels.md#understanding-and-editing-config_infer_primary-file

marcoslucianops avatar Jul 24 '25 13:07 marcoslucianops

This is kind of cache file, which is named by program it self. Just delete it and the program will created it when it's NOT there.

lida2003 avatar Jul 25 '25 06:07 lida2003