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.2k stars 514 forks source link

Can't install Tensorflow.Keras : unable to resolve 'PureHDF' #1096

Closed IgnacioRodriguez98 closed 1 year ago

IgnacioRodriguez98 commented 1 year ago

Description

I´m trying to run an LSTM that I made in keras.net to tensroflow.net (in order to look if I can set a random seed in tensorlfow.net) but when I run it I get this error.

System.Reflection.ReflectionTypeLoadException: 'Cannot load one or more required types. Retrieve the LoaderExceptions property for more information.'

In order to that menssage I decided to uninstall keras.net and install tensorflow.keras. But I have this error when is trying to download and install it.

Unable to resolve dependency 'PureHDF'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.

Somebody has resolve that issue?

Oceania2018 commented 1 year ago

The message “Microsoft Visual Studio Offline Packages” seems like your network is disconnected.

IgnacioRodriguez98 commented 1 year ago

The message “Microsoft Visual Studio Offline Packages” seems like your network is disconnected.

In base to your comment, I try with the internet of my house and with my cellphone and is the same, any other suggestion? Thanks in advice

IgnacioRodriguez98 commented 1 year ago

The message “Microsoft Visual Studio Offline Packages” seems like your network is disconnected.

Just checked, the message refers to the only two sources I have, the first is nuget.org and the second is Microsoft Visual Studio Offline Packages.

That makes me think that neither can find the PureHDF dependency, whatever that means

EDIT:

All I had to do was check the box that allows previews versions to be installed. from there you only need to look for the PureHDF dependency and installed.

Doing this will allow us to install tensorflow.keras