Upload config.yaml with huggingface_hub
Browse files- config.yaml +141 -0
config.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
callbacks:
|
2 |
+
hf_uploader:
|
3 |
+
_target_: mlproject.callbacks.UploadCheckpointsToHuggingFace
|
4 |
+
repo_name: aak
|
5 |
+
repo_owner: kiyoonkim
|
6 |
+
code_dir: /home/kiyoon/project/mlproject
|
7 |
+
current_experiment_dir: /disk/scratch2/experiments/aak
|
8 |
+
data_dir: /disk/scratch_fast1/datasets
|
9 |
+
dataloader:
|
10 |
+
_target_: torch.utils.data.dataloader.DataLoader
|
11 |
+
batch_sampler: null
|
12 |
+
batch_size: 8
|
13 |
+
collate_fn: null
|
14 |
+
dataset: null
|
15 |
+
drop_last: false
|
16 |
+
generator: null
|
17 |
+
multiprocessing_context: null
|
18 |
+
num_workers: 4
|
19 |
+
persistent_workers: false
|
20 |
+
pin_memory: true
|
21 |
+
pin_memory_device: ''
|
22 |
+
prefetch_factor: null
|
23 |
+
sampler: null
|
24 |
+
shuffle: true
|
25 |
+
timeout: 0.0
|
26 |
+
worker_init_fn: null
|
27 |
+
dataset:
|
28 |
+
_target_: mlproject.datasets.config.DatasetConfig
|
29 |
+
class_keys: null
|
30 |
+
num_classes: 51
|
31 |
+
download_checkpoint_with_name: null
|
32 |
+
download_latest: true
|
33 |
+
eval_batch_size: 8
|
34 |
+
exp_name: aak
|
35 |
+
freeze_backbone: false
|
36 |
+
hf_repo_dir: /disk/scratch2/experiments/aak/repo
|
37 |
+
hf_username: kiyoonkim
|
38 |
+
input_num_frames: 8
|
39 |
+
learner:
|
40 |
+
_target_: mlproject.boilerplate.Learner
|
41 |
+
callbacks: null
|
42 |
+
checkpoint_after_validation: true
|
43 |
+
checkpoint_every_n_steps: 500
|
44 |
+
evaluate_every_n_epochs: null
|
45 |
+
evaluate_every_n_steps: 500
|
46 |
+
evaluators: null
|
47 |
+
experiment_dir: /disk/scratch2/experiments/aak/repo
|
48 |
+
experiment_name: aak
|
49 |
+
limit_train_iters: null
|
50 |
+
limit_val_iters: null
|
51 |
+
model: null
|
52 |
+
print_model_parameters: false
|
53 |
+
resume: false
|
54 |
+
test_dataloaders: null
|
55 |
+
train_dataloader: null
|
56 |
+
train_epochs: null
|
57 |
+
train_iters: 10000
|
58 |
+
trainers: null
|
59 |
+
val_dataloaders: null
|
60 |
+
model:
|
61 |
+
_target_: mlproject.models.tsm_resnet50.build_tsm_model
|
62 |
+
num_classes: 51
|
63 |
+
num_frames: 8
|
64 |
+
pretrained: kinetics400
|
65 |
+
num_workers: 4
|
66 |
+
optimizer:
|
67 |
+
_target_: torch.optim.sgd.SGD
|
68 |
+
dampening: 0
|
69 |
+
differentiable: false
|
70 |
+
foreach: null
|
71 |
+
lr: 1.0e-05
|
72 |
+
maximize: false
|
73 |
+
momentum: 0.9
|
74 |
+
nesterov: false
|
75 |
+
params: ???
|
76 |
+
weight_decay: 0.0005
|
77 |
+
print_config: false
|
78 |
+
repo_path: kiyoonkim/aak
|
79 |
+
resume: false
|
80 |
+
resume_from_checkpoint: null
|
81 |
+
root_experiment_dir: /disk/scratch2/experiments
|
82 |
+
scheduler:
|
83 |
+
_target_: torch.optim.lr_scheduler.MultiStepLR
|
84 |
+
gamma: 0.3
|
85 |
+
last_epoch: -1
|
86 |
+
milestones:
|
87 |
+
- 5000
|
88 |
+
- 8000
|
89 |
+
optimizer: ???
|
90 |
+
verbose: false
|
91 |
+
seed: 42
|
92 |
+
test: false
|
93 |
+
torch_dataset:
|
94 |
+
_target_: mlproject.torch_datasets.gulp_sparsesample.build_gulp_dataset
|
95 |
+
bgr: false
|
96 |
+
crop_size: 224
|
97 |
+
data_dir: /disk/scratch_fast1/datasets
|
98 |
+
dataset_name: hmdb51-gulprgb
|
99 |
+
mean:
|
100 |
+
- 0.485
|
101 |
+
- 0.456
|
102 |
+
- 0.406
|
103 |
+
normalise: true
|
104 |
+
sets_to_include: null
|
105 |
+
std:
|
106 |
+
- 0.229
|
107 |
+
- 0.224
|
108 |
+
- 0.225
|
109 |
+
test_num_spatial_crops: 1
|
110 |
+
test_scale: 256
|
111 |
+
train_horizontal_flip: true
|
112 |
+
train_jitter_max: 336
|
113 |
+
train_jitter_min: 224
|
114 |
+
train: true
|
115 |
+
train_batch_size: 8
|
116 |
+
wandb_args:
|
117 |
+
_target_: wandb.sdk.wandb_init.init
|
118 |
+
allow_val_change: null
|
119 |
+
anonymous: null
|
120 |
+
config: null
|
121 |
+
config_exclude_keys: null
|
122 |
+
config_include_keys: null
|
123 |
+
dir: /disk/scratch2/experiments/aak
|
124 |
+
entity: null
|
125 |
+
force: null
|
126 |
+
group: null
|
127 |
+
id: null
|
128 |
+
job_type: null
|
129 |
+
magic: null
|
130 |
+
mode: null
|
131 |
+
monitor_gym: null
|
132 |
+
name: null
|
133 |
+
notes: null
|
134 |
+
project: simple-tutorial
|
135 |
+
reinit: null
|
136 |
+
resume: allow
|
137 |
+
save_code: true
|
138 |
+
settings: null
|
139 |
+
sync_tensorboard: null
|
140 |
+
tags: null
|
141 |
+
tensorboard: null
|