Skip to content

Problems with pipeline.fit in DeepLearning_ImageClassification_Training #663

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

Closed
SidV256 opened this issue Sep 23, 2019 · 3 comments
Closed

Comments

@SidV256
Copy link

SidV256 commented Sep 23, 2019

Initially I was able to train and run your default dataset of flowers with no error and was able to train my own data as well but while building model I am facing a variety of errors including:
System.FormatException: 'Tensorflow exception triggered while loading model.'
InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.

OR

failed to create a newwriteablefile: : the system cannot find the path specified.

Please help me I am using ResnetV2101 as my architecture because InceptionV3 throws errors even before this line.

@SidV256 SidV256 closed this as completed Sep 23, 2019
@SidV256 SidV256 reopened this Sep 23, 2019
@raskolnikoov
Copy link

@SidV256 I have also run into this issue. Can't seem to get it to work. :/

@luisquintanilla
Copy link
Contributor

@SidV256 @raskolnikoov Sorry to hear you're having trouble. Not sure if this might help, but this issue has been logged in the ML.NET repo dotnet/machinelearning#4234 .

I'm not sure if it was solved but I was able to train and the error did not appear again given the pipeline I provided. I would also suggest cleaning the solution (deleting the /bin /obj directories in the project) and running again.

@ashbhandare
Copy link

@SidV256 @raskolnikoov The above issue is solved and updating to the most recent release https://www.nuget.org/packages/Microsoft.ML/1.4.0 should solve your issue as well. Closing for now, please reopen if issue persists.

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

4 participants