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.NET and SciSharp.TensorFlow.Redist packages not being properly installed and unpacked #412

Closed
asadowns opened this issue Aug 18, 2021 · 2 comments

Comments

@asadowns
Copy link

Description

I am using NuGetForUnity to install the SciSharp.TensorFlow.Redist and TensorFlow.NET packages following https://github.com/SciSharp/TensorFlow.NET#c-example.

Neither package seems to be being properly installed while there is .nupkg there are not any dll files and the package does not seem to be expanded as would be expected. In the case of TensorFlow.NET an empty lib directory is created as well (see images).

I've tried changing Project Settings>Player>API Compatibility Level to both .NET 4.x and .NET Standard 2.0 without effect. I can see in the case of the TensorFlow.NET package that I can unzip it and there is a lib folder with a dll in it.

The end result is I can not use these packages in my project. Any help provided is appreciated.

image
image

  • NuGet Package: SciSharp.TensorFlow.Redist@2.6.0, TensorFlow.NET@0.60.1
  • NuGetForUnity Version: 3.0.2
  • Unity Version: 2020.3.2f1
  • Operating System: MacOSX (also tested on Windows)
@asadowns
Copy link
Author

I was able to get this working in a non-unity .NET project via NuGet. The one thing I noticed that differed in the UI experience was that in Visual Studio it required I accept the license before downloading. Not sure if this relates to the core issue.

@asadowns
Copy link
Author

I was able to get this working. It was an issue with these packages that they were not built for .netstandard 2.0 when the package maintainer updated this it worked.

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

1 participant