Skip to content
New issue

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

How #32

Open
bleakie opened this issue May 12, 2020 · 7 comments
Open

How #32

bleakie opened this issue May 12, 2020 · 7 comments

Comments

@bleakie
Copy link

bleakie commented May 12, 2020

Tensorrt has been improved. How can I test the effect?

@hunglc007
Copy link
Owner

@bleakie u can run benchmarks.py --framework trt --weights your_trt_model

@bleakie
Copy link
Author

bleakie commented May 13, 2020

Great job,but i test yolov4 is slower than AlexeyAB(yolov4)
Why?

@liuxufenfeiya
Copy link

@bleakie u can run benchmarks.py --framework trt --weights your_trt_model

this code can only output a dict that include:
'tf_op_layer_concat_11': <tf.Tensor: shape=(1, 26, 26, 3, 17), dtype=float32, numpy=
'tf_op_layer_concat_12': <tf.Tensor: shape=(1, 13, 13, 3, 17), dtype=float32, numpy=
'tf_op_layer_concat_10': <tf.Tensor: shape=(1, 52, 52, 3, 17), dtype=float32, numpy=
so what should i do next?

@liuxufenfeiya
Copy link

liuxufenfeiya commented May 14, 2020

also,the tensorrt start takes long time,maybe 6 minutes then it can run,
i really think it has seized up and stopped.

2020-05-14 14:45:50.809331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer_plugin.so.6
2020-05-14 14:52:16.882567: I tensorflow/compiler/tf2tensorrt/kernels/trt_engine_op.cc:736] Building a new TensorRT engine for PartitionedCall/TRTEngineOp_2 with input shapes: [[1,26,26,3,1], [1,26,26,3,12], [1,26,26,3,4]]

@bleakie
Copy link
Author

bleakie commented May 21, 2020

@hunglc007 I think the speed is a question

@iFlyyyy
Copy link

iFlyyyy commented Jun 5, 2020

@bleakie u can run benchmarks.py --framework trt --weights your_trt_model

this code can only output a dict that include:
'tf_op_layer_concat_11': <tf.Tensor: shape=(1, 26, 26, 3, 17), dtype=float32, numpy=
'tf_op_layer_concat_12': <tf.Tensor: shape=(1, 13, 13, 3, 17), dtype=float32, numpy=
'tf_op_layer_concat_10': <tf.Tensor: shape=(1, 52, 52, 3, 17), dtype=float32, numpy=
so what should i do next?

I have the same question.Does anyone know how to use them?

@awaymeet
Copy link

Also, I got same result which is 6 size list .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants