machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

What type is the input model file

Open nfnpmc opened this issue 7 years ago • 2 comments

The model input file is Microsoft.ML.SamplesUtils.DatasetUtils.DownloadTensorFlowSentimentModel(). Is this a zip, a graph , or what? Does it contain pretrained weights?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

nfnpmc avatar Aug 05 '19 14:08 nfnpmc

@nfnpmc the downloaded model is in the SavedModel format. There is a saved_model.pb file, and a variables folder containing the pre-trained weights.

najeeb-kazmi avatar Jan 29 '20 00:01 najeeb-kazmi

@najeeb-kazmi The model looks like it is in the SavedModel format, but I am having a hard time recreating it from TensorFlow. Here is my inquiry on StackOverflow. Basically if I save a model from TensorFlow in the SavedModel format, it looks really weird (sometimes having only one node) and will not pull into ML.NET correctly since the input and output nodes are used. Do you have a suggestion?

hjoshuaj avatar Nov 25 '20 17:11 hjoshuaj