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

AttributeError: module 'transformers.utils.logging' has no attribute 'basicConfig' #297

Open
moyanxinxu opened this issue Oct 30, 2024 · 0 comments

Comments

@moyanxinxu
Copy link

如题所示,如果你遇到这个问题。

问题在于第9行的导包把第1行覆盖了,所以把调整导包的顺序能规避这个问题。

修改前:

截屏2024-10-30 17 33 14

修改后:

截屏2024-10-30 17 34 59
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

1 participant