摘要: 先来看下nn.Module的成员: def __init__(self): """ Initializes internal Module state, shared by both nn.Module and ScriptModule. """ torch._C._log_api_usage_on 阅读全文
posted @ 2021-04-26 20:01 水木清扬 阅读(377) 评论(0) 推荐(0)
摘要: 2、换源命令 临时:pip命令+ -i +镜像地址。例如 pip install numpy -i https://mirrors.aliyun.com/pypi/simple/ 永久:在更新到最新版本pip后,pip config set global.index-url+国内镜像地址,例如 pi 阅读全文
posted @ 2021-04-26 12:03 水木清扬 阅读(224) 评论(0) 推荐(0)
摘要: 出现错误情况: 今天在使用Anaconda激活python3.6环境的时候出现了如下错误: [zsq@localhost ~]$ conda activate python36 CommandNotFoundError: Your shell has not been properly config 阅读全文
posted @ 2021-04-26 11:20 水木清扬 阅读(4723) 评论(0) 推荐(2)