We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the default yolov7 640px imagesize, the deeptream pipeline works perfect.
However, when I tried to export a trainerd model with an image size of 416, the masks are very bad in deepstream.
I made the exports with the following commands:
pytorch to onnx:
python .\segment\export.py --data <my custom data path> --weights <my custom pytorch model path> --batch-size 1 --device cpu --simplify --opset 14 --workspace 8 --iou-thres 0.65 --conf-thres 0.35 --include onnx --end2end --trt --cleanup --dynamic-batch --roi-align --img 416
onnx to TensorRT:
/usr/src/tensorrt/bin/trtexec --onnx=<my custom onnx model path> --saveEngine=<my custom trt model path> --workspace=8192 --fp16 --minShapes=images:1x3x416x416 --optShapes=images:1x3x416x416 --maxShapes=images:8x3x416x416 --shapes=images:1x3x416x416
is this correct? or the custom image size is not implemented?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With the default yolov7 640px imagesize, the deeptream pipeline works perfect.
However, when I tried to export a trainerd model with an image size of 416, the masks are very bad in deepstream.
I made the exports with the following commands:
pytorch to onnx:
onnx to TensorRT:
is this correct? or the custom image size is not implemented?
Thanks!
The text was updated successfully, but these errors were encountered: