xshell中如何粘贴
问题
Traceback (most recent call last):
File "main.py", line 17, in <module>
from trainer import Trainer
File "/kercing/ssj22/Bert-CRF/trainer.py", line 3, in <module>
from tqdm import tqdm, trange #添加进度条
ModuleNotFoundError: No module named 'tqdm'
问题
安装 seqeval命令
anaconda search -t conda seqeval anaconda show conda-forge/seqeval conda install --channel https://conda.anaconda.org/conda-forge seqeval ———————————————— 版权声明:本文为CSDN博主「菜鸟进军大神陆」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/qq_25391785/article/details/124323137
问题
using GPU idx: # 0,1,4,3,2,5
Traceback (most recent call last):
File "main.py", line 17, in <module>
from trainer import Trainer
File "/kercing/ssj22/Bert-CRF/trainer.py", line 13, in <module>
from utils import MODEL_CLASSES, set_seed, compute_metrics, get_slot_labels, get_result
File "/kercing/ssj22/Bert-CRF/utils.py", line 34
def init_
问题
(py38) ssj22@kercing-PR4910P:~/Bert-CRF$ python main.py
using GPU idx: # 0,1,4,3,2,5
Traceback (most recent call last):
File "main.py", line 17, in <module>
from trainer import Trainer
File "/kercing/ssj22/Bert-CRF/trainer.py", line 13, in <module>
from utils import MODEL_CLASSES, set_seed, compute_metrics, get_slot_labels, get_result
File "/kercing/ssj22/Bert-CRF/utils.py", line 11, in <module>
from model import JointBERT
File "/kercing/ssj22/Bert-CRF/model.py", line 4, in <module>
from torchcrf import CRF
ModuleNotFoundError: No module named 'torchcrf'
问题:conda与pip的区别
查看CUDA版本
Conda换源是否成功
查看conda的源
conda config --show channels
pip下载
消除之前更改的源
oho 她又变成了22.9
添加可用的源
虚拟环境并激活
pip安装好
python、pip都好的
anaconda 环境变量
|