提交 4d75c241 编写于 作者: D dengkaipeng

fix format

上级 d6657902
architecture: YOLOv3 architecture: YOLOv3
use_gpu: true use_gpu: true
max_iters: 70000 max_iters: 70000
log_smooth_window: 20 log_smooth_window: 20
log_iter: 20 log_iter: 20
save_dir: output save_dir: output
snapshot_iter: 10000 snapshot_iter: 10000
metric: VOC metric: VOC
pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_vd_ssld_pretrained.tar pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/ResNet50_vd_ssld_pretrained.tar
weights: output/ppyolo/model_final weights: output/ppyolo/model_final
num_classes: 20 num_classes: 20
use_fine_grained_loss: true use_fine_grained_loss: true
use_ema: true use_ema: true
ema_decay: 0.9998 ema_decay: 0.9998
YOLOv3: YOLOv3:
backbone: ResNet backbone: ResNet
...@@ -89,29 +89,29 @@ OptimizerBuilder: ...@@ -89,29 +89,29 @@ OptimizerBuilder:
type: L2 type: L2
_READER_: 'ppyolo_reader.yml' _READER_: 'ppyolo_reader.yml'
TrainReader: TrainReader:
dataset: dataset:
!VOCDataSet !VOCDataSet
dataset_dir: dataset/voc dataset_dir: dataset/voc
anno_path: trainval.txt anno_path: trainval.txt
use_default_label: true use_default_label: true
with_background: false with_background: false
mixup_epoch: 350 mixup_epoch: 350
batch_size: 12 batch_size: 12
EvalReader: EvalReader:
inputs_def: inputs_def:
fields: ['image', 'im_size', 'im_id', 'gt_bbox', 'gt_class', 'is_difficult'] fields: ['image', 'im_size', 'im_id', 'gt_bbox', 'gt_class', 'is_difficult']
num_max_boxes: 50 num_max_boxes: 50
dataset: dataset:
!VOCDataSet !VOCDataSet
dataset_dir: dataset/voc dataset_dir: dataset/voc
anno_path: test.txt anno_path: test.txt
use_default_label: true use_default_label: true
with_background: false with_background: false
TestReader: TestReader:
dataset: dataset:
!ImageFolder !ImageFolder
use_default_label: true use_default_label: true
with_background: false with_background: false
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册