Skip to content

Commit

Permalink
Config files adjusted advances #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pab1s committed Apr 22, 2024
1 parent 1a9e5a3 commit 6bbaccd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ training:

data:
name: "CIFAR10"
dataset_path: "./data/"
dataset_path: "./data/processed"
test_size: 0.2
val_size: 0.1
transforms:
- name: Resize
parameters:
size: [64, 64]
size: [224, 224]

- name: ToTensor

Expand Down
2 changes: 1 addition & 1 deletion config/config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ trainer: "BasicTrainer"

data:
name: "FakeData"
dataset_path: ./data
dataset_path: "./data"
transforms:
- name: ToTensor

Expand Down
14 changes: 7 additions & 7 deletions config/fine_tuning_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ trainer: "BasicTrainer"
random_seed: 43

model:
name: efficientnet_b0
num_classes: 10
name: efficientnet_b1
num_classes: 394
pretrained: true

training:
batch_size: 32
num_epochs: 2 # Just maintained for compatibility
initial_epochs: 1
fine_tuning_epochs: 0
fine_tuning_epochs: 1
learning_rate: 0.001 # Also maintained for compatibility
fine_tuning_learning_rate: 0.0001
freeze_until_layer: "classifier.1.weight"
freeze_until_layer: "classifier.1.weight" # "fc.weight"
final_fine_tuning_learning_rate: 0.00001

data:
name: "CIFAR10"
dataset_path: "./data/"
name: "CarDataset"
dataset_path: "./data/processed/BD-461"
test_size: 0.2
val_size: 0.1
transforms:
- name: Resize
parameters:
size: [64, 64]
size: [240, 240]

- name: ToTensor

Expand Down

0 comments on commit 6bbaccd

Please sign in to comment.