None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Closed this issue · 0 comments
报错,modles文件夹明明已经发在“Ace-Translate-main”文件夹里了
C:\Users\Admin\AppData\Local\Programs\Python\Python38\python.exe D:\code\Ace-Translate-main\main.py
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "D:\code\Ace-Translate-main\main.py", line 173, in run_translation
from Translation import translation_ch2en, translation_en2ch
File "D:\code\Ace-Translate-main\Translation\translation_en2ch.py", line 7, in
import my_utils
File "D:\code\Ace-Translate-main\my_utils.py", line 2, in
from nltk import word_tokenize
ModuleNotFoundError: No module named 'nltk'