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/03/17 12:40] twagner [Overview] |
pipeline:window:cryolo [2019/05/17 08:25] twagner [Advanced parameters] |
||
---|---|---|---|
Line 7: | Line 7: | ||
* crYOLO makes picking **smart** -- The network learns the context of particles (e.g. not to pick particles on carbon or within ice contamination ) | * crYOLO makes picking **smart** -- The network learns the context of particles (e.g. not to pick particles on carbon or within ice contamination ) | ||
* crYOLO makes training **easy** -- You might use a general network model and skip training completely. However, if the general model doesn' | * crYOLO makes training **easy** -- You might use a general network model and skip training completely. However, if the general model doesn' | ||
- | * crYOLO makes training **lenient** -- Don't worry if you miss quite a lot particles during creation of your training set. [[: | + | * crYOLO makes training **tolerant** -- Don't worry if you miss quite a lot particles during creation of your training set. [[: |
In this tutorial we explain our recommended configurations for single particle and filament projects. You can find more information about supported networks and about the config file in the following articles: | In this tutorial we explain our recommended configurations for single particle and filament projects. You can find more information about supported networks and about the config file in the following articles: | ||
Line 70: | Line 70: | ||
Create a new directory called '' | Create a new directory called '' | ||
- | Now create a third folder with the name '' | + | Now create a third folder with the name '' |
==== Configuration ==== | ==== Configuration ==== | ||
Line 95: | Line 95: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
Line 159: | Line 159: | ||
to the training command. | to the training command. | ||
==== Picking ==== | ==== Picking ==== | ||
- | You can now use the model weights saved in '' | + | You can now use the model weights saved in '' |
< | < | ||
cryolo_predict.py -c config.json -w model.h5 -i full_data/ -g 0 -o boxfiles/ | cryolo_predict.py -c config.json -w model.h5 -i full_data/ -g 0 -o boxfiles/ | ||
</ | </ | ||
- | You will find the picked particles in the directory '' | + | You will find the picked particles in the directory '' |
If you want to pick less conservatively or more conservatively you might want to change the selection threshold from the default of 0.3 to a less conservative value like 0.2 or more conservative value like 0.4 using the //-t// parameter: | If you want to pick less conservatively or more conservatively you might want to change the selection threshold from the default of 0.3 to a less conservative value like 0.2 or more conservative value like 0.4 using the //-t// parameter: | ||
Line 188: | Line 188: | ||
===== Picking particles - Without training using a general model ===== | ===== Picking particles - Without training using a general model ===== | ||
+ | Here you can find how to apply the general models we trained for you. If you would like to train your own general model, please see our extra wiki page: [[: | ||
- | The general | + | Our general |
==== Configuration==== | ==== Configuration==== | ||
The next step is to create a configuration file. Type: | The next step is to create a configuration file. Type: | ||
Line 268: | Line 269: | ||
==== Training ==== | ==== Training ==== | ||
- | In comparision to the training from scratch, you can skip the warm up training. Moreover you have to add the // | + | In comparision to the training from scratch, you can skip the warm up training. Moreover you have to add the //%%--%%fine_tune// flag: |
< | < | ||
Line 276: | Line 277: | ||
Picking is identical as with a model trained from scratch, so we will skip it here. Just follow the description given [[pipeline: | Picking is identical as with a model trained from scratch, so we will skip it here. Just follow the description given [[pipeline: | ||
+ | ==== Training on CPU ==== | ||
+ | The fine tune mode is especially useful if you want to [[downloads: | ||
===== Picking filaments - Using a model trained for your data ===== | ===== Picking filaments - Using a model trained for your data ===== | ||
Since version 1.1.0 crYOLO supports picking filaments. | Since version 1.1.0 crYOLO supports picking filaments. | ||
Line 301: | Line 304: | ||
==== Configuration ==== | ==== Configuration ==== | ||
- | You can configure it the same way as for a " | + | You can configure it the same way as for a " |
<code json config.json> | <code json config.json> | ||
{ | { | ||
" | " | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
" | " | ||
- | " | + | " |
- | " | + | " |
}, | }, | ||
Line 318: | Line 322: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
Line 340: | Line 344: | ||
} | } | ||
</ | </ | ||
+ | |||
// | // | ||
Line 424: | Line 429: | ||
* // | * // | ||
* // | * // | ||
+ | * //-sr SEARCH_RANGE_FACTOR//: | ||
===== Help ===== | ===== Help ===== |