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)
| 56 | |
| 57 | @staticmethod |
| 58 | def modify_commandline_options(parser, is_train): |
| 59 | """Add new model-specific options, and rewrite default values for existing options. |
| 60 | |
| 61 | Parameters: |
| 62 | parser -- original option parser |
| 63 | is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options. |
| 64 | |
| 65 | Returns: |
| 66 | the modified parser. |
| 67 | """ |
| 68 | return parser |
| 69 | |
| 70 | @abstractmethod |
| 71 | def set_input(self, input): |
nothing calls this directly
no outgoing calls
no test coverage detected