albumentations-team / autoalbument

AutoML for image augmentation. AutoAlbument uses the Faster AutoAugment algorithm to find optimal augmentation policies. Documentation - https://albumentations.ai/docs/autoalbument/

Home Page:https://albumentations.ai/docs/autoalbument/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error calling 'dataset.SearchDataset' - `No module named 'dataset.SearchDataset'

lilianabrandao opened this issue · comments

When I try to run the command autoalbument-search --config-dir dir_name I get the following error:

hydra.errors.HydraException: Error calling 'dataset.SearchDataset' : Encountered error: `No module named 'dataset.SearchDataset'` when loading module 'dataset.SearchDataset'

How can I fix it?

I managed to find the solution.

The problem was that dataset.py was in a subdirectory/subpackage. Hence, it was not automatically imported. More info here: https://stackoverflow.com/questions/8899198/module-has-no-attribute