Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models deployed in Windows 2019 server gets stuck in model.load #1021

Open
ManuK001 opened this issue Feb 20, 2024 · 0 comments
Open

Models deployed in Windows 2019 server gets stuck in model.load #1021

ManuK001 opened this issue Feb 20, 2024 · 0 comments

Comments

@ManuK001
Copy link

Hi ML.net Team,
I have an issue reported from another customer reported here on Azure support channel by Mistake.
I suggested to report issue here, but it seems customer has not reported yet.

Customer is complaining that after upgrading to windows 19 server (Does not work) from windows 12 server(works)
Their model deployment is not working and gets an exception in middle while loading the model.

Errors
Error: Tensorflow exception triggered while loading model. at Microsoft.ML.TensorFlow.TensorFlowUtils.LoadTFSessionByModelFilePath(IExceptionContext ectx, String modelFile, Boolean metaGraph)
at Microsoft.ML.TensorFlow.TensorFlowUtils.GetSession(IHostEnvironment env, String modelPath, Boolean metaGraph)
at Microsoft.ML.Vision.ImageClassificationTrainer.LoadTensorFlowSessionFromMetaGraph(IHostEnvironment env, Architecture arch)
at Microsoft.ML.Vision.ImageClassificationTrainer.InitializeTrainingGraph(IDataView input)
at Microsoft.ML.Vision.ImageClassificationTrainer.TrainModelCore(TrainContext trainContext)
at Microsoft.ML.Trainers.TrainerEstimatorBase2.TrainTransformer(IDataView trainSet, IDataView validationSet, IPredictor initPredictor) at Microsoft.ML.Trainers.TrainerEstimatorBase2.Fit(IDataView input)
at Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input)
at TestImageClassificationCore.ImageClassificationClass.TrainImages(XmlDocument qualityXML) in C:\Users\1012377\source\repos\TestImageClassificationCore\ImageClassificationClass.cs:line 359

ITransformer trainedModel = trainingPipeline.Fit(trainSet)

Could you please share any insights or remedials for above issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant