Skip to content

Export PyTorch to ONNX #155

@saikrishna-pallerla

Description

@saikrishna-pallerla

I am trying to get the model trained on a custom dataset using PyTorch framework exported to ONNX and to further convert to TensorRT and run on jetson nano. However, I am unable to convert the model to ONNX. Below is the code I am using:

Capture

But, it throws the below error
Capture1

Can someone help me understand the issue and help fix it? @rwightman It would be great if you can provide guidance here

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions