Skip to content

Error after removing one or more training images and attempting to re-train #2046

Description

@mlaboss

Model Builder Version: 16.13.1.2210302
Visual Studio Version: 2022 (17.1.0)

Bug description
After removing some training images from an already-trained image classification model, attempting to re-train the model results in a "filePath cannot be null or empty" error.

Steps to Reproduce

  1. Create an image classification model, feed it some training data and Train it.
  2. Delete one or more images from the training data
  3. Go back to the Train section of the model builder and hit "Train again"

Expected Experience
Re-training the model works as normal.

Actual Experience
A Model Builder Error dialog pops up.
Screenshot 2022-02-24 100440

Log file attached:
LiquidIn24WellPlateModel-OKTSP1.txt

Additional Context
It seems like the model builder is looking for the removed file and having a problem when it can't find it.

I am able to work around the problem by creating a brand new folder with a different name than the old folder, putting the training images in there, and pointing the model builder at that folder instead.

Metadata

Metadata

Assignees

Labels

Mark for closeIssues pending final confirmation before closingMultiple RequestsFeature or fix is requested by multiple customersPriority:1Work that is critical for the release, but we could probably ship withoutReported by: Customer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions