Tensorflow 2.8图像分割带有自定义数据集

发布于 2025-01-22 15:05:13 字数 388 浏览 5 评论 0原文

我关注此图像分割的教程使用Tensorflow 2.8。

我有一个图像数据集及其注释,我想用于语义分割。如何使用自定义数据集使用此模型?

他们在这里使用示例数据集,

dataset, info = tfds.load('oxford_iiit_pet:3.*.*', with_info=True)

我的数据集有两个带有图像及其注释的文件夹(单类),类似于教程中显示的输入和掩码图像。如何使用这些图像来训练本教程中显示的模型?

I am following this tutorial for image segmentation using Tensorflow 2.8.

I have a dataset of images and their annotations which I want to use for semantic segmentation. How can I use this model with a custom dataset?

They are using a sample dataset here

dataset, info = tfds.load('oxford_iiit_pet:3.*.*', with_info=True)

My dataset has two folders with images and their annotations (single class), similar to the input and mask image shown in the tutorial. How can I use those images to train the model shown in this tutorial?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文