
网络程序
文章平均质量分 57
临江轩
人工智障,深度玄学
展开
-
tensorflow某些层交替训练
问题描述:遇到多loss约束,需要某些层单独训练。代码: 方法一:first_train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES,scope='conv0'and'dense_1'and 'trans_1'and'dense_2'and'trans_2'and'dense_3'and'trans_3'and'dens...原创 2018-06-11 15:25:05 · 2851 阅读 · 3 评论 -
斯坦福cs231n课程记录——assignment1 Two-layer neural network
1原创 2019-01-23 17:03:30 · 1378 阅读 · 0 评论 -
斯坦福cs231n课程记录——assignment1 总结
目录各算法链接 结果对比 参考文献一、各算法链接第一阶段任务主要分为以下几个部分:KNN SVM Softmax Two-layer neural network Features二、结果对比1.KNNGot 141 / 500 correct => accuracy: 0.2820002.SVMbest validation accuracy...原创 2019-01-24 14:37:38 · 427 阅读 · 0 评论 -
构建深度神经网络的小建议
点击打开链接一位ML工程师构建深度神经网络的实用技巧 从动力学角度看优化算法SGD:一些小启示点击打开链接阅读笔记:1. 条件允许情况下,在使用SGD时,开始使用小batch size和大学习率,然后让batch size 慢慢增加,学习率慢慢减少。2.Momentum加速为‘越过’不那么好的极小值点提供了来自动力学的可能性。...转载 2018-07-08 15:52:01 · 361 阅读 · 0 评论 -
问题记录:Tensor had NaN values
点击打开链接点击打开链接转载 2018-06-08 20:12:06 · 4285 阅读 · 0 评论 -
问题记录:恢复某些层参数,遇到NotFoundError: Key conv2d_168/bias not found in checkpoint
问题描述:对网络结构做了些修改,导入已训练的参数,出现NotFoundError相关程序:#State where your log file is at.log_dir = './log2'#State where your checkpoint file is checkpoint_file = './log/model.ckpt-300068'#Define the scopes...原创 2018-06-08 19:43:16 · 6464 阅读 · 1 评论 -
问题记录:InvalidArgumentError: xxx and xxx not the same shape: [] != [1] (tag ' ')
问题:解决:用tf.squeeze函数 ,去除多余的维度。原创 2018-06-06 17:12:47 · 3067 阅读 · 0 评论 -
跑深度学习网络时碰到的一些问题记录
分两部分记录:一.程序语言二.日志信息####################################################################################################一.程序语言1.join 和 os.path.join函数 join:用于合并字符串数组 os.path.join:用于合并多个路径import os...原创 2018-05-29 11:17:04 · 870 阅读 · 0 评论 -
问题记录:Tensor had NaN values
点击打开链接点击打开链接原创 2018-06-11 15:47:21 · 416 阅读 · 0 评论 -
AttributeError: 'module' object has no attribute 'cbook'
Close your jupyter notebook and terminate ipython. Restart Terminal Enter this command in Terminal:export LANG=en_US.UTF-8;export LC_ALL=en_US.UTF-8转载 2019-02-25 14:57:05 · 1239 阅读 · 0 评论