会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
龙雪的博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
27
下一页
2020年7月6日
pip清华镜像源使用方法总结
摘要: 临时使用pip install -i https://pypi.tuna.tsinghua.edu.cn/simple package-name注意,simple 不能少, 是 https 而不是 http设为默...
阅读全文
posted @ 2020-07-06 22:34 龙雪
阅读(3943)
评论(0)
推荐(1)
2020年7月4日
Pytorch官网一直很卡进不去,离线下载pytorch各类版本安装包方法
摘要: 进入https://download.pytorch.org/whl/torch_stable.html选择自己对应版本的pytorch或torchvision等等文件下载即可 ...
阅读全文
posted @ 2020-07-04 23:25 龙雪
阅读(2777)
评论(0)
推荐(0)
2020年4月25日
pytorch 计算 CrossEntropyLoss 和 softmax 激活层
摘要: pytorch 计算 CrossEntropyLoss 不需要经 softmax 层激活!用 pytorch 实现自己的网络时,如果使用CrossEntropyLoss 我总是将网路输出经 softmax激活层后...
阅读全文
posted @ 2020-04-25 00:39 龙雪
阅读(728)
评论(4)
推荐(0)
UserWarning:Implicit dimension choice for softmax has been deprecated. Change the call to include..
摘要: 问题:UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=...
阅读全文
posted @ 2020-04-25 00:32 龙雪
阅读(918)
评论(0)
推荐(0)
TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory ..
摘要: 在pytorch结合cuda下,直接使用output.data.numpy()会报标题错误:TypeError: can't convert CUDA tensor to numpy. Use Tensor.cp...
阅读全文
posted @ 2020-04-25 00:27 龙雪
阅读(7252)
评论(0)
推荐(0)
2020年4月24日
/opt是什么?linux中/usr和/opt的区别
摘要: 说到/opt,常与/usr来一起对照说明:linux中/opt目录用来安装附加软件包,是用户级的程序目录,可以理解为D:/Software。安装到/opt目录下的程序,它所有的数据、库文件等等都是放在同个目录下面...
阅读全文
posted @ 2020-04-24 10:14 龙雪
阅读(3248)
评论(0)
推荐(1)
linux Ubuntu为例安装sublime text 3
摘要: 下载Linux安装包:http://www.sublimetext.com/3得到:sublime_text_3_build_3200_x64.tar.bz2解压得到文件夹 sublime_text_3/sudo...
阅读全文
posted @ 2020-04-24 10:08 龙雪
阅读(227)
评论(0)
推荐(0)
2020年4月23日
python删除文件中含"指定内容关键字"的一行
摘要: python运行版本:2.7 (3以上的版本需将里面不兼容的语句改写一下)#!/bin/env python import shutil, sys, os darray = [ "xxxxxxxxx", ";...
阅读全文
posted @ 2020-04-23 11:26 龙雪
阅读(1659)
评论(0)
推荐(0)
2020年4月20日
CondaVerificationError ... specified in the package manifest cannot be found 错误
摘要: 使用conda install xxxxxx的时候报如下类似错误:CondaVerificationError....specified in the package manifest cannot be fou...
阅读全文
posted @ 2020-04-20 16:55 龙雪
阅读(1885)
评论(0)
推荐(0)
2020年4月15日
pip在虚拟环境(conda)中仍安装到全局下的问题
摘要: 问题描述在用conda创建的虚拟环境中,使用pip安装包,包仍被安装到全局,或者显示权限不足。问题查找使用which pip会发现使用的pip仍为全局路径下的pip解决在pip前加上python -mpython...
阅读全文
posted @ 2020-04-15 16:59 龙雪
阅读(2282)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
27
下一页
公告