在openbays怎么操作;报错了换个torch;文件名不正确;Anaconda环境未激活的warning;Collecting package metadata failed出错;git出错

在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)

报错如下:

解决办法:

一开始只有用户环境变量中有,现在我加到系统环境变量中

现在就都没报错啦!

参考来源:

(165条消息) 关于This Python interpreter is in a conda environment, but the environment hasnot been activated问题的解决_but the environment has not been activated. librar_Saber__________的博客-CSDN博客

入门到卸载: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

https://blog.csdn.net/Java_WW_King/article/details/128321000?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-128321000-blog-122740180.pc_relevant_multi_platform_whitelistv3&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-128321000-blog-122740180.pc_relevant_multi_platform_whitelistv3&utm_relevant_index=1

但是没有成功............

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值