Open B-1368 opened 12 months ago
import sat
import sat 是先import sat再import SwissArmyTransformer吗?还是不太行啊
>> import sat [2023-09-09 08:40:09,351] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect) [2023-09-09 08:40:11,026] [INFO] webdataset not install, use pip to install, or you cannot use SimpleDistributedWebDataset and MetaDistributedWebDataset. >> import SwissArmyTransformer Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'SwissArmyTransformer'
同样的问题,以下方法可以解决:
pip install SwissArmyTransformer==0.2.8
同样的问题,以下方法可以解决:
- 指定版本安装
pip install SwissArmyTransformer==0.2.8
可是我依旧存在问题,请问还有什么办法吗?
import sat,而不是import SwissArmyTransformer
import sat,而不是import SwissArmyTransformer
感谢!
您好,我用pip安装了SwissArmyTransformer-0.4.5,但无法导入。已经确认安装在PYTHONPATH路径里了,换了好几台机器都是这样,不知道如何解决?多谢