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

'tools.logger' model not found #515

Open
Mrjackzxc opened this issue Jul 3, 2024 · 3 comments
Open

'tools.logger' model not found #515

Mrjackzxc opened this issue Jul 3, 2024 · 3 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation question Further information is requested stale The topic has been ignored for a long time

Comments

@Mrjackzxc
Copy link

i get error "ModuleNotFoundError: No module named 'tools.logger'" when i run example.ipynb ,how can i get 'tools.logger' model ?

@fumiama
Copy link
Member

fumiama commented Jul 3, 2024

Check your root dir. If you can, please put your notebook output to let us know the detail.

@fumiama fumiama added bug Something isn't working documentation Improvements or additions to documentation question Further information is requested labels Jul 3, 2024
@ahmedoubadi
Copy link

same problem:
File "D:\projects\ai-agents\ChatTTS\examples\cmd\run.py", line 10, in
from tools.logger import get_logger
ModuleNotFoundError: No module named 'tools.logger'

@fumiama
Copy link
Member

fumiama commented Sep 2, 2024

same problem: File "D:\projects\ai-agents\ChatTTS\examples\cmd\run.py", line 10, in from tools.logger import get_logger ModuleNotFoundError: No module named 'tools.logger'

replace

from tools.logger import get_logger

with

from ChatTTS.tools.logger import get_logger

and use the latest dev branch according to #603

@github-actions github-actions bot added the stale The topic has been ignored for a long time label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation question Further information is requested stale The topic has been ignored for a long time
Projects
None yet
Development

No branches or pull requests

3 participants