Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading custom local dataset: DatasetNotFoundError #96

Open
emfebert opened this issue May 22, 2024 · 2 comments
Open

Loading custom local dataset: DatasetNotFoundError #96

emfebert opened this issue May 22, 2024 · 2 comments

Comments

@emfebert
Copy link

Hi,

I created my own custom dataset by using the rlds dataset builder repo, and I'm trying to finetune on this data using python scripts/finetune.py --config.pretrained_path=hf://rail-berkeley/octo-small

I modified the finetuning kwargs as follows:

FINETUNING_KWARGS = {
        "name": "act_dataset",
        "data_dir": "/home/febert/tensorflow_datasets/act_dataset/1.0.0",
        "image_obs_keys": {"primary": "image_0", "wrist": None},
        "state_obs_keys": ["state", None],
        "language_key": "language_instruction",
        "action_proprio_normalization_type": "normal",
        "absolute_action_mask": [False, False, False, True, True, True, True, True, True, True],
        "standardize_fn": "octo/data/oxe/oxe_standardization_transforms.py:act_dataset_transform",
    }

I'm getting the following error:

tensorflow_datasets.core.registered.DatasetNotFoundError: Dataset act_dataset not found.
Available datasets:
	- abstract_reasoning
	- accentdb

The dataset is located on my local machine here: "/home/febert/tensorflow_datasets/act_dataset/1.0.0"

@kpertsch
Copy link
Collaborator

Try setting the data_dir to /home/febert/tensorflow_datasets

@emfebert
Copy link
Author

Thanks that helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants