dotnet / dotnet/machinelearning-samples

Strange Issues with Image Classification Transfer Learning Sample

Open
#653 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
4.7k
Forks
2.7k
Avg merge
2d 22h
Merged PRs (30d)
1

Description

Seems the training is not running so well. The accuracy even after 500 epochs is way too low. I also tried the full 3600 images data set but not much better, so I have a feeling there’s something wrong here.

I just cloned the repo and got these very low accuracy results with VS 2019 with .NET Core 2.1 or 3.0.

Is anyone else seeing that with the sample or is it just me and maybe my machine config?
https://github.com/dotnet/machinelearning-samples/tree/master/samples/csharp/getting-started/DeepLearning_ImageClassification_Training

See the super low accuracy here:
![image](https://user-images.githubusercontent.com/7439129/65017822-e9255280-d927-11e9-9623-07d3ada3893f.png)

I’ve also tried InceptionV3 instead of ResNetv2101 as architecture but that raises an ArgumentOutOfTRangeException:
![image](https://user-images.githubusercontent.com/7439129/65017839-f4787e00-d927-11e9-915c-24367154adf4.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.