摘要:
错误提示 解决方式 python2 代码首行加入 python3 修改工作环境为UTF-8,并删除之前的文件,重新建立 阅读全文
摘要:
字符和ASCII编码转换 int ord(传入字符) 把字符串强转成其他类型,如整型int(),字符串str() 字符串去空格 lstrip() 阅读全文
摘要:
参考:https://blog.csdn.net/zb1165048017/article/details/73200822 阅读全文
摘要:
参考:https://www.jianshu.com/p/fe428f0b32c1 基于卷积神经网络的AlexNet模型:https://blog.csdn.net/zyqdragon/article/details/72353420 公式:(227-11)/4+1=55个像素(227个像素减去11 阅读全文
摘要:
参考:http://kangqingfei.cn/2016/08/25/Linux-%E5%AE%89%E8%A3%85Caffe/ https://blog.csdn.net/yhaolpz/article/details/71375762 阅读全文
摘要:
tf.argmax(array, axis) 返回值,最大值的索引,axis取0或者1. 在axis为1的时候,为横向比较。 在axis为0的时候是,纵向比较。 参考这里:https://blog.csdn.net/qq575379110/article/details/70538051 阅读全文
摘要:
参照这里:https://www.zhihu.com/question/23765351 阅读全文
摘要:
tf.nn.softmax_cross_entropy_with_logits(logits, labels, name=None) 除去name参数用以指定该操作的name,与方法有关的一共两个参数: 第一个参数logits:就是神经网络最后一层的输出,如果有batch的话,它的大小就是[batc 阅读全文
摘要:
一,tensorflow中有一类在tensor的某一维度上求值的函数。如: 求最大值tf.reduce_max(input_tensor, reduction_indices=None, keep_dims=False, name=None) 求平均值tf.reduce_mean(input_ten 阅读全文
摘要:
tf.nn.conv2d(input, filter, strides, padding, use_cudnn_on_gpu=None, name=None) 除去name参数用以指定该操作的name,与方法有关的一共五个参数: 第一个参数input:指需要做卷积的输入图像,它要求是一个Tensor 阅读全文