datasets
datasets copied to clipboard
Unable to load "time_series.smartwatch_gestures"
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
I had the same issue. You're missing the class_labels.txt file, I was missing it too but it's here on github..
Copy and paste the file to the location of your package. in your case, /opt/conda/lib/python3.7/site-packages/tensorflow_datasets/time_series/smartwatch_gestures/
Thanks for reporting, the issue is that we forgot to upload the file here: https://github.com/tensorflow/datasets/blob/e5ca78ccef0c7715600e014934198afc30988a95/setup.py#L103
Thanks for reporting, the issue is that we forgot to upload the file here:
Has this now been fixed for any of the new releases?
EDIT: It does not seem to be in the latest release, but available in the nightly.