This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
pipeline:window:cryolo:training [2019/09/17 11:10] twagner created |
pipeline:window:cryolo:training [2019/10/11 17:12] twagner |
||
---|---|---|---|
Line 3: | Line 3: | ||
nvidia-smi | nvidia-smi | ||
</ | </ | ||
- | For this tutorial, we assume that you have either a single GPU or want to use GPU 0. In the GUI you have to fille the mandatory fields: | + | For this tutorial, we assume that you have either a single GPU or want to use GPU 0. |
- | {{ : | + | |
- | + | ||
- | The default number of warmup epochs is fine as long you don't want to refine an existing model. During the warmup training epochs it will not try to estimate the size of your particle, which helps crYOLO to converge. | + | |
<note tip> | <note tip> | ||
- | Before you start the training, you might want to change the GPU. By default, crYOLO will use GPU 0. The following command will show the status of all GPUs: | + | **Use a different or multiple |
- | < | + | |
- | nvidia-smi | + | |
- | </ | + | |
- | In //" | + | In the //" |
</ | </ | ||
+ | |||
+ | |||
+ | In the GUI you have to fill in the mandatory fields: | ||
+ | {{ : | ||
+ | |||
+ | The default number of warmup epochs((One epoch is a complete pass through the training data.)) is fine as long as you don't want to refine an existing model. During the warmup training epochs it will not try to estimate the size of your particle, which helps crYOLO to converge. | ||
<note tip> | <note tip> | ||
- | When you start the training, it will stop when the " | + | **When does crYOLO stop the training? |
+ | |||
+ | When you start the training, it will stop when the " | ||
</ | </ | ||
- | Now press the Start button to start the training. | + | The final model will be written to disk as specified in // |
- | <hidden **Train crYOLO using the command line**> | + | <html> |
+ | <div style=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <div style=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | <hidden initialState=" | ||
Navigate to the folder with '' | Navigate to the folder with '' | ||
Line 29: | Line 44: | ||
< | < | ||
- | cryolo_train.py -c config.json -w 5 -g 0 | + | cryolo_train.py -c config_cryolo.json -w 5 -g 0 |
</ | </ | ||
The final model file will be written to disk. | The final model file will be written to disk. | ||
+ | </ | ||
- | + | <html> | |
- | <code> | + | <div style=" |
- | cryolo_train.py -c config.json | + | < |
- | </code> | + | </ |
- | + | </html> | |
- | to the training command. | + | |
- | </hidden> | + |