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 [2019/07/29 16:02] twagner [Configuration] |
pipeline:window:cryolo [2019/08/30 13:40] twagner [Data preparation] |
||
---|---|---|---|
Line 40: | Line 40: | ||
==== Data preparation ==== | ==== Data preparation ==== | ||
- | CrYOLO supports MRC, TIF and JPG files. It can work with 32 bit data, 8 bit data and 16 bit data. | ||
- | It will work on original MRC files, but it will probably improve when the data are denoised. Therefore you should low-pass filter them to a reasonable level. Since Version 1.2 crYOLO can automatically do that for you. You just have to add | ||
- | < | ||
- | " | ||
- | </ | ||
- | |||
- | to the model section in your config file to filter your images down to an absolute frequency of 0.1. The filtered images are saved in folder '' | ||
- | |||
- | crYOLO will automatically check if an image in full_data is available in the '' | ||
- | |||
- | <hidden **Alternative: | ||
- | < | ||
- | Since crYOLO 1.4 you can also use neural network denoising with [[: | ||
- | |||
- | To use JANNI' | ||
- | |||
- | < | ||
- | " | ||
- | </ | ||
- | |||
- | I recommend to use denoising with JANNI only together with a GPU as it is rather slow (~ 1-2 seconds per micrograph on the GPU and 10 seconds per micrograph on the CPU) | ||
- | |||
- | < | ||
- | </ | ||
- | < | ||
- | |||
If you followed the installation instructions, | If you followed the installation instructions, | ||
Line 78: | Line 52: | ||
* A very heterogenous background could make it necessary to pick more micrographs. | * A very heterogenous background could make it necessary to pick more micrographs. | ||
* If your micrograph is only sparsely decorated, you may need to pick more micrographs. | * If your micrograph is only sparsely decorated, you may need to pick more micrographs. | ||
- | We recommend that you start with 10 micrographs, | + | We recommend that you start with 10 micrographs, |
{{: | {{: | ||
Line 184: | Line 157: | ||
Navigate to the folder with '' | Navigate to the folder with '' | ||
- | **1. Warm up your network** | + | **Train your network |
< | < | ||
cryolo_train.py -c config.json -w 3 -g 0 | cryolo_train.py -c config.json -w 3 -g 0 | ||
- | </ | ||
- | |||
- | **2. Train your network** | ||
- | |||
- | < | ||
- | cryolo_train.py -c config.json -w 0 -g 0 | ||
</ | </ | ||
Line 199: | Line 166: | ||
The training stops when the " | The training stops when the " | ||
+ | |||
< | < | ||
- | cryolo_train.py -c config.json -w 0 -g 0 -e 15 | + | cryolo_train.py -c config.json -w 3 -g 0 -e 15 |
</ | </ | ||
+ | |||
to the training command. | to the training command. | ||
==== Picking ==== | ==== Picking ==== | ||
Line 424: | Line 393: | ||
In principle, there is not much difference in training crYOLO for filament picking and particle picking. For project with roughly 20 filaments per image we successfully trained on 40 images (=> 800 filaments). However, in our experience the warm-up phase and training need a little bit more time: | In principle, there is not much difference in training crYOLO for filament picking and particle picking. For project with roughly 20 filaments per image we successfully trained on 40 images (=> 800 filaments). However, in our experience the warm-up phase and training need a little bit more time: | ||
- | **1. Warm up your network** | + | **Train your network |
- | + | ||
- | < | + | |
- | cryolo_train.py -c config.json -w 10 -g 0 | + | |
- | </ | + | |
- | + | ||
- | **2. Train your network** | + | |
< | < | ||
- | cryolo_train.py -c config.json -w 0 -g 0 -e 10 | + | cryolo_train.py -c config.json -w 10 -g 0 -e 10 |
</ | </ | ||