Setting ReuseTrainSetBottleneckCachedValues and ReuseValidationSetBottleneckCachedValues parameters in ImageClassificationTrainer.Options to true, does the bottleneck computation on subsequent runs. I believe once the bottleneck values are computed on the first run, by setting both of those parameters to true, bottleneck computation should be skipped and the model should go directly into the training phase. Is this no longer the case?
hi Luis, you need to specific a workspace path so that bottleneck files are not deleted else bottleneck files are created in a temporary folder that is deleted after training run.
System information
Issue
Setting
ReuseTrainSetBottleneckCachedValues
andReuseValidationSetBottleneckCachedValues
parameters inImageClassificationTrainer.Options
totrue
, does the bottleneck computation on subsequent runs. I believe once the bottleneck values are computed on the first run, by setting both of those parameters totrue
, bottleneck computation should be skipped and the model should go directly into the training phase. Is this no longer the case?Source code / logs
See sample source code at this link: https://github.com/luisquintanilla/machinelearning-samples/blob/33f87d226f350fb36552dd8b1cee6a7c3f12da89/samples/csharp/getting-started/DeepLearning_ImageClassification_Binary/DeepLearning_ImageClassification_Binary/Program.cs#L53