aws / aws/amazon-sagemaker-examples

Image-classification-lst-format.ipynb failed CI

Open
#2,409 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/introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-lst-format.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [3]":
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
in
----> 1 get_ipython().run_cell_magic('bash', '', '\nmkdir -p caltech_256_train_60\nfor i in 256_ObjectCategories/*; do\n c=`basename $i`\n mkdir -p caltech_256_train_60/$c\n for j in `ls $i/*.jpg | shuf | head -n 60`; do\n mv $j

[...]

CalledProcessError: Command 'b'\nmkdir -p caltech_256_train_60\nfor i in 256_ObjectCategories/*; do\n c=`basename $i`\n mkdir -p caltech_256_train_60/$c\n for j in `ls $i/*.jpg | shuf | head -n 60`; do\n mv $j caltech_256_train_60/$c/\n done\ndone\n\npython im2rec.py --list --recursive caltech-256-60-train caltech_256_train_60/\npython im2rec.py --list --recursive caltech-256-60-val 256_ObjectCategories/\n'' returned non-zero exit status 1.

Contributor guide

Open the contributing guide

Research direction

Open Image-classification-lst-format.ipynb and reproduce the failure in cell In [3], including the bash commands and im2rec.py invocations. Determine why the cell returns a non-zero status; done means the notebook's referenced CI run completes that cell successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, bash, jupyter-notebook, python
Domain
machine-learning, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.