- 博客(8)
- 收藏
- 关注

原创 如何使用windows命令行编译运行c/c++程序
如何使用windows命令行编译运行c/c++程序一、必备的VC++6.0环境第二步、解决找不到mspdb60.dll三、设置PATH环境变量四、环境变量中设置INCLUDE及LIB一、必备的VC++6.0环境安装好 visual++ 6.0,目录随意,笔者安装目录为D:\Program Files (x86)\Microsoft Visual Studio就是下面这个熟悉的家伙…打开D...
2019-10-30 16:54:56
7409
1
原创 p15_rnn_onehot_1pre1.py 报错AttributeError: ‘NoneType‘ object has no attribute ‘dtype‘
报错详情:p15_rnn_onehot_1pre1.py 报错AttributeError: ‘NoneType’ object has no attribute ‘dtype’问题描述:在观看北大曹建老师的TensorFlow2笔记视频,涉及class6中代码报错,查阅好心人解决,现记录如下,源代码:import numpy as npimport tensorflow as tffrom tensorflow.keras.layers import Dense, SimpleRNNim
2021-04-17 10:54:14
1291
1
原创 《Deep Learning from Scratch》鱼书学习笔记 3-6,7 手写数字的识别
3.6 手写数字的识别3.6.1 MNIST 数据集import sys, ossys.path.append(os.pardir) # 为了导入父目录中的文件而进行的设定from dataset.mnist import load_mnist# 第一次调用会花费几分钟……(x_train, t_train), (x_test, t_test) = load_mnist(flatten=True, normalize=False)Converting train-images-idx3-u
2021-04-02 22:31:28
1131
原创 《Deep Learning from Scratch》鱼书学习笔记 3-5 输出层的设计
3.5 输出层的设计3.5.2 softmax函数import numpy as npa = np.array([0.3, 2.9, 4.0])aarray([0.3, 2.9, 4. ])exp_a = np.exp(a) # 指数函数exp_aarray([ 1.34985881, 18.17414537, 54.59815003])sum_exp_a = np.sum(exp_a) # 指数函数的和sum_exp_a74.1221542101633y = exp_
2021-04-02 22:29:20
180
原创 《Deep Learning from Scratch》鱼书学习笔记 3-4 3层神经网络的实现
3.4 3层神经网络的实现import numpy as npdef sigmoid(x): return 1 / (1 + np.exp(-x))X = np.array([1.0, 0.5])W1 = np.array([[0.1, 0.3, 0.5], [0.2, 0.4, 0.6]])B1 = np.array([0.1, 0.2, 0.3])print(W1.shape) # (2, 3)print(X.shape) # (2,)print(B1.shape) # (
2021-04-02 22:25:55
346
原创 《Deep Learning from Scratch》鱼书学习笔记 3-2 激活函数
第3章 神经网络3.2.2 阶跃函数的实现import numpy as npdef step_function(x): y = x > 0 return y.astype(np.int)x = np.array([-1.0, 1.0, 2.0])xarray([-1., 1., 2.])y = step_function(x)yarray([0, 1, 1])import matplotlib.pylab as pltx = np.arang
2021-04-02 22:20:30
279
原创 别找了,你git配置遇到的问题我都遇到了!!
内容简介:这里记录配置GitHub时所遇到的问题及博主所用到的解决方案。前言:你需要先看配置的基础教程链接:https://blog.youkuaiyun.com/qq_43164497/article/details/108661860一、SSH相关二、git git push --set-upstream origin master三、config文件未初始化用户名及相关信息一、SSH相关博主电脑为windows系统,配置GitHub过程需要windows系统安装OpenSSH,使其支持SSH,
2020-09-19 21:24:17
889
转载 Git和Github详细入门教程(别再跟我说你不会Git和Github)
前言:基础差建议先观看B站视频(关键字:GitHub),该教程是根据视频教程而制。 文章目录 01.Git概述02.Git的本地仓库操作Git的版本回退操作 03.远程仓库05.Git的分支操作06.冲突的产生与解决07.Git实用功能08.忽略文件09.Gi...
2020-09-19 20:20:05
1057
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人