Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option parser is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options.
(parser, is_train)
| 31 | |
| 32 | @staticmethod |
| 33 | def modify_commandline_options(parser, is_train): |
| 34 | """Add new dataset-specific options, and rewrite default values for existing options. |
| 35 | |
| 36 | Parameters: |
| 37 | parser -- original option parser |
| 38 | is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options. |
| 39 | |
| 40 | Returns: |
| 41 | the modified parser. |
| 42 | """ |
| 43 | return parser |
| 44 | |
| 45 | @abstractmethod |
| 46 | def __len__(self): |
nothing calls this directly
no outgoing calls
no test coverage detected