WebUI
WebUI允许用户创建和查看实验进度。可通过访问http://<master-addr>:<port>来访问它,其中master-addr是Determined的主机名或IP地址。
CLI
用户还可使用CLI进行交互。CLI通过Python包分发,通过pip安装该wheel后(在安装Determined CLI查看详情),即可使用det命令使用CLI。
CLI应该安装在用户要访问Determined的计算机上。标识-m或--master确定CLI连接到的Determined主机网络地址。 如果未指定此标识,则使用环境变量DET_MASTER的值;如果未设置该环境变量,则默认地址为localhost。 可以用三种不同的格式指定主地址:
example.org:port(如未指定port,则默认8080)http://example.org:port(如未指定port,则默认80)https://example.org:port(如未指定port,则默认443)
示例:
# Connect to localhost, port 8080.$ det experiment list# Connect to example.org, port 8888.$ det -m example.org:8888 e list# Connect to example.org, port 80.$ det -m http://example.org e list# Connect to example.org, port 443.$ det -m https://example.org e list# Connect to example.org, port 8080.$ det -m example.org e list# Set default Determined master address to example.org, port 8888.$ export DET_MASTER="example.org:8888"# 在Linux系统设置环境变量vim ~/.bashrc# 在文件末尾加入行export DET_MASTER="yourip:yourport"# 写入文件,然后使其生效source ~/.bashrc
CLI子命令通常遵循<名词> <动词>的形式,类似于ip的范式。支持某些缩写。如果缺少的动词,则默认动词为list。
例如,下面每个块中的不同命令都做相同的事情:
# List all experiments.$ det experiment list$ det exp list$ det e list$ det e# List all agents.$ det agent list$ det a list$ det a# List all slots.$ det slot list$ det slot$ det s
有关可用名词和缩写的详情,请参阅det help的输出。每个名词还提供一个help动词,用于描述该名词可能使用的动词。
