summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-07-16 16:40:53 +0200
committerJules Laplace <julescarbon@gmail.com>2018-07-16 16:40:53 +0200
commitb1ac6476483186dafbd4e3f5e1d6a269388d7f59 (patch)
treee85da813ed9372de4e6a78470d05c4513adf70d0
parente4f9134b6e3279272ab9d487ebfb0b0c3689aa69 (diff)
hsl
-rw-r--r--options/dataset_options.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/options/dataset_options.py b/options/dataset_options.py
index 8b638e0..1692766 100644
--- a/options/dataset_options.py
+++ b/options/dataset_options.py
@@ -284,22 +284,22 @@ class DatasetOptions(BaseOptions):
self.parser.add_argument(
'--hue',
- default=0.0,
- type=float,
+ default=0,
+ type=int,
help='hue rotation'
)
self.parser.add_argument(
'--saturation',
- default=0.0,
- type=float,
+ default=0,
+ type=int,
help='saturation'
)
self.parser.add_argument(
'--luminosity',
- default=0.0,
- type=float,
+ default=0,
+ type=int,
help='luminosity'
)