This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
janni_tutorial [2019/09/16 13:27] shaikh [Training a model for your data] |
janni_tutorial [2020/09/24 14:46] twagner [Training a model for your data] |
||
---|---|---|---|
Line 37: | Line 37: | ||
In case you want to use the general model ([[janni# | In case you want to use the general model ([[janni# | ||
- | In case you would like to train a model for your data, you need to copy a few movie files into a separate directory. We typically use at least 30 movies (unaligned) to train the model. Fewer might also work, but more often work much better. | + | In case you would like to train a model for your data, you need to copy a few movie files into a separate directory. We typically use at least 30 movies (unaligned) to train the model. Fewer might also work, but more often work much better. |
+ | |||
+ | <note important> | ||
+ | ** Setup binning ** | ||
+ | In case your movies are superresolution and you later want to denoise binned micrographs, | ||
+ | </ | ||
+ | |||
+ | The next thing you have to do is to create a configuration file for JANNI. | ||
=== Configuration === | === Configuration === | ||
Line 61: | Line 68: | ||
{{: | {{: | ||
- | Press " | + | Press " |
<hidden **Run the training with the command line**> | <hidden **Run the training with the command line**> | ||
Line 71: | Line 78: | ||
==== Denoise ==== | ==== Denoise ==== | ||
- | With a trained model (either trained by you or the general model ([[janni# | + | With a trained model (either |
{{ :: | {{ :: | ||
- | You might also want to change the GPU ID in //Optional arguments// tab. After that press the //Start// button. JANNI will denoise your images | + | You might also want to change the GPU ID in //Optional arguments// tab. Then, press the //Start// button. JANNI will denoise your images |
<hidden **Run prediction in the command line**> | <hidden **Run prediction in the command line**> | ||
- | In case you need a description of all available parameters type: | + | In case you need a description of all available parameters, type: |
< | < | ||
- | janni_denoise.py | + | janni_denoise.py |
</ | </ | ||
- | The following command will run the denoise the images in ''/ | + | The following command will run the denoise the images in ''/ |
< | < | ||
- | janni_denoise.py | + | janni_denoise.py |
</ | </ | ||
</ | </ |