Ok, I find a python script successfully transfer .pt to .weights format.
But I still suggest the project can load .onnx model, since ONNX is an open standard format to represent machine learning. And it has netron.app to open the model for checking. For .weights file, I don't know which app can open it to check, I'm new for AI, maybe it has app to do it.
Here I met another problem when loading my own .weights model(YoloV5), in file 'nnetwork.pas' at line, the result is 7594607388069359459, beyond longint, so I change line 57 and 164 to int64. But during running, 'parse.pas' line 2829 will get another range check error.
I attach all error here, can anyone tell me how to solve this issue?
BR,
Jonvy