SciSharp / TensorFlow.NET

.NET Standard bindings for Google's TensorFlow for developing, training and deploying Machine Learning models in C# and F#.
https://scisharp.github.io/tensorflow-net-docs
Apache License 2.0
3.23k stars 517 forks source link

[BUG Report]: Model. predict() program crashes #1226

Open 13995671008 opened 8 months ago

13995671008 commented 8 months ago

Description

After loading the trained U-NET model and using model. predict() to predict the model, the program crashes without any error reports, 1704945117883

Reproduction Steps

No response

Known Workarounds

No response

Configuration and Other Information

No response

13995671008 commented 8 months ago

Model. predict() program runs to c_api.aager.cs 's Public static void TFE_Execute(), The Execute (op, rawReturns, ref num_retvals, status) method will wait for the memory address of the returned value from tensorflowd.dl, at which point the program will crash. 1704961271028 1704961388891