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)

示例:

  1. # Connect to localhost, port 8080.
  2. $ det experiment list
  3. # Connect to example.org, port 8888.
  4. $ det -m example.org:8888 e list
  5. # Connect to example.org, port 80.
  6. $ det -m http://example.org e list
  7. # Connect to example.org, port 443.
  8. $ det -m https://example.org e list
  9. # Connect to example.org, port 8080.
  10. $ det -m example.org e list
  11. # Set default Determined master address to example.org, port 8888.
  12. $ export DET_MASTER="example.org:8888"
  13. # 在Linux系统设置环境变量
  14. vim ~/.bashrc
  15. # 在文件末尾加入行
  16. export DET_MASTER="yourip:yourport"
  17. # 写入文件,然后使其生效
  18. source ~/.bashrc

CLI子命令通常遵循<名词> <动词>的形式,类似于ip的范式。支持某些缩写。如果缺少的动词,则默认动词为list。
例如,下面每个块中的不同命令都做相同的事情:

  1. # List all experiments.
  2. $ det experiment list
  3. $ det exp list
  4. $ det e list
  5. $ det e
  6. # List all agents.
  7. $ det agent list
  8. $ det a list
  9. $ det a
  10. # List all slots.
  11. $ det slot list
  12. $ det slot
  13. $ det s

有关可用名词和缩写的详情,请参阅det help的输出。每个名词还提供一个help动词,用于描述该名词可能使用的动词。