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 | ||
auto2d_tutorial [2019/12/10 08:41] twagner [How to use SPHIRE's Cinderella] |
auto2d_tutorial [2019/12/10 09:00] twagner |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to use SPHIRE' | ====== How to use SPHIRE' | ||
+ | This tutorial describes how to use Cinderella to classify 2D class averages. You can either use a pretrained model (see section // | ||
+ | |||
==== Download & Install ==== | ==== Download & Install ==== | ||
You can find the download and installation instructions here: [[auto_2d_class_selection|Download and Installation]] | You can find the download and installation instructions here: [[auto_2d_class_selection|Download and Installation]] | ||
Line 19: | Line 21: | ||
==== Training ==== | ==== Training ==== | ||
If you would like to train Cinderella with your own classes, you can easily do it. | If you would like to train Cinderella with your own classes, you can easily do it. | ||
- | First you have to separate your good and bad classes into separate files. Create two folders, | + | First you have to separate your good and bad classes into separate files. Create two folders, |
Then specify the paths into a config file like this: | Then specify the paths into a config file like this: | ||
Line 44: | Line 46: | ||
* **input_size**: | * **input_size**: | ||
* **batch_size**: | * **batch_size**: | ||
- | * **good_classes**: Path to folder with good classes. | + | * **good_path**: Path to folder with good classes. |
- | * **bad_classes**: Path to folder with bad classes. | + | * **bad_path**: Path to folder with bad classes. |
- | * **pretrained_weights**: | + | * **pretrained_weights**: |
* **saved_weights_name**: | * **saved_weights_name**: | ||
* **learning_rate**: | * **learning_rate**: | ||
* **nb_epoch**: | * **nb_epoch**: | ||
- | * **nb_early_stop**: | + | * **nb_early_stop**: |
The next step is to run the training: | The next step is to run the training: |