This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cinderella_micrographs [2019/12/10 09:07] twagner [How to use SPHIRE's Cinderella for micrograph selection] |
cinderella_micrographs [2020/08/28 07:35] (current) twagner [Training] |
||
---|---|---|---|
Line 11: | Line 11: | ||
==== Training ==== | ==== Training ==== | ||
- | If you would like to train Cinderella with your own classes, you can easily do it. | + | The first step is to train Cinderella with manually selected |
- | First you have to separate your good and bad classes into separate files. Create two folders, one containing good micrographs (e.g '' | + | <note question> |
+ | **How many micrographs do I need?** | ||
+ | |||
+ | We typically start with 30 good and 30 bad micrographs. | ||
+ | </ | ||
Then specify the paths into a config file like this: | Then specify the paths into a config file like this: | ||
Line 34: | Line 38: | ||
} | } | ||
</ | </ | ||
- | The fields have the following meaning: | + | The fields |
* **input_size**: | * **input_size**: | ||
- | * **batch_size**: | + | |
+ | |||
+ | The fields in the section **train** have the following meaning: | ||
+ | | ||
* **good_path**: | * **good_path**: | ||
* **bad_path**: | * **bad_path**: | ||
Line 55: | Line 62: | ||
==== Classify ==== | ==== Classify ==== | ||
- | Suppose you want to separate good and bad classes | + | Suppose you want to separate good and bad micrographs |
This is the command to run: | This is the command to run: |