From 7c234f7ae3f3104a0b79d09cc6803127465a894a Mon Sep 17 00:00:00 2001 From: sunyanfang01 Date: Tue, 16 Jun 2020 15:48:00 +0800 Subject: [PATCH] add transforms vdl --- tutorials/train/detection/yolov3_darknet53.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tutorials/train/detection/yolov3_darknet53.py b/tutorials/train/detection/yolov3_darknet53.py index 5511b82..2f09f45 100644 --- a/tutorials/train/detection/yolov3_darknet53.py +++ b/tutorials/train/detection/yolov3_darknet53.py @@ -50,18 +50,6 @@ for step, data in enumerate(train_dataset.iterator()): break train_transforms.release_vdl() -# 可使用VisualDL查看数据预处理的中间结果 -# VisualDL启动方式: visualdl --logdir vdl_output --port 8001 -# 浏览器打开 https://0.0.0.0:8001即可 -# 其中0.0.0.0为本机访问,如为远程服务, 改成相应机器IP -train_transforms.vdl_save_dir = 'vdl_output' -for step, data in enumerate(train_dataset.iterator()): - data.append(step) - train_transforms(*data) - if step == 5: - break -train_transforms.vdl_save_dir = None - # 初始化模型,并进行训练 # 可使用VisualDL查看训练指标 # VisualDL启动方式: visualdl --logdir output/yolov3_darknet/vdl_log --port 8001 -- GitLab