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/07/10 10:05] twagner [Training a model for your data] |
janni_tutorial [2019/07/10 13:18] twagner [Training a model for your data] |
||
---|---|---|---|
Line 10: | Line 10: | ||
==== 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, the first thing you have to do is to create a configuration file for JANNI. In the following I assume you named it // | ||
<code json config.json> | <code json config.json> | ||
{ | { | ||
Line 25: | Line 27: | ||
" | " | ||
" | " | ||
- | " | + | " |
+ | " | ||
+ | " | ||
} | } | ||
} | } | ||
Line 50: | Line 54: | ||
==== Denoise ==== | ==== Denoise ==== | ||
- | After you trained | + | With a trained model (either trained by you or the general model) |
To denoise a set if images you have to tell JANNI three **mandatory** arguments: | To denoise a set if images you have to tell JANNI three **mandatory** arguments: | ||
Line 65: | Line 69: | ||
Here is now how you do the actual denoising: | Here is now how you do the actual denoising: | ||
- | It is assumed that you run the command in a directory | + | It is assumed that you run the command in a directory with your model file '' |
The following command will run the denoising on GPU 0: | The following command will run the denoising on GPU 0: |