在openbays怎么操作
Deep Learning with PyTorch 教程 | OpenBayes 贝式计算
(就是在这个页面中,点进去——点击“+”——使用terminal“终端”(这样就可以啦,因为它是Linux页面形式,所以我得补linux语法去喽)
不过首先第一步是:
git clone 加上网址
)
本来from transformers.utils.model_parallel_utils import assert_device_map, get_device_map
from transformers.models.t5.modeling_t5 import T5PreTrainedModel, T5Stack
from transformers.generation_beam_search import BeamScorer, BeamSearchScorer
from transformers.generation_logits_process import LogitsProcessorList这些报错,但是当我按照规定的要求放到torch为1.10中,它就不报错了!
文件名不正确
解决方法:
# configs.save_dir = os.path.join('./checkpoint/' + 'WN18RR-' + str(datetime.now())
configs.save_dir = os.path.join('./checkpoint/' + 'WN18RR-' + datetime.now().strftime("%Y-%m-%d %H-%M-%S"))
换成这样暂时可以运行啦
未激活python环境(Anaconda环境未激活的warning)
报错如下:
解决办法:
一开始只有用户环境变量中有,现在我加到系统环境变量中
现在就都没报错啦!
参考来源:
入门到卸载:Anaconda3安装与Python3.8.1兼容配置_python_冰苏打-DevPress官方社区 (csdn.net)
Collecting package metadata (current_repodata.json): failed
想更新ananconda中的base里的python(从3.9-->3.10.6)但是问题是现在用默认的这个更新不了,于是我找方法!直接conda install 结果出错了:
UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel http_proxy="http://www-proxy.waseda.jp:8080" <" target="_blank">https://conda.anaconda.org/http_proxy="http://www-proxy.waseda.jp:8080">
The channel is not accessible or is invalid.
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
然后用了之前下载的方式,发现也不行!!
fatal: unable to access 'https://github.com/AUTOMATIC1111/stable-diffusion-webui/': error setting certificate verify locations: CAfile: https://github.com/AUTOMATIC1111/stable-diffusion-webui CApath: none
但是没有成功............