Add descriptions on files and tensorboard

This commit is contained in:
Yin Li 2020-04-19 14:34:23 -04:00
parent 01a60cc0c7
commit facfc13132

View File

@ -35,3 +35,28 @@ Input and target (output) data can be normalized by functions defined in
Find the models in `map2map/models/`. Find the models in `map2map/models/`.
Customize the existing models, or add new models there and edit the `__init__.py`. Customize the existing models, or add new models there and edit the `__init__.py`.
### Training
#### Files generated
* `*.out`: job stdout and stderr
* `state_*.pth`: training state including the model parameters
* `checkpoint.pth`: symlink to the latest state
* `runs/`: directories of tensorboard logs
#### Tracking
Install tensorboard and launch it by
```bash
tensorboard --logdir PATH --samples_per_plugin images=IMAGES --port PORT
```
* Use `.` as `PATH` in the training directory, or use the path to some parent
directory for tensorboard to search recursively for multiple jobs.
* Show `IMAGES` images, or all of them by setting it to 0.
* Pick a free `PORT`. For remote jobs, do ssh port forwarding.