options.base_options

source

BaseOptions

class BaseOptions()

This class defines options used during all types of experiments. It also implements several helper functions such as parsing, printing, and saving the options.

Methods

__init__
def __init__()

Initializes the BaseOptions class

Parameters

None

Returns

None

initialize
def initialize()

Initializes the BaseOptions class

Parameters

None

Returns

None

parse
def parse()

Parses the arguments passed to the script

Parameters

None

Returns

opt: argparse.Namespace The parsed arguments

_print
def _print(
	args: Dict
)

Prints the arguments passed to the script

Parameters

args: dict The arguments to print

Returns

None