Need help converting pytorch model to onnx

hey guys I’ve been trying to get my pytorch segmentation model to coreML, but looks like I have to convert it to onnx first but I can’t seem to get it to work with everything I tried, is there anyone who’s really experienced In converting models? I would love your help.

link to model - https://drive.google.com/file/d/1yOkUCmlm8X8VQuh-hl1v4IeJe39PxnuP/view?usp=sharing

You can try the export module

https://pytorch.org/docs/stable/onnx.html

If you want some extra read

https://michhar.github.io/convert-pytorch-onnx/