Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用LayerStyle Advance后会有这段 FutureWarning 新增提示,关于timm的错误 #6

Open
LiJT opened this issue Dec 14, 2024 · 1 comment

Comments

@LiJT
Copy link

LiJT commented Dec 14, 2024

E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\layers_init_.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)

使用上貌似没什么问题,貌似以后这个方法要被代替了
我的timm版本
timm==1.0.12

@chflame163
Copy link
Owner

子模块中的旧用法,目前还没影响,等后面报错了再改。

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

No branches or pull requests

2 participants