Skip to content

Commit

Permalink
move empty directory removal to sparseml instead of sparsify (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Jul 21, 2023
1 parent a75c0a2 commit e1c5088
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/sparsify/auto/tasks/image_classification/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ def config_to_args(
if "dataset" not in config.kwargs:
# custom datasets are set to imagefolder
config.kwargs["dataset"] = "imagefolder"
if not os.path.exists(config.dataset):
raise FileNotFoundError(
f"The custom dataset {config.dataset} "
"does not exist. Please ensure that the path provided is correct."
)

if "model_tag" not in config.kwargs:
config.kwargs["model_tag"] = "sparsify_auto_image_classification"
Expand Down

0 comments on commit e1c5088

Please sign in to comment.