Skip to content

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

@ashbhandare

Description

@ashbhandare

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions