train
configure_test_parser
¶
Add a testing parser to an existing argparser.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
subparsers |
_SubParsersAction
|
The parser object to be appended to. |
required |
Source code in fastestimator/fastestimator/cli/train.py
configure_train_parser
¶
Add a training parser to an existing argparser.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
subparsers |
_SubParsersAction
|
The parser object to be appended to. |
required |
Source code in fastestimator/fastestimator/cli/train.py
test
¶
Load an Estimator from a file and invoke its .test() method.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
args |
Dict[str, Any]
|
A dictionary containing location of the FE file under the 'entry_point' key, as well as an optional 'hyperparameters_json' key if the user is storing their parameters in a file. |
required |
unknown |
Optional[List[str]]
|
The remainder of the command line arguments to be passed along to the get_estimator() method. |
required |
Source code in fastestimator/fastestimator/cli/train.py
train
¶
Load an Estimator from a file and invoke its .fit() method.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
args |
Dict[str, Any]
|
A dictionary containing location of the FE file under the 'entry_point' key, as well as an optional 'hyperparameters_json' key if the user is storing their parameters in a file. |
required |
unknown |
Optional[List[str]]
|
The remainder of the command line arguments to be passed along to the get_estimator() method. |
required |