Skip to content
monitor

GitHub Action

Trains get task stats

v1.0 Latest version

Trains get task stats

monitor

Trains get task stats

Clone and enqueue your task to train your model

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Trains get task stats

uses: allegroai/clearml-actions-get-stats-old@v1.0

Learn more about this action in allegroai/clearml-actions-get-stats-old

Choose a version

GitHub Action For Retrieving Experiments Stats With ClearML

GitHub stars GitHub Workflow Status

Get task results directly to your repo!

This action helps to retrieve all ClearML Tasks results and post them to Github discussion (issue or pull request).

Usage

Workflow Example

This action adds an action to a workflow that will print the TASK_ID last metrics results to the current discussion.

It works both in github issues and github pull requests comments.

image

name: Get task stats
on: [issue_comment]

jobs:
  get-stats:
      if: contains(github.event.comment.body, '/get-stats')
      runs-on: ubuntu-latest
      steps:
        - name: Get task stats
          uses: allegroai/clearml-get-stats@master
          id: train
          with:
            CLEARML_API_ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
            CLEARML_API_SECRET_KEY: ${{ secrets.SECRET_KEY }}
            CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}
            TASK_ID: "6f98c7d181b84327ae12e64537a97960"
          env:
            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

Mandatory Inputs

  1. CLEARML_API_ACCESS_KEY: Your ClearML api access key. You can find it in your clearml.conf file under api.credentials.access_key section, read more.
  2. CLEARML_API_SECRET_KEY: Your ClearML api secret key. You can find it in your clearml.conf file under api.credentials.secret_key section, read more.
  3. CLEARML_API_HOST: The ClearML api server address. You can find it in your clearml.conf file under api.api_server section, read more.
  4. TASK_ID: Id of the task you would like to clone.