Closed armgong closed 10 months ago
Hi ,
Thanks for the observation, indeed this is a strange behaviour impacting only FPC , I have tried to replicate it on Delphi and it works with no issues, debugging this case shows that there could be a bug with FPC memory allocator/reallocator, I managed to implement a quick work around that solves this issue, try to git pull
the repo again and let me know if it works.
appreciate if you star the repo it will encourage me to work on more native and interesting AI for pascal libraries. Best
hi, thanks for your quick fix , already starred your repo on last month , thanks you for your work on this .
now the access violation issue solved.
now close this issue
write very simple test (mod from fastcnn-10 demo), use onnxruntime master branch build , on lazarus for windows x64
the model is add.onnx (https://github.com/microsoft/onnxruntime/blob/main/onnxruntime/test/testdata/cloud_models/addf.onnx). which is two input X and Y both are float[-1] , one output Z is float[-1] .
first run is ok , but second run failed with access violation.
confusing now, is this a bug or my fault ?
more test with copy run code twice in one run, still failed.