Can you open source the onnx model export script? I tried to export the onnx model myself, but I could not set the parameter w successfully.