Add new model-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)
| 44 | |
| 45 | @staticmethod |
| 46 | def modify_commandline_options(parser, is_train): |
| 47 | """Add new model-specific options, and rewrite default values for existing options. |
| 48 | |
| 49 | Parameters: |
| 50 | parser -- original option parser |
| 51 | is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options. |
| 52 | |
| 53 | Returns: |
| 54 | the modified parser. |
| 55 | """ |
| 56 | return parser |
| 57 | |
| 58 | @abstractmethod |
| 59 | def set_input(self, input): |
nothing calls this directly
no outgoing calls
no test coverage detected