# How to convert COCO-segmentation to TFrecord use for TF segment model

**URL:** <https://discuss.roboflow.com/t/how-to-convert-coco-segmentation-to-tfrecord-use-for-tf-segment-model/3467>\
**Category:** 🤝  Community Help\
**Created:** [October 19, 2023, 4:54am UTC](https://discuss.roboflow.com/t/how-to-convert-coco-segmentation-to-tfrecord-use-for-tf-segment-model/3467 "2023-10-19T04:54:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khí\_Lục](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/kh%C3%AD_l%E1%BB%A5c/32/3041_2.png) [@Khí\_Lục](https://discuss.roboflow.com/u/Kh%C3%AD_L%E1%BB%A5c)\
**Post date:** [October 19, 2023, 4:54am UTC](https://discuss.roboflow.com/t/how-to-convert-coco-segmentation-to-tfrecord-use-for-tf-segment-model/3467/1 "2023-10-19T04:54:54Z")

</div>

How to convert COCO-segmentation to TFrecord use for TF segment model

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [October 24, 2023, 8:29pm UTC](https://discuss.roboflow.com/t/how-to-convert-coco-segmentation-to-tfrecord-use-for-tf-segment-model/3467/3 "2023-10-24T20:29:50Z")

</div>

Hi @Khí_Lục

You can create a new project and upload your annotated COCO data into your project. Once you have your data, you should create a version of your dataset and apply whatever preprocessing or augmentation steps you’d like.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/9/91aea416ad1eacaa97582de9c62d5d0c91b55593.png)

Then, export as a TFRecord:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/c/ca732eec730ced1f86ac3a99eaa811ab93220684.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [November 13, 2023, 5:36am UTC](https://discuss.roboflow.com/t/how-to-convert-coco-segmentation-to-tfrecord-use-for-tf-segment-model/3467/4 "2023-11-13T05:36:49Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
