adams-story
commited on
Commit
•
5457ef6
1
Parent(s):
7d782ad
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,84 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
|
5 |
+
|
6 |
+
### epoch=4-step=12512.ckpt
|
7 |
+
* trained for 4 epochs on imagenet
|
8 |
+
* final validation accuracy: .64
|
9 |
+
* final training accuracy: 0.61
|
10 |
+
* git hash: `83330c9ba5ee7b593d8fd6d47dd43c3e4a6051c1`
|
11 |
+
* config:
|
12 |
+
```
|
13 |
+
# lightning.pytorch==2.0.0
|
14 |
+
seed_everything: true
|
15 |
+
trainer:
|
16 |
+
accelerator: auto
|
17 |
+
strategy: auto
|
18 |
+
devices: auto
|
19 |
+
num_nodes: 1
|
20 |
+
precision: 16-mixed
|
21 |
+
logger: null
|
22 |
+
callbacks: null
|
23 |
+
fast_dev_run: false
|
24 |
+
max_epochs: 5
|
25 |
+
min_epochs: null
|
26 |
+
max_steps: -1
|
27 |
+
min_steps: null
|
28 |
+
max_time: null
|
29 |
+
limit_train_batches: null
|
30 |
+
limit_val_batches: null
|
31 |
+
limit_test_batches: null
|
32 |
+
limit_predict_batches: null
|
33 |
+
overfit_batches: 0.0
|
34 |
+
val_check_interval: 0.1
|
35 |
+
check_val_every_n_epoch: 1
|
36 |
+
num_sanity_val_steps: null
|
37 |
+
log_every_n_steps: 5
|
38 |
+
enable_checkpointing: true
|
39 |
+
enable_progress_bar: null
|
40 |
+
enable_model_summary: null
|
41 |
+
accumulate_grad_batches: 1
|
42 |
+
gradient_clip_val: 1
|
43 |
+
gradient_clip_algorithm: null
|
44 |
+
deterministic: null
|
45 |
+
benchmark: null
|
46 |
+
inference_mode: true
|
47 |
+
use_distributed_sampler: true
|
48 |
+
profiler: null
|
49 |
+
detect_anomaly: false
|
50 |
+
barebones: false
|
51 |
+
plugins: null
|
52 |
+
sync_batchnorm: false
|
53 |
+
reload_dataloaders_every_n_epochs: 0
|
54 |
+
default_root_dir: ckpt/test_insert_at_4
|
55 |
+
model:
|
56 |
+
resnet_type: 34
|
57 |
+
is_rq: true
|
58 |
+
quantizer_args:
|
59 |
+
num_quantizers: 4
|
60 |
+
shared_codebook: true
|
61 |
+
quantize_dropout: false
|
62 |
+
accept_image_fmap: true
|
63 |
+
codebook_dim: 128
|
64 |
+
codebook_size: 256
|
65 |
+
decay: 0.8
|
66 |
+
eps: 1.0e-05
|
67 |
+
commitment_weight: 5.0
|
68 |
+
threshold_ema_dead_code: 1
|
69 |
+
sample_codebook_temp: 0.0
|
70 |
+
resnet_insertion_index: 4
|
71 |
+
lr: 0.0002
|
72 |
+
unfreeze_fc: true
|
73 |
+
unfreeze_resnet_block_indeces:
|
74 |
+
- 3
|
75 |
+
data:
|
76 |
+
data_dir: /home/figes/Downloads/ILSVRC2012_CLS-LOC/
|
77 |
+
image_size: 224
|
78 |
+
num_workers: 8
|
79 |
+
batch_size: 512
|
80 |
+
shuffle: true
|
81 |
+
pin_memory: true
|
82 |
+
drop_last: false
|
83 |
+
ckpt_path: null
|
84 |
+
```
|