File size: 1,324 Bytes
9d3a064
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
license: mit
tags:
  - fashion-mnist
  - image-classification
---

# CO3133 course project checkpoints, group DeepDive

Selected runs for the three course assignments. Weights are never committed to git; this
repository is the only place they live.

```
<assignment>/runs/<run_id>/
  checkpoint.pt      weights, selected by the checkpoint rule in config.yaml
  config.yaml        the resolved configuration that produced them
  environment.json   commit hash, library versions, hardware, thread count
  history.json       one record per epoch
  summary.json       parameters, best epoch, training time, selected metric
  checksums.json     SHA-256 of every file above
```

## Reconstructing a checkpoint

Clone [the repository](https://github.com/longlephamtien/DL261-Assignment) at the commit
recorded in `environment.json`, then run the model configuration named in `config.yaml` with
the seed it records:

```sh
cd assignments
python -m venv .venv && source .venv/bin/activate
pip install -e .

cd assignment-1
python -m src.data --config configs/base.yaml
python -m src.train --config configs/<model>.yaml --set seed=<seed>
```

The dataset split is fixed and committed, so the run reproduces the reported accuracy and
macro-F1 on any machine. Wall-clock times depend on the hardware recorded in
`environment.json`.