aws / aws/amazon-sagemaker-examples

Image-classification-lst-format-highlevel.ipynb failed CI

Open
#2,412 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-highlevel.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
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-highlevel.ipynb from the linked example and start by rerunning cell In [4], which invokes shell commands for dataset preparation and im2rec.py. Investigate the non-zero exit status and verify that the notebook completes successfully and CI passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python, shell
Domain
machine-learning, testing-qa
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.