What type is the input model file
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.
- ID: 3459698d-76c3-c04b-de13-edafd11d8859
- Version Independent ID: 0aa1e091-1935-850b-af62-c1f14a7bc6fc
- Content: TensorflowCatalog.LoadTensorFlowModel(ModelOperationsCatalog, String) Method (Microsoft.ML)
- Content Source: dotnet/xml/Microsoft.ML/TensorflowCatalog.xml
- Product: dotnet-ml-api
- GitHub Login: @sfilipi
- Microsoft Alias: johalex
@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 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?