上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页
摘要: 前提:代理选“德国”,稳定一点 ~ 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 阅读(5435) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1683) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1809) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 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 阅读(2466) 评论(0) 推荐(0) 编辑
摘要: 题目描述: 编写程序计算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 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 1. 按键按下后,进行加减乘除操作 2. Verilog往TXT文本文件中写入数据 3. 完成计算模块 4. 最终实现加减乘除计算器 1. 实现按键按下后,选择option,进行加减乘除操作,除法计算结果为商&余数 module jsq( clk, rst_n, key, option, 阅读全文
posted @ 2020-06-07 15:44 不学无墅_NKer 阅读(3479) 评论(0) 推荐(0) 编辑
摘要: 相关博客 以压缩感知问题为例介绍利用神经网络的Learning to learn方法 深度学习:深度压缩感知-从ISTA到LISTA及其pytorch实现方法 阅读全文
posted @ 2020-06-07 08:36 不学无墅_NKer 阅读(515) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 31 下一页