自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 数据封装、优化器及LOSS画图

数据封装mini-batch 参考:https://morvanzhou.github.io/tutorials/machine-learning/torch/3-05-train-on-batch/ import torch import torch.utils.data as Data torch.manual_seed(1) # reproducible BATCH_SIZE = 5 ...

2019-07-18 16:51:06 435

原创 pytorch迁移学习初步尝试CPU

参考文章: https://ptorch.com/news/138.html http://blog.csdn.net/m0_37306360/article/details/79321713 用GPU一直报错,改用CPU尝试 报错:UnboundLocalError: local variable ‘photoshop’ referenced before assignment 解决:在Jpeg...

2019-06-13 19:59:00 704

原创 spyder报错汇总

报错:SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3: truncated \UXXXXXXXX escape 代码: img = io.imread(r'C:\Users\51798\Desktop\20190529100648.jpg') 原因: Python识别地...

2019-05-30 09:40:55 3117

原创 win10+anaconda+spyder+pytorch安装

win10+anaconda+spyder+pytorch安装 anaconda+spyder+cuda 安装参考 https://www.cnblogs.com/gaofighting/p/9917456.html 最终环境: Anaconda3(64bit) CUDA-9.2 CuDNN-7.1 Python-3.7 PyTorch的安装 到官网 https://pytorch.org/ 复制...

2019-05-30 09:29:11 6677 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除