tensorflow / tensorflow/datasets

Unable to load "time_series.smartwatch_gestures"

Open
#4,062 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

I am trying to load time_series dataset for smartwatch_gestures.

Using the following code, I was trying to load the dataset using tfds-nightly

train, test, val = tfds.load('smartwatch_gestures', split=['train[:80%]', 'train[80%:95%]', 'train[95%:]'], as_supervised=True, shuffle_files=True)

It is unable to find the datasets despite being listed in the TesnorFlow Datasets Catalog

Error Message:

RuntimeError: NotFoundError: Failed to construct dataset smartwatch_gestures: /opt/conda/lib/python3.7/site-packages/tensorflow_datasets/time_series/smartwatch_gestures/class_labels.txt; No such file or directory

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the tfds-nightly load command and inspect the smartwatch_gestures dataset package at the class_labels.txt path shown in the error. Confirm whether the catalog entry and packaged files agree, then verify that the dataset loads successfully with the requested splits.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
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.