-
Notifications
You must be signed in to change notification settings - Fork 35
Description
I tried to convert the pre-trained 3D-MiniNet to .onnx format by using the script provided in a similar issue of lidar-bonnetal here.
Specifically, I changed the part that is related to the dummy input of the model in the following way:
dinput = torch.randn(1, 11, 64, 2048, device='cuda', requires_grad=True)
input_points = torch.randn(1, 11, 16, 8192, device='cuda', requires_grad=True)
dummy_input = [dinput, input_points]
and the rest of the script remains the same.
However, I get the following error related to ONNX
Failed to export an ONNX attribute, since it's not constant, please try to make things (e.g., kernel size) static if possible
I tried to apply the fix that was suggested here, but it didn't work.
Is there any other way of converting it to ONNX format?
I am using exactly the same versions of packages as in the requirements.txt file