This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cryolo_reference_example [2019/04/03 15:50] twagner [crYOLO reference example] |
cryolo_reference_example [2020/05/08 11:43] (current) twagner [Training] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== crYOLO reference example ====== | ====== crYOLO reference example ====== | ||
- | Here we provide quick run through example for training and picking with crYOLO. The main purpose is to check if your setup is running as expected. | + | Here we provide quick run through example for training and picking with crYOLO. The main purpose is to check if your setup is running as expected. I will not provide detailed explanations in this text. Please note that there is [[http:// |
===== Reference setup ===== | ===== Reference setup ===== | ||
- | We run this example on machine with the following specification: | + | We run this example on a machine with the following specification: |
* Titan V | * Titan V | ||
* Intel Core i9 7920X @ 2.90 Ghz | * Intel Core i9 7920X @ 2.90 Ghz | ||
+ | * SSD Harddrive | ||
+ | * crYOLO 1.5.0 | ||
Line 22: | Line 24: | ||
The '' | The '' | ||
- | * train_image: | + | * train_image: |
- | * train_annot: | + | * train_annot: |
* config_phosnet.json: | * config_phosnet.json: | ||
* reference_model.h5: | * reference_model.h5: | ||
Line 35: | Line 37: | ||
===== Training ===== | ===== Training ===== | ||
- | First, you have to warm up the network With "-g 0" I'm selection GPU 0. It takes 2 minutes 30 seconds on our reference setup: | + | |
- | < | + | The training is done with this command: |
- | cryolo_train.py -c config_phosnet.json -w 5 -g 0 | + | |
- | </ | + | |
- | The actual | + | |
< | < | ||
- | cryolo_train.py -c config_phosnet.json -w 0 -e 10 -g 0 | + | cryolo_train.py -c config_phosnet.json -w 5 -e 5 -g 0 |
</ | </ | ||
- | It needed 6 minutes | + | crYOLO needs 5 minutes |
===== Prediction ===== | ===== Prediction ===== | ||
Line 50: | Line 49: | ||
</ | </ | ||
- | It picked 1617 particles on 12 micrographs in 4 seconds. Including filtering the image and loading the model the command needed | + | It picked 1617 particles on 12 micrographs in 3 seconds. Including filtering the image and loading the model the command needed |
===== Visualize results ===== | ===== Visualize results ===== |