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

[Feature Request]: regularization_losses loading via Hub.KerasLayer

Open FrancescoRusticali opened this issue 1 year ago • 0 comments

Background and Feature Description

Hi all, I'm trying to load a pre-trained model via Hub.KerasLayer using this code:

string url = "https://tfhub.dev/google/tf2-preview/inception_v3/feature_vector/4";
Tensorflow.Hub.KerasLayer layer = new Tensorflow.Hub.KerasLayer(url, trainable: true);

but I get a NotImplementedException:

System.NotImplementedException HResult=0x80004001 Messaggio=The regularization_losses loading has not been supported yet, please submit an issue to https://github.com/SciSharp/TensorFlow.NET/issues to let us know and add a feature. Origine=Tensorflow.Hub

Any plan to implement this?

API Definition and Usage

No response

Alternatives

No response

Risks

No response

FrancescoRusticali avatar Jul 05 '23 14:07 FrancescoRusticali