会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不学无墅_NKer
三思方举步,百折头不回。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
21
22
23
24
25
26
27
28
29
···
31
下一页
2020年7月23日
Colab运行GitHub代码
摘要: 前提:代理选“德国”,稳定一点 ~ 1. 将Colab与Good Drive关联起来 from google.colab import drive drive.mount('/content/drive') 2.定位到Drive的根目录,并查看根目录下的文件 import os os.chdir("
阅读全文
posted @ 2020-07-23 20:05 不学无墅_NKer
阅读(5723)
评论(0)
推荐(1)
2020年7月22日
Pytorch错误解决
摘要: Pytorch使用CPU运行“Torch not compiled with CUDA enabled” https://blog.csdn.net/demo_jie/article/details/107358836 AttributeError: 'Tensor' object has no a
阅读全文
posted @ 2020-07-22 20:19 不学无墅_NKer
阅读(648)
评论(0)
推荐(0)
2020年7月15日
回归问题常用的损失函数总结
摘要: 1. 均方误差MSE 归一化的均方误差(NMSE) 2. 平均绝对误差MAE # true: 真目标变量的数组 # pred: 预测值的数组 def mse(true, pred): return np.sum((true - pred)**2) def mae(true, pred): retur
阅读全文
posted @ 2020-07-15 19:26 不学无墅_NKer
阅读(1364)
评论(0)
推荐(0)
2020年7月14日
Matlab绘图局部放大
摘要: Example: 1 clc;clear;close all; 2 x=0:10; 3 y1 = x.^2 + 2 ; 4 y2 = x.^2 + x + 2; 5 plot(x,y1,'m-p',x,y2,'b-s','linewidth',2);% 原始大图 6 legend('y1','y2'
阅读全文
posted @ 2020-07-14 20:12 不学无墅_NKer
阅读(2830)
评论(0)
推荐(0)
2020年7月6日
PyTorch实例:房价预测
摘要: 1.准备数据 import torch from torch.autograd import Variable # 构造0-100之间的均匀数字作为时间变量x x = Variable(torch.linspace(0,100).type(torch.FloatTensor)) # 时间点上的历史房
阅读全文
posted @ 2020-07-06 15:49 不学无墅_NKer
阅读(1749)
评论(0)
推荐(0)
Windows下cpu版PyTorch安装
摘要: 1. 打开Anaconda Prompt 2. 输入命令添加清华源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ 3.安装0.4.1的pytorch conda ins
阅读全文
posted @ 2020-07-06 13:50 不学无墅_NKer
阅读(1860)
评论(0)
推荐(0)
2020年6月27日
Verilog流水线乘法器
摘要: 主要内容: 1. 4位流水线乘法器 2. 8位流水线乘法器 3. 16位流水线乘法器 1. 4位流水线乘法器 1 module multi_4bits_pipelining(mul_a, mul_b, clk, rst_n, mul_out); 2 3 input [3:0] mul_a, mul_
阅读全文
posted @ 2020-06-27 16:59 不学无墅_NKer
阅读(2865)
评论(0)
推荐(0)
2020年6月14日
输出距离平均值距离最近的三个数
摘要: 题目描述: 编写程序计算10个正整数的平均数,找出这10个数中雨平均值的距离最近的三个数(差值的绝对值)。以距离的大小对这三个数进行排序并输出(距离小的先输出) 输入:[33,44,61,2,36,42,56,81,11,17] 输出:[36,42,33] 思路: 1. 算平均值。 2. 用hash
阅读全文
posted @ 2020-06-14 20:23 不学无墅_NKer
阅读(568)
评论(0)
推荐(0)
2020年6月7日
Verilog实现加减乘除计算器
摘要: 主要内容: 1. 按键按下后,进行加减乘除操作 2. Verilog往TXT文本文件中写入数据 3. 完成计算模块 4. 最终实现加减乘除计算器 1. 实现按键按下后,选择option,进行加减乘除操作,除法计算结果为商&余数 module jsq( clk, rst_n, key, option,
阅读全文
posted @ 2020-06-07 15:44 不学无墅_NKer
阅读(3787)
评论(0)
推荐(0)
基于神经网络展开的迭代阈值算法
摘要: 相关博客 以压缩感知问题为例介绍利用神经网络的Learning to learn方法 深度学习:深度压缩感知-从ISTA到LISTA及其pytorch实现方法
阅读全文
posted @ 2020-06-07 08:36 不学无墅_NKer
阅读(549)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
31
下一页
公告