autoalbument icon indicating copy to clipboard operation
autoalbument copied to clipboard

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

Open neel2299 opened this issue 2 years ago • 7 comments

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.

neel2299 avatar Jun 05 '22 07:06 neel2299

same issue, how did u solve it?

timothylimyl avatar Jun 10 '22 07:06 timothylimyl

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

neel2299 avatar Jun 11 '22 17:06 neel2299

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

huchenfei-99 avatar Jun 13 '22 13:06 huchenfei-99

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"

FrankwaP avatar Jun 15 '22 15:06 FrankwaP

I managed by downgrading to timm==0.4.12

vedal avatar Jul 01 '22 11:07 vedal

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.

alepistola avatar Nov 06 '23 13:11 alepistola