pytorch / TensorRT

PyTorch/TorchScript/FX compiler for NVIDIA GPUs using TensorRT
https://pytorch.org/TensorRT
BSD 3-Clause "New" or "Revised" License
2.5k stars 345 forks source link

I am deleting some layers of Resneet152 for example del resnet152.fc and del resnet152.layer4 and save it locally in order to get the dimension of 1024. Later when I import this saved model it complains about the missing layer4. What might be the the reason? Does still try tp access the original model. How can get 1024 feature vectors for a given image using Resnet1024. #1580

Closed pradeep10kumar closed 1 year ago

pradeep10kumar commented 1 year ago

❓ Question

What you have already tried

Environment

Build information about Torch-TensorRT can be found by turning on debug messages

Additional context

apbose commented 1 year ago

Could you please provide more details on what error you are currently seeing and the model?

github-actions[bot] commented 1 year ago

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days