EDSR model(Superscaling) implimentation Steps


Hi , I have a tensorflow edsr model and I have convered the same to onnx and then to a .trt engine file
Kindly tell how to get inference and whether any samples for the same is present


TensorRT Version: 7.0
GPU Type: dGPU T4
Nvidia Driver Version:440.9
CUDA Version: 10.2
Operating System + Version:18.04
Python Version (if applicable): 2.7 and 3.6

Hi @GokuDDG,
Please take reference from below example.


Hi @AakankshaS
Actually here upscaling is needed, So detection classification and segmentation wont work.

Hi @GokuDDG,
As per my knowledge we don’t have any such open source sample.
These are the list of samples available with python implementation from where i have shared the previous link.

You can try trtexec for bench-marking and debugging your model.


I can use sudo ./trtexec --onnx=/home/bhmk/Desktop/ML_BHMK/USECASE3/Models/edsr.onnx --verbose --explicitBatch --shapes=inputShapes --saveEngine=edsr.trt successfully.
Can you tell the command to benchmark the same model.

Hi @GokuDDG,
You will get all implementations of trtexec on the link.
Benchmarking sample is in the link below


Actually I wanted to test it on a image given by me itself. CAn you tell me the steps.