{"id":28794499,"url":"https://github.com/iterative/cml_tensorboard_case","last_synced_at":"2025-10-26T00:39:33.848Z","repository":{"id":38003304,"uuid":"270844047","full_name":"iterative/cml_tensorboard_case","owner":"iterative","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-30T15:11:24.000Z","size":30,"stargazers_count":8,"open_issues_count":1,"forks_count":7,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-10-21T17:53:10.765Z","etag":null,"topics":["example"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iterative.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-08T22:21:44.000Z","updated_at":"2023-10-27T09:02:10.000Z","dependencies_parsed_at":"2023-01-21T01:16:57.821Z","dependency_job_id":null,"html_url":"https://github.com/iterative/cml_tensorboard_case","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iterative/cml_tensorboard_case","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iterative%2Fcml_tensorboard_case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iterative%2Fcml_tensorboard_case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iterative%2Fcml_tensorboard_case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iterative%2Fcml_tensorboard_case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iterative","download_url":"https://codeload.github.com/iterative/cml_tensorboard_case/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iterative%2Fcml_tensorboard_case/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281043418,"owners_count":26434444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example"],"created_at":"2025-06-18T02:38:40.692Z","updated_at":"2025-10-26T00:39:33.810Z","avatar_url":"https://github.com/iterative.png","language":"Python","readme":"# CML with Tensorboard use case\n\nThis repository contains a sample project using [CML](https://github.com/iterative/cml) with Tensorboard.dev to track model training in real-time. When a pull request is made, the following steps occur:\n- GitHub will deploy a runner machine with a specified CML Docker environment\n- A Tensorboard.dev page will be created \n- CML will report a link to the Tensorboard as a comment in the pull request\n- The runner will execute a workflow to train a ML model (`python train.py`)\n\nThe key file enabling these actions is `.github/workflows/cml.yaml`.\n\n## Secrets and environmental variables\nIn this example, `.github/workflows/cml.yaml` contains two environmental variables that are stored as repository secrets.\n\n| Secret  | Description  | \n|---|---|\n|  GITHUB_TOKEN | This is set by default in every GitHub repository. It does not need to be manually added.  |\n| TB_CREDENTIALS  | Tensorboard credentials | \n\nTo access your Tensorboard credentials:\n1. On your local machine, run `tensorboard dev upload` \n2. Accept the TOS and follow the authentication procedure. \n3. When you have authenticated, copy your credentials out of `~/.config/tensorboard/credentials/uploader-creds.json` (this is the typical path for OSX/Linux systems). Paste these credentials as the secret TB_CREDENTIALS. \n\n\n## Cloning this project\nNote that if you clone this project, you will have to configure your own TB credentials for the example. \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiterative%2Fcml_tensorboard_case","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiterative%2Fcml_tensorboard_case","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiterative%2Fcml_tensorboard_case/lists"}