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/05/28 15:32] twagner |
auto2d_tutorial [2019/12/10 08:41] twagner [How to use SPHIRE's Cinderella] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to use SPHIRE' | + | ====== How to use SPHIRE' |
==== 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 7: | Line 7: | ||
I suppose you downloaded the latest classification model. | I suppose you downloaded the latest classification model. | ||
- | This is the corresponding configuration file: | + | To run the classification I suppose you want to separate |
- | + | ||
- | <code json config.json> | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | }, | + | |
- | + | ||
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | Copy this into a new file called '' | + | |
- | + | ||
- | To run the classification I suppose you want to seperate | + | |
This is the command to run: | This is the command to run: | ||
< | < | ||
- | sp_cinderella_predict.py -i path/ | + | sp_cinderella_predict.py -i path/ |
</ | </ | ||
Line 41: | Line 18: | ||
==== Training ==== | ==== Training ==== | ||
- | If you would like to train Auto2D | + | If you would like to train Cinderella |
- | First you have to separate your good and bad classes into separate files. Create two folders, on containing good classes (e.g '' | + | First you have to separate your good and bad classes into separate files. Create two folders, on containing good classes (e.g '' |
Then specify the paths into a config file like this: | Then specify the paths into a config file like this: | ||
Line 60: | Line 37: | ||
" | " | ||
" | " | ||
- | " | + | " |
} | } | ||
} | } | ||
Line 69: | Line 46: | ||
* **good_classes**: | * **good_classes**: | ||
* **bad_classes**: | * **bad_classes**: | ||
- | * **pretrained_weights**: | + | * **pretrained_weights**: |
* **saved_weights_name**: | * **saved_weights_name**: | ||
* **learning_rate**: | * **learning_rate**: |