代码错误
小泽子的皇阿玛
犹能簸却沧溟水
展开
-
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘
在云服务器上复现论文时,按照别人的要求新创建了一个环境,但是按照别人给的命令激活环境时出现了如标题一样的错误,别人给的命令为: conda activate environment_name。下面给出解决的办法,将上面给定命令换为:source activate environment_name即可。原创 2023-08-02 22:40:02 · 118 阅读 · 0 评论 -
TypeError: bases must be types
【代码】TypeError: bases must be types。原创 2023-07-22 21:22:17 · 2784 阅读 · 1 评论 -
ImportError: cannot import name ‘SummaryWriter‘ from partially initialized module ‘torch.utils.tenso
ImportError: cannot import name 'SummaryWriter' from partially initialized module 'torch.utils.tensorboard错误解决方案原创 2022-09-28 21:19:30 · 4803 阅读 · 12 评论