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

TensorFlow.Binding from F#? #656

Closed
nhirschey opened this issue Dec 5, 2020 · 6 comments
Closed

TensorFlow.Binding from F#? #656

nhirschey opened this issue Dec 5, 2020 · 6 comments

Comments

@nhirschey
Copy link
Contributor

I was working on the starting example from the readme. I am having trouble with the initial setup.

  • In Visual studio, intellisense works, but the code does not run.
  • In VS code: intellisense does not work, but the code will run.
  1. In Visual studio 16.9.0 Preview1, intellisense works but the code does not.

image

  1. In VSCode (insider, dev F# extension), intellisense is broken but the code works.

image

@Oceania2018
Copy link
Member

@nhirschey Maybe this is a better initial start project written in F#.

@nhirschey
Copy link
Contributor Author

nhirschey commented Dec 5, 2020

Hi @Oceania2018 , yes I saw that and it is where I saw the binding code. Thank you for putting that example together.

But I thought it was important to raise this issue, because a script workflow using #r "nuget: ..." library loading is a good goal for an F# workflow. Granted, this is perhaps more an IDE issue right now, but it's good to recognize where those issues are.

It is probably this issue: dotnet/fsharp#10136 (comment), though I am then unsure why things work from VS Code.

@nhirschey
Copy link
Contributor Author

Looks like it works in dotnet fsi and ionide 4.17.0. It should work in ionide 5.0 and visual studio dotnet fsi once those tooling features are finished.

See #662 for a working example.

@Esther2013
Copy link
Member

@nhirschey Do you mind fix the F# example? Currently it's using the old version of v0.11 tf.net, we'd like to upgrade to v0.20+.

@nhirschey
Copy link
Contributor Author

@Esther2013 I will take a look at it and try to fix it when I have a chance.

@dsyme
Copy link
Contributor

dsyme commented Dec 8, 2020

Thanks @nhirschey !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants