Skip to content

fix timm deprecation warning#35

Open
tianze0926 wants to merge 1 commit intoFacePerceiver:mainfrom
tianze0926:timm
Open

fix timm deprecation warning#35
tianze0926 wants to merge 1 commit intoFacePerceiver:mainfrom
tianze0926:timm

Conversation

@tianze0926
Copy link

Since timm 1.0.11 the following warning emerges (introduced by huggingface/pytorch-image-models@fad4538):

/conda/envs/teeth/lib/python3.12/site-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.
layers is deprecated, please import via timm.layers

This pull request would eliminate the warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant