Open inzombakura opened 3 months ago
I have the same problem and to be more specific, the export step fails with the following error:
RuntimeError: Only tuples, lists and Variables are supported as JIT inputs/outputs. Dictionaries and strings are also accepted, but their usage is not recommended. Here, received an input of unsupported type: Det3DDataSample
What is the feature?
I am looking into whether it is possible to export the BevFusion model to an external format like ONNX or torchscript.
Any other context?
I have been able to load in the model checkpoint (.pth) and use it in the demo (multi_modality_demo.py) but am unable to export the model using torch.export.export or torch.onnx.dynamo_export:
and am wondering if their is any documentation or existing ability to export the model in common formats. My goal in completing this is to have a format that can be traced using jit. This will assist in model reusability to other platforms.