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

[ISSUE] No module named 'tools.file' #186

Open
6 tasks done
ahkimkoo opened this issue Nov 4, 2024 · 2 comments
Open
6 tasks done

[ISSUE] No module named 'tools.file' #186

ahkimkoo opened this issue Nov 4, 2024 · 2 comments
Labels
bug Something isn't working upstream Dependency on upstream fixes

Comments

@ahkimkoo
Copy link

ahkimkoo commented Nov 4, 2024

确认清单

  • 我已经阅读过 README.md 和 dependencies.md 文件
  • 我已经确认之前没有 issue 或 discussion 涉及此 BUG
  • 我已经确认问题发生在最新代码或稳定版本中
  • 我已经确认问题与 API 无关
  • 我已经确认问题与 WebUI 无关
  • 我已经确认问题与 Finetune 无关

你的issues

Traceback (most recent call last):
File "/root/autodl-tmp/ChatTTS-Forge/webui.py", line 27, in
from modules.api.api_setup import process_api_args, setup_api_args
File "/root/autodl-tmp/ChatTTS-Forge/modules/api/api_setup.py", line 9, in
from modules.api.impl import (
File "/root/autodl-tmp/ChatTTS-Forge/modules/api/impl/google_api.py", line 16, in
from modules.core.handler.SSMLHandler import SSMLHandler
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/handler/SSMLHandler.py", line 7, in
from modules.core.pipeline.factory import PipelineFactory
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/pipeline/factory.py", line 4, in
from modules.core.models.zoo.ModelZoo import model_zoo
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/models/zoo/init.py", line 2, in
from .ModelZoo import model_zoo
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/models/zoo/ModelZoo.py", line 17, in
from modules.core.models.tts.FishSpeechModel import FishSpeechModel
File "/root/autodl-tmp/ChatTTS-Forge/modules/core/models/tts/FishSpeechModel.py", line 27, in
from modules.repos_static.fish_speech.tools.vqgan.inference import (
File "/root/autodl-tmp/ChatTTS-Forge/modules/repos_static/fish_speech/tools/vqgan/inference.py", line 13, in
from tools.file import AUDIO_EXTENSIONS
ModuleNotFoundError: No module named 'tools.file'

@ahkimkoo
Copy link
Author

ahkimkoo commented Nov 4, 2024

少了一个文件导致的

modules/repos_static/fish_speech/tools/__init__.py

@zhzLuke96
Copy link
Member

能提供一下其他的环境信息吗,比如 python 版本号 系统环境

因为这个问题,在 colab 和 我本地都没复现,虽然修复应该不麻烦
但是主要是涉及到的这部分代码是 repos_static 下面的模块,这部分代码都来自外部,都是第三方,我们是不太想去修改的,跟踪和合并都不方便

提供更多信息能帮助我们更完整的解决这个问题

@zhzLuke96 zhzLuke96 added bug Something isn't working upstream Dependency on upstream fixes labels Nov 5, 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 upstream Dependency on upstream fixes
Projects
None yet
Development

No branches or pull requests

2 participants