Plugins

Supervisely/ Agent

Agent Updated An hour ago Free
Supervisely Agent - is a small, but powerful task manager that allows to connect any computer (your office PC or cloud server) to the platform and use it for any computational tasks: neural network training/inference/deployment, training data preparation and many more.
Free Signup

What is Supervisely Agent?

Supervisely Agent is a tiny docker container that allows you to connect your computational resources (cloud server or PC) to the platform. You can run any plugin from web interface (for exmaple import, DTL, Neural Network training/inference/deploy). After you run Agent on your computer, Agent will automatically connect your server to Supervisely platform. You will see this information in "Cluster" page.

How Agent works

This principal scheme illustrates how agent processes the task.

How to run Agent?

Here you will find step-by-step guide about how to run Agent on your machine.

How to monitor Agent information?

Here you will find documentaion about how to monitor Agent status.

Environment variables:

Required:

  • AGENT_HOST_DIR: directory, where agent stores user data. (default: $HOME/.supervisely-agent/$ACCESS_TOKEN)
  • SERVER_ADDRESS: full server URL to connect to (e.g. http://somehost:12345/agent).
  • ACCESS_TOKEN: unique string which allows the server to identify the agent.
  • DOCKER_REGISTRY: list of used docker registry addresses. (e.g. docker.deepsystems.io,docker.enterprise.supervise.ly)
  • DOCKER_LOGIN: list of login names for used docker registries (ordered as registries), e.g. user,user.
  • DOCKER_PASSWORD: list of passwords for used docker registries (ordered as registries), e.g. 123,345.

Optional:

  • WITH_LOCAL_STORAGE: whether to use local agent storage for long-term persistent storage of task results (learned model checkpoints, images generated by DTL) instead of uploading the results to the web instance storage. When this option is enabled, those results will be unavailable when the agent is not connected to the web instance. Do not enable this option when running the agent on transient machines, like hourly rented AWS instances, as the local data there will be lost as soon as your rented time ends. (default: true)
  • PULL_ALWAYS: whether to always pull docker image from registry, or only if image with given name and tags not found localy. (default: true)
  • DEFAULT_TIMEOUTS: whether to use default timeout configs or load from /workdir/src/configs/timeouts_for_stateless.json file. (default: true)
  • DELETE_TASK_DIR_ON_FINISH: whether to remove task directory after the task finishes successfully. (default: true)
  • DELETE_TASK_DIR_ON_FAILURE: whether to remove task directory after the task finishes with a failure. (default: false)
  • DOCKER_API_CALL_TIMEOUT: timeout for Docker API calls, in seconds. (default: 60)

Docker Image

supervisely/agent:latest

More Info

ID
75265
Version ID
84504
First released
5 months ago
Last updated
An hour ago

Owner

s