Spaces:
Runtime error
Runtime error
Update options/test_options.py
Browse files- options/test_options.py +1 -3
options/test_options.py
CHANGED
|
@@ -3,14 +3,12 @@ from .base_options import BaseOptions
|
|
| 3 |
|
| 4 |
class TestOptions(BaseOptions):
|
| 5 |
"""This class includes test options.
|
| 6 |
-
|
| 7 |
It also includes shared options defined in BaseOptions.
|
| 8 |
"""
|
| 9 |
|
| 10 |
def initialize(self, parser):
|
| 11 |
parser = BaseOptions.initialize(self, parser) # define shared options
|
| 12 |
-
parser.add_argument('--
|
| 13 |
-
parser.add_argument('--results_dir', type=str, default='./cache/', help='saves results here.')
|
| 14 |
parser.add_argument('--aspect_ratio', type=float, default=1.0, help='aspect ratio of result images')
|
| 15 |
parser.add_argument('--phase', type=str, default='test', help='train, val, test, etc')
|
| 16 |
# Dropout and Batchnorm has different behavioir during training and test.
|
|
|
|
| 3 |
|
| 4 |
class TestOptions(BaseOptions):
|
| 5 |
"""This class includes test options.
|
|
|
|
| 6 |
It also includes shared options defined in BaseOptions.
|
| 7 |
"""
|
| 8 |
|
| 9 |
def initialize(self, parser):
|
| 10 |
parser = BaseOptions.initialize(self, parser) # define shared options
|
| 11 |
+
parser.add_argument('--results_dir', type=str, default='./results/', help='saves results here.')
|
|
|
|
| 12 |
parser.add_argument('--aspect_ratio', type=float, default=1.0, help='aspect ratio of result images')
|
| 13 |
parser.add_argument('--phase', type=str, default='test', help='train, val, test, etc')
|
| 14 |
# Dropout and Batchnorm has different behavioir during training and test.
|