hello,
i used tensorrt_demos to change custom yolov4.weights to onnx and int8 engine.
i got model like this: yolov4-608-int8.trt, but it can not run at test5.
if i used ./trtexec to change that i will get engine which name xxx.engine and it works well, but only fp16.
could you advice to me what is different .trt and .engine files?
how can i do ?
and when i run:
./trtexec --onnx=yolov4_-1_3_608_608_dynamic.onnx --explicitBatch --saveEngine=yolov4_608.engine --best --verbose --calib=calib_yolov4-int8-608.bin
hi,
i used tensorrt_demos to generate my int8.trt files with my calib-images arround 10000pcs.
i changed classes names and nums for my own model.
and the file works well when i tested it by python3, when i put this model in test5, pipline can not open model.
i try to use this new cache file of int8.bin to run above command in my trainning path: ./trtexec xxxxxxxxx --int8 --calib, that shows error.
what do you mean generate cache with yolov4 on Xavier directly?
pls give some advice to go on my works for int8…
hi,
i tried to change trt again after fix nvpmmodel to 0,
and int8 is better than before and i can use normally right now, before i thought 2 is more power…:((((
thank you very much!
and i would like to ask a new quesiton again,
my custom model is multi objects and i have to test and modify it long time,
so sometimes i have to use yolo tiny for quickly works.
if i use 608608 on pgie and sgie, deepstream works well, but 15361536 on pgie and sgie, deepstream will be hung after 20-30 minutes, said scale problems on sgie!
could you advice a way to get it work?
hi,
i tried to change trt again after fix nvpmmodel to 0,
and int8 is better than before and i can use normally right now, before i thought 2 is more power…:((((
and i would like to ask a new quesiton again,
my custom model is multi objects and i have to test and modify it long time,
so sometimes i have to use yolo tiny for quickly works.
if i use 608608 on pgie and sgie, deepstream works well, but 15361536 on pgie and sgie, deepstream will be hung after 20-30 minutes, said scale problems on sgie!
could you advice a way to get it work?