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

ImportError: cannot import name 'AutoProcessor' from partially initialized module 'transformers' (most likely due to a circular import) #544

Open
mozgbrasil opened this issue Mar 26, 2024 · 0 comments

Comments

@mozgbrasil
Copy link

Hello my friends, how are you, I'm trying to run the project example but an error is being returned, can you help me, thank you

marcio@marcio-Inspiron-5548:~/dados/git-clones/pessoal/gnz-python/bark$ python examples/transformers.py
Traceback (most recent call last):
  File "/home/marcio/dados/git-clones/pessoal/gnz-python/bark/examples/transformers.py", line 1, in <module>
    from transformers import AutoProcessor, BarkModel
  File "/home/marcio/dados/git-clones/pessoal/gnz-python/bark/examples/transformers.py", line 1, in <module>
    from transformers import AutoProcessor, BarkModel
ImportError: cannot import name 'AutoProcessor' from partially initialized module 'transformers' (most likely due to a circular import) (/home/marcio/dados/git-clones/pessoal/gnz-python/bark/examples/transformers.py)

Captura de tela de 2024-03-26 20-04-37
Captura de tela de 2024-03-26 20-04-55

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