# Assistance Needed: Invalid RLE Mask Representation in New Dataset

**URL:** <https://discuss.roboflow.com/t/assistance-needed-invalid-rle-mask-representation-in-new-dataset/8086>\
**Category:** 🤝  Community Help\
**Tags:** bugs, formats\
**Created:** [December 30, 2024, 7:33pm UTC](https://discuss.roboflow.com/t/assistance-needed-invalid-rle-mask-representation-in-new-dataset/8086 "2024-12-30T19:33:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Karan\_Santra](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/karan_santra/32/5622_2.png) [@Karan\_Santra](https://discuss.roboflow.com/u/Karan_Santra)\
**Post date:** [December 30, 2024, 9:23pm UTC](https://discuss.roboflow.com/t/assistance-needed-invalid-rle-mask-representation-in-new-dataset/8086/2 "2024-12-30T21:23:57Z")

</div>

I am facing a similar issue.

> [@Error in running the demo fine-tune-sam-2.1.ipynb collab notebook by James Gallagher (@rfjames ?)](https://discuss.roboflow.com/t/error-in-running-the-demo-fine-tune-sam-2-1-ipynb-collab-notebook-by-james-gallagher-rfjames/8084):
>
> I tried running the [“fine-tune-sam-2.1.ipynb”](https://colab.research.google.com/github/roboflow-ai/notebooks/blob/add-fine-tune-sam-2.1/notebooks/fine-tune-sam-2.1.ipynb?ref=blog.roboflow.com) notebook provided by Roboflow with only one change—I used my own dataset. My dataset has two classes, and I resized the images by stretching them to 1024x1024. The dataset is for an image segmentation task and is exported as SAM2 JSON. Other than that, I didn’t make any modifications. When I ran the Python training command, I got an error. Since the dataset is the only thing I changed, I think the problem might be related to it. Could it be because …

---

_[View the full topic](https://discuss.roboflow.com/t/assistance-needed-invalid-rle-mask-representation-in-new-dataset/8086)._
