-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: cml comment create report.md #1424
Comments
Hello, @b00nw33! Can you please share a copy of your workflow? |
@0x2b3bfa0 Sure, thanks for reaching out! example_cml - working wine - error mycaret - error |
On https://github.com/b00nw33/mycaret/actions/runs/6143774135/workflow, you're passing the token to the wrong step. name: Auto mycaret
on: [push]
jobs:
train-and-report:
runs-on: ubuntu-latest
container: docker://ghcr.io/iterative/cml:0-dvc2-base1
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
- env:
- REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pycaret[full]
- name: Run app.py
+ env:
+ REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python app.py # generate plot.png
# Create CML report
cat metrics.txt >> report.md
# echo '![](./plot.png "Confusion Matrix")' >> report.md
cml comment create report.md
- name: Finalising
run: |
echo "Done!" |
On https://github.com/b00nw33/wine/actions/runs/6148077199/job/16680984239#step:5:14, it can't find results.txt, probably because it doesn't exist. |
Thanks @0x2b3bfa0 , made changes accordingly. Now I'm getting this error from the following line:
|
Can you please try renaming your image files so they don't contain underscores? I believe there might be some parsing issue with underscores, also on the GitHub flavor of CML. |
Renamed to |
@b00nw33 sorry for the inconvenience, can you try with the |
@dacbd Thanks, working now. Looks like it needs either |
I was able to get example repo working properly, but when I try to replicate it in my work, I encounter the following error with
cml comment create report.md
incml.yaml
.The text was updated successfully, but these errors were encountered: