This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
pipeline:window:cryolo:configuration [2019/09/17 10:21] twagner |
pipeline:window:cryolo:configuration [2019/09/17 14:26] twagner |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====%hide Basic===== | + | You now have to create a configuration file for your picking project. It contains all important constants and paths and helps you to reproduce your results later on. |
- | You now have to create a configuration file your picking project. It contains all important constants and paths and helps you to reproduce your results later on. | + | |
You can either use the command line to create the configuration file or the GUI. For most users, the GUI should be easier. Select the //config// action and fill in the general fields: | You can either use the command line to create the configuration file or the GUI. For most users, the GUI should be easier. Select the //config// action and fill in the general fields: | ||
{{ : | {{ : | ||
- | < | + | |
- | You could already press the Start button to generate the config file but you might want to take these options into account: | + | At this point you could already press the Start button to generate the config file but you might want to take these options into account: |
* During training, crYOLO also needs validation data. Typically, 20% of the training data are randomly chosen as validation data. If you want to use specific images as validation data, you can move the images and the corresponding box files to separate folders. Make sure that they are removed from the original training folder! You can then specify the new validation folders in //" | * During training, crYOLO also needs validation data. Typically, 20% of the training data are randomly chosen as validation data. If you want to use specific images as validation data, you can move the images and the corresponding box files to separate folders. Make sure that they are removed from the original training folder! You can then specify the new validation folders in //" | ||
* By default, your images are low pass filtered to absolute frequency of 0.1 and saved to disk. You can change the cutoff threshold and the directory for filtered images in the //" | * By default, your images are low pass filtered to absolute frequency of 0.1 and saved to disk. You can change the cutoff threshold and the directory for filtered images in the //" | ||
- | </ | + | |
<note tip> | <note tip> | ||
**Alternative: | **Alternative: | ||
Line 22: | Line 21: | ||
You can also modify all options and parameters directly in the config.json file. Please note the wiki entry about the [[: | You can also modify all options and parameters directly in the config.json file. Please note the wiki entry about the [[: | ||
</ | </ | ||
- | ==== ==== | ||
- | ====%hide CLnormal==== | ||
- | <hidden **Create the configuration file using the command line:**> | ||
- | |||
- | To create a basic configuration file that will work for most projects is very simple. I assume your box files for training are in the folder '' | ||
- | |||
- | < | ||
- | cryoloo.py config config_cryolo.json 160 --train_image_folder train_image --train_annot_folder train_annot | ||
- | </ | ||
- | |||
- | To get a full description of all available options type: | ||
- | < | ||
- | cryoloo.py config -h | ||
- | </ | ||
- | |||
- | // | ||
- | |||
- | If you want to specify seperate validation folders you can use the %%--%%valid_image_folder and %%--%%valid_annot_folder options: | ||
- | |||
- | < | ||
- | cryoloo.py config config_cryolo.json 160 --train_image_folder train_image --train_annot_folder train_annot --valid_image_folder valid_img --valid_annot_folder valid_annot | ||
- | </ | ||
- | |||
- | </ | ||
- | ==== ==== |