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 | ||
janni_tutorial [2019/09/16 11:24] twagner [Just Another Noise 2 Noise Implementation (JANNI)] |
janni_tutorial [2019/09/16 14:16] shaikh [Training a model for your data] |
||
---|---|---|---|
Line 4: | Line 4: | ||
[[https:// | [[https:// | ||
- | Besides a simple GUI and a commandline interface JANNI also provides an simple python interface to be integrated into other programs. | + | Besides a simple GUI and a commandline interface, JANNI also provides an simple python interface to be integrated into other programs. |
==== Download and Installation ==== | ==== Download and Installation ==== | ||
Line 15: | Line 15: | ||
</ | </ | ||
- | You can use JANNI either by command line or with the GUI. Typically, most users prefer to use the GUI (but we will also provide the command line commands in this tutorial). You can start the GUI with | + | You can use JANNI either by command line or with the GUI. Typically, most users prefer to use the GUI (but we will also provide the command line commands in this tutorial). You can start the GUI with: |
< | < | ||
janni_denoise.py | janni_denoise.py | ||
</ | </ | ||
- | The GUI is basically | + | The GUI is essentially |
{{ :: | {{ :: | ||
Line 29: | Line 29: | ||
* **denoise**: | * **denoise**: | ||
- | Each action has several parameters which are organized in tabs. Once you chosen your settings you can press “Start”, the command will be applied and JANNI shows you the output: | + | Each action has several parameters which are organized in tabs. Once you chosen your settings you can press "Start," and the command will be applied and JANNI shows you the output: |
{{ : | {{ : | ||
- | It will tell you when something | + | It will tell you if something |
==== Training a model for your data ==== | ==== Training a model for your data ==== | ||
- | 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 couple of movie files into a separate directory. We typically use at least 30 movies (unaligned) to train the model. | + | 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. |
=== Configuration === | === Configuration === | ||
Line 43: | Line 43: | ||
{{ :: | {{ :: | ||
- | Press "start" and the config will be written in the specified // | + | Press "Start," and the config |
<hidden **Generate the configuration file with the command line**> | <hidden **Generate the configuration file with the command line**> | ||
If you would like to use the command line, you can get a description of all parameters with: | If you would like to use the command line, you can get a description of all parameters with: | ||
Line 57: | Line 57: | ||
=== Training === | === Training === | ||
- | In principle you just have to specify the config file. However, you might want to specify the GPU ID as well. You find the GPU option in the //Optional arguments// tab. | + | In principle, you simply |
{{: | {{: | ||
- | Press " | + | Press " |
<hidden **Run the training with the command line**> | <hidden **Run the training with the command line**> | ||
Line 69: | Line 69: | ||
</ | </ | ||
</ | </ | ||
- | |||
==== 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 predict -h | janni_denoise.py predict -h | ||
</ | </ | ||
- | The following command will run the denoise the images in ''/ | + | The following command will run the denoise the images in ''/ |
< | < | ||
janni_denoise.py predict / | janni_denoise.py predict / |