摘要:
kears fit_generator 之后,如何获取 loss 损失的值。比方说,train_loss 和 val_loss 的值 model = Model([model_body.input, *y_true], model_loss) model.fit_generator(data_gen 阅读全文
posted @ 2019-09-18 17:56
万道一
阅读(2286)
评论(0)
推荐(0)
摘要:
查看 tensorflow 版本 conda list 例如发现 tensorflow 1.10.0 tensorflow-gpu 1.10.0 当两个版本相同时,默认会使用 cpu 版本 如果同时存在 cpu 和 gpu 版本的 tensorflow,系统默认使用版本高的 tensorflow 如 阅读全文
posted @ 2019-09-18 17:52
万道一
阅读(7434)
评论(0)
推荐(0)
摘要:
cnts = cv2.findContours(edged_image.copy(), cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)cnts = cnts[0] if imutils.is_cv2() else cnts[1]cnts = sorted(cnts, 阅读全文
posted @ 2019-09-18 17:48
万道一
阅读(4924)
评论(0)
推荐(1)

浙公网安备 33010602011771号