Advertisement
Guest User

train_resnet18_kitti.txt

a guest
May 5th, 2021
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.35 KB | None | 0 0
  1. random_seed: 42
  2. dataset_config {
  3.   data_sources {
  4.     tfrecords_path: "/workspace/tlt-experiments/data/tfrecords/kitti_trainval/*"
  5.     image_directory_path: "/workspace/tlt-experiments/data/training"
  6.   }
  7.   image_extension: "jpg"
  8.   target_class_mapping {
  9.     key: "car"
  10.     value: "car"
  11.   }
  12.   validation_fold: 0
  13. }
  14. augmentation_config {
  15.   preprocessing {
  16.     output_image_width: 1280
  17.     output_image_height: 720
  18.     min_bbox_width: 1.0
  19.     min_bbox_height: 1.0
  20.     output_image_channel: 3
  21.   }
  22.   spatial_augmentation {
  23.     hflip_probability: 0.5
  24.     vflip_probability: 0.3
  25.     zoom_min: 1.0
  26.     zoom_max: 1.0
  27.     translate_max_x: 8.0
  28.     translate_max_y: 8.0
  29.   }
  30.   color_augmentation {
  31.     hue_rotation_max: 25.0
  32.     saturation_shift_max: 0.20000000298
  33.     contrast_scale_max: 0.10000000149
  34.     contrast_center: 0.5
  35.   }
  36. }
  37. postprocessing_config {
  38.   target_class_config {
  39.     key: "car"
  40.     value {
  41.       clustering_config {
  42.         clustering_algorithm: DBSCAN
  43.         dbscan_confidence_threshold: 0.9
  44.         coverage_threshold: 0.00499999988824
  45.         dbscan_eps: 0.20000000298
  46.         dbscan_min_samples: 0.0500000007451
  47.         minimum_bounding_box_height: 10
  48.       }
  49.     }
  50.   }
  51. }
  52. model_config {
  53.   pretrained_model_file: "/workspace/tlt-experiments/parking_space/pretrained_trafficcamnet/tlt_trafficcamnet_vunpruned_v1.0/resnet18_trafficcamnet.tlt"
  54.   freeze_blocks: 0
  55.   freeze_blocks: 1
  56.   freeze_blocks: 2
  57.   freeze_blocks: 3
  58.   num_layers: 18
  59.   use_batch_norm: true
  60.   objective_set {
  61.     bbox {
  62.       scale: 35.0
  63.       offset: 0.5
  64.     }
  65.     cov {
  66.     }
  67.   }
  68.   training_precision {
  69.     backend_floatx: FLOAT32
  70.   }
  71.   arch: "resnet"
  72.   all_projections: true
  73. }
  74.  
  75. evaluation_config {
  76.   validation_period_during_training: 5
  77.   first_validation_epoch: 1
  78.   minimum_detection_ground_truth_overlap {
  79.     key: "car"
  80.     value: 0.699999988079
  81.   }
  82.   evaluation_box_config {
  83.     key: "car"
  84.     value {
  85.       minimum_height: 10
  86.       maximum_height: 9999
  87.       minimum_width: 10
  88.       maximum_width: 9999
  89.     }
  90.   }
  91.   average_precision_mode: INTEGRATE
  92. }
  93. cost_function_config {
  94.   target_classes {
  95.     name: "car"
  96.     class_weight: 1.0
  97.     coverage_foreground_weight: 0.0500000007451
  98.     objectives {
  99.       name: "cov"
  100.       initial_weight: 1.0
  101.       weight_target: 1.0
  102.     }
  103.     objectives {
  104.       name: "bbox"
  105.       initial_weight: 10.0
  106.       weight_target: 10.0
  107.     }
  108.   }
  109.   enable_autoweighting: true
  110.   max_objective_weight: 0.999899983406
  111.   min_objective_weight: 9.99999974738e-05
  112. }
  113. training_config {
  114.   batch_size_per_gpu: 4
  115.   num_epochs: 20
  116.   learning_rate {
  117.     soft_start_annealing_schedule {
  118.       min_learning_rate: 5e-06
  119.       max_learning_rate: 5e-04
  120.       soft_start: 0.10000000149
  121.       annealing: 0.699999988079
  122.     }
  123.   }
  124.   regularizer {
  125.     type: L1
  126.     weight: 3.00000002618e-09
  127.   }
  128.   optimizer {
  129.     adam {
  130.       epsilon: 9.99999993923e-09
  131.       beta1: 0.899999976158
  132.       beta2: 0.999000012875
  133.     }
  134.   }
  135.   cost_scaling {
  136.     initial_exponent: 20.0
  137.     increment: 0.005
  138.     decrement: 1.0
  139.   }
  140.   checkpoint_interval: 1
  141. }
  142. bbox_rasterizer_config {
  143.   target_class_config {
  144.     key: "car"
  145.     value {
  146.       cov_center_x: 0.5
  147.       cov_center_y: 0.5
  148.       cov_radius_x: 0.40000000596
  149.       cov_radius_y: 0.40000000596
  150.       bbox_min_radius: 1.0
  151.     }
  152.   }
  153.   deadzone_radius: 0.400000154972
  154. }
  155.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement