Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 1.87 KB

clear_ml_setup.md

File metadata and controls

43 lines (39 loc) · 1.87 KB

Instructions for setting up Clear-ML.

Install the clearml python package.

Open a terminal (or Command Prompt on Windows) and use pip to install Clear-ML. pip install clearml

Add your AWS storage vault credentials (If using AWS S3).

  1. Login to Clear-ML login with your work email address.
  2. Go to the workspace settings.
  3. At the top of the page you should see the configuration vault. If you don't see the configuration vault it is probably the case that you are not logged in to the Enterprise version of Clear-ML.
    Add your aws key and secret and the region to the configuration vault using this format:
sdk {
  aws {
    s3 {
      key: "xxxxxxxxxxxxxxxxxx"
      secret: "xxxxxxxxxxxxxxxxxx"
      region: "us-east-1"
    }
  }
}

Create your Clear-ML credentials

  1. In a command window enter clearml-init you should be prompted to Paste copied configuration here:
  2. On the workspace settings webpage click Create new credentials.

They'll look something like this:

api { 
  web_server: https://app.sil.hosted.allegro.ai
  api_server: https://api.sil.hosted.allegro.ai
  files_server: https://files.sil.hosted.allegro.ai
  credentials {
    "access_key" = "xxxxxxxxxxxxxxxxxx"
    "secret_key"  = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  }
}
  1. Use the button to copy the new credentials to your clipboard.
  2. Paste them into the command window.
  3. This will create a clearml.conf file in your home directory i.e. C:\Users<Username>\clearml.conf
  4. If this file already exists the clearml-init command will invite you to edit it. You may find it easier to delete it and run through these instructions, or you can put the copied details into the existing file in the required format.