Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get it to compile #4

Open
fsiek opened this issue Mar 12, 2023 · 5 comments
Open

Can not get it to compile #4

fsiek opened this issue Mar 12, 2023 · 5 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@fsiek
Copy link
Contributor

fsiek commented Mar 12, 2023

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
Copy link
Contributor Author

fsiek commented Mar 12, 2023

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.

@Pigrecos Pigrecos added bug Something isn't working enhancement New feature or request labels Mar 15, 2023
@Pigrecos
Copy link
Owner

Pigrecos commented Mar 15, 2023

mnistGAN Models experimental For testing, under development.

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

@wilsonning
Copy link

[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.

@KosMarlin
Copy link

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!

@ccatao
Copy link

ccatao commented Jan 10, 2025

I'm trying to use it but when I try to compile the demo I get an error saying that I don't have the FastMM5 unit. I couldn't identify it in the dependencies or in the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants