上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: 两种方式 1.直接画 # model.fit返回acc和loss的日志 hist=model.fit(train_data, train_label, batch_size=64, epochs=2, validation_split=0.2, shuffle=True) # verbose = 0 阅读全文
posted @ 2020-05-05 23:06 月夜_1 阅读(4350) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 https://blog.csdn.net/zhangpeterx/article/details/89175991 二、解决方法 因为我一开始是直接在Pycharm里安装的tensorflow-gpu库,个人感觉应该是缺少了相关的库安装导致的。故我使用conda再次安装一下tenso 阅读全文
posted @ 2020-05-05 23:05 月夜_1 阅读(863) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zhangpeterx/article/details/89175991 二、解决方法 因为我一开始是直接在Pycharm里安装的tensorflow-gpu库,个人感觉应该是缺少了相关的库安装导致的。故我使用conda再次安装一下tensorflow-g 阅读全文
posted @ 2020-04-30 23:43 月夜_1 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 这里有几个重要参数需要注意: axis的值取决于按照input的哪一个维度进行BN,例如输入为channel_last format,即[batch_size, height, width, channel],则axis应该设定为4,如果为channel_first format,则axis应该设定 阅读全文
posted @ 2020-04-28 08:38 月夜_1 阅读(255) 评论(0) 推荐(0) 编辑
摘要: keras.backend.int_shape(x) 返回张量或变量的尺寸,作为 int 或 None 项的元组。 参数 x: 张量或变量。 返回 整数元组(或 None 项)。 例子 >>> from keras import backend as K >>> inputs = K.placeho 阅读全文
posted @ 2020-04-26 18:03 月夜_1 阅读(2716) 评论(0) 推荐(0) 编辑
摘要: 关于bn和relu的相对顺序网上的见解不一致,但在resnet、mobilenetv2、detectron2、maskrcnn_benchmark见到的都是conv+bn+relu的顺序,没见过conv+relu+bn的顺序,遂感到很疑惑,于是上网上查了一下。 从数据饱和区的角度讲有比较好的讨论,即 阅读全文
posted @ 2020-04-26 17:44 月夜_1 阅读(2172) 评论(0) 推荐(0) 编辑
摘要: 运行Pytorch tutorial代码报错:BrokenPipeError: [Errno 32] Broken pipe 源代码地址: Training a classifier (CIFAR10) 该问题的产生是由于windows下多线程的问题,和DataLoader类有关,具体细节点这里Fi 阅读全文
posted @ 2020-04-25 19:24 月夜_1 阅读(3073) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/a593651986/article/details/81079790 阅读全文
posted @ 2020-04-24 22:55 月夜_1 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 原因: torchvision 版本太高 解决方案: https://blog.csdn.net/Lee_lg/article/details/103901632 在Anaconda中使用命令行conda install torchvision 安装了torchvision模块。安装成功 在spyd 阅读全文
posted @ 2020-04-24 16:35 月夜_1 阅读(1600) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yuejisuo1948/article/details/81043823 anaconda各个版本下载地址 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 阅读全文
posted @ 2020-04-23 22:35 月夜_1 阅读(824) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页