# Uploading Dataset: GUI vs Python "Error"

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563%3E%5C
**Category:** 🤗Datasets\
**Created:** [February 12, 2023, 5:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563 "2023-02-12T17:49:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hatman](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/hatman/32/27670_2.png) [@Hatman](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FHatman)%5C
**Post date:** [February 12, 2023, 5:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563%2F1 "2023-02-12T17:49:37Z")

</div>

It looks like there is an error on my end between uploading data via the GUI of the website and through Python. The parquet file for images doesn’t have the correct headers when using Python. GUI works and I’m able to load the files after creating the DataSet. It does look like there is some type of scripting when uploading through the GUI that is allowing that to work. However that’s hacked together, hasn’t caught up with the Python implementation. If this is a Hugging Face Issue, that’d be good to know otherwise just something to be aware of. If anybody might know anything that could help fix this locally that’d be Great! Thanks for what you guys are doing!

---

<div class="post-metadata">

**Author:** ![julien-c](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/julien-c/32/41937_2.png) [@julien-c](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjulien-c)%5C
**Post date:** [February 13, 2023, 7:52am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563%2F2 "2023-02-13T07:52:54Z")

</div>

maybe cc @lhoestq or @severo

---

<div class="post-metadata">

**Author:** ![severo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/severo/32/27449_2.png) [@severo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsevero)%5C
**Post date:** [February 13, 2023, 12:44pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563%2F3 "2023-02-13T12:44:33Z")

</div>

Hi. Do you have a repository that we could look at?

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmariosasko)%5C
**Post date:** [February 13, 2023, 3:50pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563%2F4 "2023-02-13T15:50:25Z")

</div>

Hi! Can you share the code that shows the issue with Parquet? I suspect that the image column is not of type `datasets.Image` before conversion to Parquet.

---

<div class="post-metadata">

**Author:** ![Hatman](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/hatman/32/27670_2.png) [@Hatman](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FHatman)%5C
**Post date:** [February 15, 2023, 6:51am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fuploading-dataset-gui-vs-python-error%2F31563%2F5 "2023-02-15T06:51:44Z")

</div>

For sure, I was just working from the excellent DreamBooth Hackathon Notebook

```auto
from datasets import load_dataset, load_from_disk

dataset = load_dataset("imagefolder", data_dir="/pics", description="Sunshine" )
# Remove the dummy label column
dataset = dataset.remove_columns("label")
# Push to Hub
dataset.push_to_hub("Sunshine-the-Chicken")

```

It was just an unlabeled dataset of pics so only one column. Just a weird error about not being able to uncompress the parquet file when using the dataset after uploading it.
