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
When I executed the following usage code given in the README file, I found that the code is consuming 25% of RAM.
import torch from torch import nn from torchvision.models.resnet import resnet50 # create some regular pytorch model... model = resnet50().cuda().eval() # create example data x = torch.ones((1, 3, 224, 224)).cuda() # convert to TensorRT feeding sample data as input opt_shape_param = [ [ [1, 3, 128, 128], # min [1, 3, 256, 256], # opt [1, 3, 512, 512] # max ] ] model_trt = torch2trt_dynamic(model, [x], fp16_mode=False, opt_shape_param=opt_shape_param)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I executed the following usage code given in the README file, I found that the code is consuming 25% of RAM.
The text was updated successfully, but these errors were encountered: