aws / aws/amazon-sagemaker-examples

bring_your_own_model_for_sagemaker_labeling_workflows_with_active_learning.ipynb failed CI

Open
#2,318 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/ground_truth_labeling_jobs/bring_your_own_model_for_sagemaker_labeling_workflows_with_active_learning/bring_your_own_model_for_sagemaker_labeling_workflows_with_active_learning.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [3]":
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
1 column_names = ["TITLE", "URL", "PUBLISHER", "CATEGORY", "STORY", "HOSTNAME", "TIMESTAMP"]
2 manifest_file = "partially-labeled.manifest"
----> 3 news_data_all = pd.read_csv('newsCorpora.csv', names=column_names, header=None, delimiter='\t')
4 news_data = news_data_all.sample(n=10000, random_state=42)
5 news_data = news_data[["TITLE","CATEGORY"]]

/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitials

[...]

FileNotFoundError: [Errno 2] File b'newsCorpora.csv' does not exist: b'newsCorpora.csv'

Contributor guide

Open the contributing guide

Research direction

Open the linked notebook at ground_truth_labeling_jobs/bring_your_own_model_for_sagemaker_labeling_workflows_with_active_learning and inspect cell In[3], especially the newsCorpora.csv load. Reproduce the CI failure and trace how the notebook expects this input to be available. Done means the notebook no longer raises FileNotFoundError during CI.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, pandas, python
Domain
ci-cd, data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.