random_seed: 42 yolov4_config { big_anchor_shape: "[(74.10, 40.00), (115.05, 59.20), (241.80, 120.53)]" mid_anchor_shape: "[(27.30, 12.27), (37.05, 19.20), (56.55, 25.07)]" small_anchor_shape: "[(8.67, 4.61), (16.57, 7.47), (11.70, 14.93)]" box_matching_iou: 0.25 matching_neutral_box_iou: 0.5 arch: "darknet" nlayers: 19 arch_conv_blocks: 2 loss_loc_weight: 0.8 loss_neg_obj_weights: 100.0 loss_class_weights: 0.5 label_smoothing: 0.0 big_grid_xy_extend: 0.05 mid_grid_xy_extend: 0.1 small_grid_xy_extend: 0.2 freeze_bn: false #freeze_blocks: 0 force_relu: false } training_config { batch_size_per_gpu: 8 num_epochs: 200 enable_qat: true checkpoint_interval: 10 learning_rate { soft_start_cosine_annealing_schedule { min_learning_rate: 1e-7 max_learning_rate: 1e-4 soft_start: 0.3 } } regularizer { type: L1 weight: 3e-5 } optimizer { adam { epsilon: 1e-7 beta1: 0.9 beta2: 0.999 amsgrad: false } } pretrain_model_path: "/workspace/tao-experiments/yolo_v4/pretrained_resnet18/pretrained_object_detection_vdarknet19/darknet_19.hdf5" } eval_config { average_precision_mode: SAMPLE batch_size: 8 matching_iou_threshold: 0.5 } nms_config { confidence_threshold: 0.001 clustering_iou_threshold: 0.5 top_k: 200 } augmentation_config { hue: 0.1 saturation: 1.5 exposure:1.5 vertical_flip:0 horizontal_flip: 0.5 jitter: 0.3 output_width: 960 output_height: 544 output_channel: 3 randomize_input_shape_period: 0 mosaic_prob: 0.5 mosaic_min_ratio:0.2 } dataset_config { data_sources: { label_directory_path: "/workspace/tao-experiments/data/training/label_2" image_directory_path: "/workspace/tao-experiments/data/training/image_2" } include_difficult_in_training: true target_class_mapping { key: "car" value: "a_car" } target_class_mapping { key: "bicycle" value: "b_bicycle" } target_class_mapping { key: "motorbike" value: "c_motorbike" } target_class_mapping { key: "person" value: "d_person" } target_class_mapping { key: "van" value: "a_car" } target_class_mapping { key: "truck" value: "a_car" } target_class_mapping { key: "bus" value: "a_car" } target_class_mapping { key: "escooter" value: "b_bicycle" } validation_data_sources: { label_directory_path: "/workspace/tao-experiments/data/val/label" image_directory_path: "/workspace/tao-experiments/data/val/image" } }