albumentations-team / autoalbument

AutoML for image augmentation. AutoAlbument uses the Faster AutoAugment algorithm to find optimal augmentation policies. Documentation - https://albumentations.ai/docs/autoalbument/
https://albumentations.ai/docs/autoalbument/
MIT License
198 stars 20 forks source link

Error locating target: 'autoalbument.faster_autoaugment.search.FasterAutoAugmentSearcher' #41

Open neel2299 opened 2 years ago

neel2299 commented 2 years ago

I was trying to run an example using as shown in https://albumentations.ai/docs/autoalbument/how_to_use/. However I got this error. image

Is there something I am doing wrong? Help would be very much appreciated.

timothylimyl commented 2 years ago

same issue, how did u solve it?

neel2299 commented 2 years ago

Ahh, thanks for the comment, closed it somehow by mistake. Yet to find a solution.

huchenfei-99 commented 2 years ago

Could you tell me how to fix this problem? I really don't know how to solve it ,please.

FrankwaP commented 2 years ago

First: using an image to display a partial error message is a bad idea!
Next time copy and paste the full error message as text.

You likely need to do one of the tips given in this comment this comment:

Change line 6 in envs/name/lib/site-packages/timm/models/layers/helper.py from "from torch._six import container_abcs" to "import collections.abc as container_abcs"

vedal commented 2 years ago

I managed by downgrading to timm==0.4.12

alepistola commented 7 months ago

Same issue!

I managed by downgrading to timm==0.4.12

Downgrading to timm==0.4.12 does not seem to work (and it introduces incompatibilities):

autoalbument 0.4.0 requires timm==0.3.2, but you have timm 0.4.12 which is incompatible. segmentation-models-pytorch 0.1.3 requires timm==0.3.2, but you have timm 0.4.12 which is incompatible.

charitarthchugh commented 3 weeks ago

Ran into the same issue, I would just use the docker method.