random_seed: 42 yolov4_config { big_anchor_shape: "[(738.00, 240.00),(761.00, 289.00),(715.00, 365.00)]" mid_anchor_shape: "[(697.00, 207.00),(654.00, 230.00),(668.00, 265.00)]" small_anchor_shape: "[(648.00, 144.00),(589.00, 196.00),(678.00, 178.00)]" box_matching_iou: 0.25 matching_neutral_box_iou: 0.5 arch: "cspdarknet" nlayers: 53 arch_conv_blocks: 2 loss_loc_weight: 0.8 loss_neg_obj_weights: 1.0 loss_class_weights: 1.0 label_smoothing: 0.1 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: 4 num_epochs: 100 enable_qat: false checkpoint_interval: 1 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 } } pruned_model_path: "yolo_v4/experiment_dir_pruned/yolov4_cspdarknet53_pruned.tlt" } 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 force_on_cpu: true } augmentation_config { hue: 0.1 saturation: 1.5 exposure:1.5 vertical_flip:0 horizontal_flip: 0.5 jitter: 0.3 output_width: 736 output_height: 416 output_channel: 3 randomize_input_shape_period: 10 mosaic_prob: 0.5 mosaic_min_ratio:0.2 image_mean { key: 'b' value: 103.9 } image_mean { key: 'g' value: 116.8 } image_mean { key: 'r' value: 123.7 } } dataset_config { data_sources: { tfrecords_path: "yolov4_data/train/tfrecords/train*" label_directory_path: "yolov4_data/train/label/" image_directory_path: "yolov4_data/train/image/" } include_difficult_in_training: true image_extension: "jpg" target_class_mapping { key: "shelf" value: "shelf" } validation_data_sources: { tfrecords_path: "yolov4_data/val/tfrecords/val*" label_directory_path: "yolov4_data/val/label/" image_directory_path: "yolov4_data/val/image/" } }