TensorFlow.Delphi icon indicating copy to clipboard operation
TensorFlow.Delphi copied to clipboard

Can not get it to compile

Open fsiek opened this issue 2 years ago • 5 comments

Tested it with different Delphi Enterprise versions.

10.3 gives E2393 invalid operator declaration in TensorFlow.Variable.pas line 63 and some more 10.4 gives serveral E2250 starting with There is no overloaded version of 'Create' that you can call with these arguments in Tensorflow.array_ops.pas line 344 11.0 gives [dcc32 Fatale error] TensorFlow.CondContext.pas(175): F2084 Interneral error: NC338

fsiek avatar Mar 12 '23 09:03 fsiek

As the result of the function _RemoveExternalControlEdges in TensorFlow.DApi is never used, I changed it to a procedure. Now the demo application can be compiled with Delphi 11.0 and I got it running.

All tests are ok except "Test Models". Getting exception c0000090 FLOAT_INVALID_OPERATION.

fsiek avatar Mar 12 '23 10:03 fsiek

mnistGAN Models experimental For testing, under development.

All tests are ok except "Test Models". Getting exception c0000090 FLOAT_INVALID_OPERATION.

Pigrecos avatar Mar 15 '23 15:03 Pigrecos

[dcc32 Fatal Error] TensorFlow.DApi.pas(34): F2613 Unit 'Spring.Collections.Enumerable' not found. This file was not found from "https://bitbucket.org/sglienke/spring4d/src/master/Source/Base/Collections/" either.

wilsonning avatar Jan 01 '24 02:01 wilsonning

Tried to compile 'TensorFlowDelphi' with result (same as "wilsonning" at Jan 1?): 'Spring.Collections.Enumerable' not found. I found a 6 years old version at: "https://github.com/FSharpCSharp/Spring4D/blob/master/Source/Base/Collections/Spring.Collections.Enumerable.pas", but again no success.

Will there be an update of TF.D which is compatible to the actual (April 11, 2024) version of "https://bitbucket.org/sglienke/spring4d/src/master/"?

All in all great job! Thank you, @Pigrecos!

KosMarlin avatar Apr 12 '24 12:04 KosMarlin