Greetings,
I Apologize for not seeing this earlier, the error seems to be related to the ONNX library version compatibility,
ONNX library versions beyond
1.16 will raise an exception with unsigned
.onnx files which may seems the case you are having.
The latest ONNX library version that was released when I published this library was
1.13.1.
Unfortunately I ran into a health related problem and with the financial stress I'm having, I couldn't find much focusing time or energy to maintain the library after that, nevertheless!, the last guaranteed successful test l did which was with the DirectML version
1.16.23 which I highly recommend to use.
not sure if you have successfully managed to port Delphi's YOLOV7 example to Lazarus, it should be possible but I'm happy to help.
recent versions may have compatibility problems with your model or my implementation, hopefully soon I will update this to match the recent release and maybe add more exotic samples such as image background removal, voice cancelation and chatGPT like Language models.
BTW I have released another library called
LightNet which is 100% written pure in pascal, totally dependentless and works with YOLO V7 and can be used with other models as well, this was inspired by the original
darknet YOLO
C implementation and managed to make it even faster than the original C (on CPU using heavily optimized SIMD assembly instructions) have a look at it,
I will be releasing a better version soon with more training examples leveraging either OpenCL, of CUDNN (targeted for NVIDIA Jeston Embedded Systems).