- 博客(19)
- 资源 (1)
- 收藏
- 关注
原创 RuntimeError: one of the variables needed for gradient computation has been modified by...
报错信息:RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [64]] is at version 3; expected version 2 instead. Hint: enable anomaly detection to find the operation that failed
2021-09-15 16:42:05 250
原创 RuntimeError: CUDA error: an illegal memory access was encountered
打印tensor数据出现如下错误: print(output) File "/home/qin/anaconda3/envs/Center/lib/python3.6/site-packages/torch/tensor.py", line 179, in __repr__ return torch._tensor_str._str(self) File "/home/qin/anaconda3/envs/Center/lib/python3.6/site-packages/torc
2021-05-07 16:24:51 771
原创 自己都不一定看得懂的随手记
更新显卡驱动lspci | grep -i nvidia查看显卡信息https://www.nvidia.cn/Download/index.aspx?lang=cn下载对应驱动,上传卸载原来的驱动sudo /usr/bin/nvidia-uninstallsudo sh NVIDIA-Linux-x86_64-410.129-diagnostic.run下载cudahttps://developer.nvidia.com/cuda-10.0-downl...
2020-07-06 17:06:00 162
原创 记一件神奇的事情
直接操作conda install pytorch=1.0.0 torchvision cudatoolkit=10.0 -c pytorch连接超时An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will get you on your way.先安装torch和torchvisionpip install tor.
2020-07-04 14:48:12 232
原创 Daily 学习笔记(三)
1.ROIPoolinghttps://blog.csdn.net/auto1993/article/details/785140711⃣️ROI: regions of interest2⃣️目标检测的典型框架结构: region proposal+classifition+regression 缺点:proposal...
2019-12-17 18:38:36 189
原创 Daily 学习笔记(二)
1.https://pytorch.org/docs/stable/torchvision/datasets.html#torchvision.datasets.ImageFolderImageFolder类torchvision.datasets.ImageFolder(root,transform=None,target_transform=None, ...
2019-12-17 15:39:30 309
原创 Daily学习笔记(一)
1.https://www.cnblogs.com/flashBoxer/p/9664813.htmlpython中的__enter__ __exit__上下文管理器是支持上下文管理器协议的对象,它为了with而生。with语句开始运行时,会在上下文管理器对象上调用__enter__方法 运行结束后, ...
2019-12-03 19:47:39 262
转载 如何正确地给图像添加高斯噪声
https://www.cnblogs.com/seniusen/p/10017559.html高斯噪声是一个均值为 0 方差为 σ2nσn2 的正态分布,是一个加性噪声。但要正确地给图片添加高斯噪声,还要取决于程序中读入图片的数据格式。如果图片的数据格式为 uint8,也即数据的范围为 [0, 255],那么直接生成对应方差的噪声,然后加到图片上去。# clean_image ui...
2019-09-25 10:30:35 2227 2
原创 pytorch安装
官方给的命令conda install pytorch torchvision cuda100 -c pytorch1⃣️源码安装https://blog.csdn.net/weixin_40919942/article/details/804227182⃣️换源conda config --prepend channels http://mirrors.ustc.edu.cn...
2019-01-23 00:18:59 341
原创 非root用户安装CUDA和CuDNN
参考:https://blog.csdn.net/supinyu/article/details/84024982https://blog.csdn.net/sinat_20280061/article/details/80421532https://blog.csdn.net/qq_43118318/article/details/83691204cuda: lsb_releas...
2019-01-22 18:42:31 684
原创 Linux非root用户在服务器安装python-3.7.2
参考:https://blog.csdn.net/qq_20965753/article/details/641332621⃣️在python官网上下载相应的Linux版本: https://www.python.org/downloads/source/. 2⃣️上传到服务器 解压 tar -xvf Python-3.7.2.tar3⃣️进入解压目录:cd Python-3.7...
2019-01-22 16:40:42 2319 1
原创 Linux非root用户在服务器安装Anaconda 并使用Jupyter
参考:https://blog.csdn.net/cheneykl/article/details/85237669http://baijiahao.baidu.com/s?id=1596866816908926760&wfr=spider&for=pchttps://blog.csdn.net/jjwho/article/details/75098295 1⃣...
2019-01-22 16:26:49 3580
原创 Mac下Android Studio安装开发总结
1⃣️在干净的环境下,下载android-studio.dmg,并安装打开软件,(有vpn的情况下)无需代理选择自定义安装,在sdk对应位置建好目录,然后等待安装 2⃣️新建一个project,一直同步(build),原因是网太慢(Gradle sync failed: Cause: error in opening zip file 的错误)解决方法:找到gradle-w...
2018-12-21 10:19:04 316
转载 Express 学习笔记纯干货(Routing、Middleware、托管静态文件、view engine 等等)
from https://www.jianshu.com/p/51e9ab2f746b原始文章链接:http://www.lovebxm.com/2017/07/14/express-primer/1. Express 简介Express 是基于 Node.js 平台,快速、开放、极简的 web 开发框架,它提供一系列强大的特性,帮助你创建各种 Web 和移动设备应用。Exp...
2018-08-31 11:07:25 644
原创 thymeleaf+element+vue
<!DOCTYPE html><html lang="en" xmlns:th="http://www.thymeleaf.org"><head> <meta charset="UTF-8"> <title>用户主页</title> <sc
2018-08-02 17:15:47 6849 3
原创 Mon Aug 03 2015 00:00:00 GMT+0800 (中国标准时间)转data类型(element ui日期选择器)
<el-form-item label="生日" prop="birthday"> <el-date-picker type="date" v-model="ReginForm.birthday" placeholder="选择生日"> </el-da
2018-08-02 10:52:59 3910
myeclipse破解版
2018-04-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人