yangdongchao / UniAudio

The Open Source Code of UniAudio
http://dongchaoyang.top/UniAudio_demo/
522 stars 32 forks source link

ModuleNotFoundError: No module named 'tools.tokenizer.Text_Image' #9

Open anonymoussky opened 1 year ago

anonymoussky commented 1 year ago

python3 data_scripts/offline_tokenization.py --input-file data/val/1splits/phone.1 --output-file data/val/1splits/alignment.1.pt --tokenizer alignment --rank 1

Traceback (most recent call last): File "./UniAudio/UniAudio/egs/TTS/data_scripts/offline_tokenization.py", line 20, in from tools.tokenizer.BPE.BPETokenizer import BPETokenizer as ClipBPETokenizer File "./UniAudio/UniAudio/tools/tokenizer/BPE/BPETokenizer.py", line 3, in from tools.tokenizer.Text_Image.clip.clip import tokenize ModuleNotFoundError: No module named 'tools.tokenizer.Text_Image'

Accounting: time=5 threads=1

anonymoussky commented 1 year ago

Meanwhile,

ModuleNotFoundError: No module named 'tools.tokenizer.CLAP_RVQ'

"tools.tokenizer.AudioTagging.audio_tagging_tokenizer" is also missing

yangdongchao commented 1 year ago

Meanwhile,

ModuleNotFoundError: No module named 'tools.tokenizer.CLAP_RVQ'

"tools.tokenizer.AudioTagging.audio_tagging_tokenizer" is also missing

We have update it. you can delete these modules.