# Load\_from\_disk and read-only filesystem

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-from-disk-and-read-only-filesystem%2F54312%3E%5C
**Category:** 🤗Datasets\
**Created:** [September 10, 2023, 1:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-from-disk-and-read-only-filesystem%2F54312 "2023-09-10T13:59:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tsobolev](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tsobolev](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Ftsobolev)%5C
**Post date:** [September 10, 2023, 1:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-from-disk-and-read-only-filesystem%2F54312%2F1 "2023-09-10T13:59:13Z")

</div>

Hello,

I attempted to use my own dataset on Kaggle, which I created using `save_to_disk` and uploaded as a Kaggle dataset. I can load this dataset with `load_from_disk('/kaggle/input/my_dataset_dir')`, but I can’t perform operations like ‘train\_test\_split’ because of the read-only filesystem:

```auto
OSError: [Errno 30] Read-only file system: '/kaggle/input/my_dataset_dir/tmp5x3dj6no'

```

When I try loading it with `load_dataset(streaming=True)`, I encounter an error:

```auto
ValueError: You are trying to load a dataset that was saved using `save_to_disk`. Please use `load_from_disk` instead.

```

What should I do to use my datasets on a read-only filesystem?

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-from-disk-and-read-only-filesystem%2F54312)._
