Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

TensorRT frozen graphs - integration with NiftyNet #480

Open
carlpe opened this issue Feb 16, 2020 · 0 comments
Open

TensorRT frozen graphs - integration with NiftyNet #480

carlpe opened this issue Feb 16, 2020 · 0 comments

Comments

@carlpe
Copy link

carlpe commented Feb 16, 2020

I have a question concerning TensorRT and use of frozen graphs.

"TensorRT performs several important transformations and optimizations to the neural network graph. First, layers with unused output are eliminated to avoid unnecessary computation. Next, where possible, convolution, bias, and ReLU layers are fused to form a single layer. Another transformation is horizontal layer fusion, or layer aggregation, along with the required division of aggregated layers to their respective output. Horizontal layer fusion improves performance by combining layers that take the same source tensor and apply the same operations with similar parameters."

https://docs.nvidia.com/deeplearning/frameworks/tf-trt-user-guide/index.html?fbclid=IwAR18Vlgy-ekaC3u-q9gQXoEMgBDeEyREB9FnTNBnZNmstrulr07H-5Jj-J0

Is this something that is possible to implement in NiftyNey? Is it possible to convert the checkpoints from niftynet and convert them into such frozen graphs? And would it significantly improve the inference time?

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

No branches or pull requests

1 participant