Transform are now instanciate one time (first use). This modification
allow to load on memory GAN model one time given a huge gain on
multiply computation (tested on sample_dir give me 162 seconds to 92 seconds (amd FX feel bad)).
This modification break cpu multiprocessing support until a multiprocessing manager
is implement to avoid race condition. Also added --disable-persistent-gan to
disable in memory persitent gan for low memory environnement.
* add "dreampower deamon" command
* simple deamon watching a tree directory patah when .start file is create in one of
directory start processing this folder.
* Add "run" subparser for process image(s). All commands "python
main.py-i input.png" become "pytho main.py run -i input.png". Still
it's a breaking compatibility change, it's necessary change due to
the fact that the add of new functionality such daemon creating a lots
conflicts between main argv parser and subparsers, therefore
it's becoming very difficult to maintain/extend, error prone
and difficult to underderstand the possibly combine options.
* Refactor all argv code
* modify --altered path of the directory where steps images transformation are write
* unchangerd --steps add -s, --steps <starting step>:<ending step option>
* rescale options are now handle
* Change all the logic of the phases to more flexiblility
* Add rescale/resize/overlay as phases (the same level that gan/opencv
masks transformation)
* Add more comments everywhere
* Modify Configuration(Options) Class to be more general (args, checkpoints
location and multingthread configuration are now acccesble from it)
* Add logging with debug option (-d, --debug)
* No fonctionnilaty change