![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pytorch
文章平均质量分 59
gdengden
这个作者很懒,什么都没留下…
展开
-
windows下pytorch安装时清华园镜像不可用的解决方法
windows下pytorch安装时清华园镜像不可用的解决方法原创 2023-01-31 19:27:41 · 1060 阅读 · 1 评论 -
Ubuntu18.04双系统安装+GPU+CUDA10+CUDNN7+ANACONDA3+PYTHON+PYCHARM
Ubuntu18.04双系统安装+GPU+CUDA10+CUDNN7+ANACONDA3+PYTHON+PYCHARM一、Win10 环境下安装Ubuntu 18.04过程记录步骤1:下载镜像文件从Ubuntu官网https://www.ubuntu.com/download/server下载系统的iso镜像文件 ,下载后不用解压,过程如下:步骤2:格式化U盘格式化你的U盘,格式化的时候选择FAT32格式的,具体过程如下: 步骤3:制作启动盘从网上https:...原创 2020-05-19 19:32:00 · 4030 阅读 · 0 评论 -
torchnet安装解决from torchnet.meter import ClassErrorMeter错误问题(cbam.pytorch执行问题)
torchnet安装安装gitapt install git行命令: pip install git+https://github.com/pytorch/tnt.git@master pip install --upgrade git+https://github.com/pytorch/tnt.git@master原创 2019-09-28 10:22:29 · 1916 阅读 · 0 评论 -
pytorch安装
https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whlpip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whlpip3 instal...原创 2019-08-01 21:38:53 · 2083 阅读 · 0 评论 -
conda中python3.7降为3.5
不小心conda虚拟环境下python3.5安装pandas时候未指定版本,直接python更新为3.7了(conda下默认好像是),导致pytorch不能使用了,怎么办?找了资料,直接虚拟环境下conda install python=3.5执行即可。又恢复到原来的状态了。...原创 2019-07-13 16:00:53 · 20182 阅读 · 2 评论 -
在Ubuntu下如何压缩一个文件夹,如何查看文件夹大小
sudo tar zcvf work.tar.gz work/sudo tar jcvf work.tar.bz2 work/sudo tar cvf work.tar work记住了,要加sudo顺便也写一下解压缩吧tar xzvf work.tar.gztar xjvf work.tar.bz2tar xvf work.tar查看当前目录使用的总空间大小...原创 2019-04-28 20:31:28 · 2253 阅读 · 0 评论 -
ssl-bad-gan python2.7+pytorch0.1.12+torchvision0.1.8
开始在pytorch0.4.1版本下运行,各种出错:主要是形状问题 svhn_train.py 119行。gen_feat_norm = gen_feat / gen_feat.norm(p=2, dim=1).reshape([-1,1]).expand_as(gen_feat) 加.reshape([-1,1])utils.py中,21-25行reshape([-1,1])...原创 2019-04-27 20:12:04 · 1201 阅读 · 4 评论 -
GAN-based-HRRS-Sample-Generation-for-Image-Classification执行
The GAN-based method is used to generate high-resolution remote sensing for data augmentation and image classification.https://github.com/weihancug/GAN-based-HRRS-Sample-Generation-for-Image-Classif...原创 2019-03-12 16:00:06 · 673 阅读 · 2 评论 -
使用Pytorch的常见错误汇总 gan-based-HRRS-Sample-Generation-for-image-classification-master代码中的问题
ucm数据集中图像大小不全是256*256的 ,有253*256的导致处理时候遇到问题。如何解决呢?现在 d盘 下 可运行tensorflow下train文件夹下的图像全部是256*256.那些年我们一起踩过的坑!文章目录那些年我们一起踩过的坑!Error标签范围问题输入图像大小不一的问题内存连续问题保存和加载整个模型的问题argument or attribute err...原创 2019-03-13 21:00:54 · 1053 阅读 · 2 评论 -
安装pytorch官网
老版本:https://pytorch.org/get-started/previous-versions/最新版本:https://pytorch.org/ conda install pytorch-cpu=0.4.1 torchvision-cpu -c pytorch 无gpu版本安装,指定版本号torchvision INSTALLING PREVIOU...原创 2019-01-07 22:25:19 · 23959 阅读 · 1 评论 -
安装pytorch一直提示下面类似的错误,忙活了一晚上,后来终于解决了 出错修改 ninja
ERROR conda.core.link:_execute(502): An error occurred while installing package '<unknown>::ninja-1.7.2-0'.PermissionError(13, 'Permission denied')这样执行来解决:sudo env "PATH=$PATH" conda instal...原创 2018-11-15 00:42:39 · 10395 阅读 · 0 评论 -
Anaconda+tensorflow+pyTorch安装
Ubuntu 16.04借助Conda安装Pytorch的GPU版本详细非常详细1. 查看显卡版本。lspci | grep -i nvidia 查看你的电脑上的显卡,是否是nvidia及版本2.安装显卡驱动。这个也可以不用,在第三步的时候选择自动安装。在 http://www.nvidia.com/Download/index.aspx 官网上找到你对应的显卡的驱动版本号,然后用apt-...转载 2018-11-14 17:23:32 · 6894 阅读 · 0 评论 -
torch安装过程
http://torch.ch/docs/getting-started.html#_Getting started with TorchEdit on GitHub Installing TorchWe provide a simple installation process for Torch on Mac OS X and Ubuntu 12+:Torch can be...原创 2018-11-15 15:29:43 · 4286 阅读 · 0 评论