iterative / iterative/cml

cml: command not found

Open
#1,324 13 comments 0 reactions 1 assignee Claimed by @0x2b3bfa0 View on GitHub
awaiting-response ci-gitlab question
Dominant language
JavaScript
Stars
4.2k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

I am a new user.
When the ci cd pipeline runs
it throws the error as cml:command not found.

Requirement already satisfied: six>=1.5 in /usr/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 3)) (1.16.0)

$ python train.py
0.852
$ cat metrics.txt >> report.md
$ echo '![](./plot.png "Confusion Matrix")' >> report.md
$ cml comment create report.md
bash: cml: command not found
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit status 1

my ci cd pipeline as follows


train-and-report:
image: iterativeai/cml:0-dvc2-base1
script:
- pip install -r requirements.txt
- python train.py # generate plot.png
# Create CML report
- cat metrics.txt >> report.md
- echo '![](./plot.png "Confusion Matrix")' >> report.md
- cml comment create report.md
tags:
- runner-tester

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.