12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- model_config {
- arch: "resnet",
- n_layers: 18
- use_batch_norm: true
- all_projections: true
- input_image_size: "3,224,224"
- }
- train_config {
- train_dataset_path: "/workspace/tlt-experiments/data/split/train"
- val_dataset_path: "/workspace/tlt-experiments/data/split/val"
- pretrained_model_path: "/workspace/tlt-experiments/classification/output/resnet_pruned/resnet18_nopool_bn_pruned.tlt"
- optimizer {
- sgd {
- lr: 0.01
- decay: 0.0
- momentum: 0.9
- nesterov: False
- }
- }
- batch_size_per_gpu: 64
- n_epochs: 80
- n_workers: 16
- preprocess_mode: "caffe"
- enable_random_crop: True
- enable_center_crop: True
- label_smoothing: 0.0
- mixup_alpha: 0.1
- # regularizer
- reg_config {
- type: "L2"
- scope: "Conv2D,Dense"
- weight_decay: 0.00005
- }
- # learning_rate
- lr_config {
- step {
- learning_rate: 0.006
- step_size: 10
- gamma: 0.1
- }
- }
- }
- eval_config {
- eval_dataset_path: "/workspace/tlt-experiments/data/split/test"
- model_path: "/workspace/tlt-experiments/classification/output_retrain/weights/resnet_080.tlt"
- top_k: 3
- batch_size: 256
- n_workers: 8
- enable_center_crop: True
- }
|