Skip to content

[Feature Request]: regularization_losses loading via Hub.KerasLayer #1133

Open
@FrancescoRusticali

Description

@FrancescoRusticali

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing feature/sAn issue about missing features in the library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions