Error occuring during the running of cml file #57478
Replies: 6 comments 2 replies
-
|
I am having a similar problem. In my case is:
While my .yaml is the following: ` I have tried with different methods, but none of them works. Any help would be welcomed |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Welcome to the GitHub Community, @Alimiji, we're happy you're here! You are more likely to get a useful response if you are posting your question(s) in the applicable category and are explicit about what your project entails--giving a few more details might help someone give you a nudge in the right direction. I've gone ahead and moved it for you. Good luck!e |
Beta Was this translation helpful? Give feedback.
-
|
A "400 Bad Request" error is an HTTP status code that indicates the server could not understand the request sent by the client, often due to malformed or invalid syntax. This error typically occurs when there's an issue with the request sent to a web server, such as missing or incorrect parameters, headers, or data. Here are some common reasons and solutions for encountering a "400 Bad Request" error:
If you are the developer of the web application, you can check the server logs for more detailed information about the specific reason for the "400 Bad Request" error. Examining the logs can help you pinpoint the issue and fix it accordingly. If the error persists and you are not in control of the server or application, you may want to reach out to the website's support team or the developers responsible for maintaining the service to report the issue and seek assistance. |
Beta Was this translation helpful? Give feedback.
-
|
The error message you provided indicates that there was an issue with the URL or the request made to the server. The server responded with a "400 Bad Request" status code, indicating that the request was malformed or invalid in some way. This error can occur for various reasons, such as:
To resolve this issue, you can try the following steps:
If you continue to encounter the error, there may be specific details in the server's response that could provide more insights into the issue. Checking the server logs or contacting the server administrators might be helpful in diagnosing the problem further. |
Beta Was this translation helpful? Give feedback.
-
|
me also facing similar issue with cml . anybody can help on this issue? |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
Hi everyone,
I need your help please. This is the error that occurs:
{"code":"ERR_INVALID_URL","input":"\r\n<title>400 Bad Request</title>\r\n\r\n
400 Bad Request
\r\ncloudflare\r\n\r\n\r\n","level":"error","message":"Invalid URL","stack":"TypeError [ERR_INVALID_URL]: Invalid URL\n at new NodeError (node:internal/errors:399:5)\n at new URL (node:internal/url:560:13)\n at uriParam (/usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:151:15)\n at watermarkUri (/usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:142:10)\n at CML.publish (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:330:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async visitor (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:229:24)\n at async Promise.all (index 0)\n at async publishLocalFiles (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:242:7)"}
Error: Process completed with exit code 1.
My CML code is:
name: CML & DVC
' >> report.md
on: [push]
jobs:
train-and-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8.16'
- uses: iterative/setup-cml@v1
- uses: iterative/setup-dvc@v1
- name: Train model
run: |
pip install -r requirements.txt
python model.py
- name: Create CML report
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo '## Data Summary' >> report.md
python -c "import pandas as pd; df = pd.read_csv('Data/Incidents_metro.csv'); print(df.head(10))" >> report.md
echo '## Column Histogram' >> report.md
python -c "import pandas as pd; import matplotlib.pyplot as plt; df = pd.read_csv('Data/Incidents_metro.csv'); df.hist(figsize=(10, 10)); plt.savefig('histogram.png')"
if [ -f histogram.png ]; then
echo 'Histogram image created successfully.'
else
echo 'Histogram image creation failed.'
exit 1
fi
echo '
cml comment create report.md
A suggestion...(optional)
No response
Beta Was this translation helpful? Give feedback.
All reactions