deep-floyd / IF

Other
7.63k stars 495 forks source link

How to convert DeepFloyd model to onnx #128

Open dev-sh-inc opened 1 year ago

dev-sh-inc commented 1 year ago

I intend to use torch.onnx.export to convert the DeepFloyd model to onnx format, documentation on this function is https://glaringlee.github.io/onnx.html#functions. The problem I'm having is that I don't know what args, _inputnames, _outputnames and _dynamicaxes arguments should be input when using this function. in other words, I don't know what the inputs, input_names, output_names and dynamic_axes of the DeepFloyd model are. Where can I get information about these parameters?