Skip to content

[Image Classification] Error running Transfer learning example with InceptionV3 #4426

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
ashbhandare opened this issue Oct 31, 2019 · 0 comments

Comments

@ashbhandare
Copy link
Contributor

ashbhandare commented Oct 31, 2019

System information

  • OS version/distro: Windows 10
  • .NET Version (eg., dotnet --info):
    Microsoft.ML: 1.4.0-preview3-28230-4
    Microsoft.ML.ImageAnalytics : 1.4.0-preview3-28230-4
    Microsoft.ML.Vision: 1.4.0-preview3-28230-4

Issue

  • What did you do?
    Tried to run the ImageClassification.Train sample at https://github.com/dotnet/machinelearning-samples/tree/master/samples/csharp/getting-started/DeepLearning_ImageClassification_Training
    with Architecture InceptionV3

  • What happened?
    Exception :
    Tensorflow.TensorflowException
    HResult=0x80131500
    Message=NewRandomAccessFile failed to Create/Open: ./tfhub_modules/d765412e8955a7067e9c0031f60783359e0e5c3f/variables/variables.data-00000-of-00001 : The system cannot find the path specified.
    ; No such process
    [[{{node checkpoint_initializer_32}}]]
    Source=Microsoft.ML.TensorFlow
    StackTrace:
    at Microsoft.ML.TensorFlow.TensorFlowUtils.Runner.Run()
    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.Data.EstimatorChain1.Fit(IDataView input)
    at ImageClassification.Train.Program.Main() in C:\Users\aibhanda\luis-machinelearning-samples\samples\csharp\getting-started\DeepLearning_ImageClassification_Training\ImageClassification.Train\Program.cs:line 80

  • What did you expect?
    Sample should run, as other architectures run without exception.

Source code / logs

Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.
1.4.0_RC-1_InceptionV3.log

@ashbhandare ashbhandare changed the title [] [Image Classification] Error running Transfer learning example with InceptionV3 Oct 31, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant