Error calling 'dataset.SearchDataset' - `No module named 'dataset.SearchDataset'
lilianabrandao opened this issue · comments
Liliana Brandao commented
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?
Liliana Brandao commented
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