albumentations-team / albumentations

Fast and flexible image augmentation library. Paper about the library: https://www.mdpi.com/2078-2489/11/2/125
https://albumentations.ai
MIT License
13.8k stars 1.61k forks source link

How to configure my search.yaml file. There is a problem'' full_key: searcher.cfg.searcher'' #1614

Closed wuacx closed 3 months ago

wuacx commented 3 months ago

Your Question

hydra.errors.InstantiationException: Error in call to target 'autoalbument.faster_autoaugment.search.FasterAutoAugmentSearcher': AttributeError("'NoneType' object has no attribute 'task'") full_key: searcher.cfg.searcher

So, how to configure my search.yaml My current configuration is as follows: searcher: target: autoalbument.faster_autoaugment.search.FasterAutoAugmentSearcher cfg:

Class for Searcher that is used to discover augmentation policies. You can create your own Searcher to alter

    # the behavior of AutoAlbument.

I don't know how to do it, please help me, thank you very much.

I tried running the example, but it didn't work. The. yaml file still lacks configuration

wuacx commented 3 months ago

Thanks to myself, I have solved this problem