PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

[General Issue] How to train using custom dataset?

Open sarmientoj24 opened this issue 2 years ago • 3 comments

The README does not contain any instructions how to do this on custom data.

For example, how do I change these:

train_dataset:
  type: OpticDiscSeg
  dataset_root: 

sarmientoj24 avatar Sep 21 '22 07:09 sarmientoj24

参考文档进行自定义数据集的准备https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.6/docs/data/marker/marker_cn.md

wuyefeilin avatar Sep 21 '22 08:09 wuyefeilin

i've already done that, but how do you add it there?

sarmientoj24 avatar Sep 21 '22 09:09 sarmientoj24

Use the Dataset class, https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.6/paddleseg/datasets/dataset.py like: train_dataset: type: Dataset dataset_root: xxx

wuyefeilin avatar Sep 21 '22 09:09 wuyefeilin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 05 '22 17:12 github-actions[bot]