You can use this command to create a new experiment, using the configuration specified in config file.
You can use this command to create a new experiment, using the configuration specified in config file.
After this command is successfully done, the context will be set as this experiment, which means the following command you issued is associated with this experiment, unless you explicitly changes the context(not supported yet).
After this command is successfully done, the context will be set as this experiment, which means the following command you issued is associated with this experiment, unless you explicitly changes the context(not supported yet).
* Usage
* Usage
```bash
```bash
nnictl create [OPTIONS]
nnictl create [OPTIONS]
```
```
* Options
* Options
|Name, shorthand|Required|Default|Description|
|Name, shorthand|Required|Default|Description|
|------|------|------|------|
|------|------|------|------|
...
@@ -48,46 +47,47 @@ nnictl support commands:
...
@@ -48,46 +47,47 @@ nnictl support commands:
|--port, -p|False| |the port of restful server|
|--port, -p|False| |the port of restful server|
|--debug, -d|False||set debug mode|
|--debug, -d|False||set debug mode|
* Examples
* Examples
> create a new experiment with the default port: 8080
```bash
> create a new experiment with the default port: 8080
You can use this command to update an experiment's duration.
* Description
* Usage
You can use this command to update an experiment's duration.
```bash
* Usage
nnictl update duration [OPTIONS]
```
* Options
```bash
nnictl update duration [OPTIONS]
```
|Name, shorthand|Required|Default|Description|
* Options
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|--value, -v| True| |the experiment duration will be NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days.|
* Example
|Name, shorthand|Required|Default|Description|
|------|------|------ |------|
|id| False| |ID of the experiment you want to set|
|--value, -v| True| |the experiment duration will be NUMBER seconds. SUFFIX may be 's' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days.|