XMem icon indicating copy to clipboard operation
XMem copied to clipboard

How to segment my own datasets?

Open glode515 opened this issue 3 years ago • 3 comments
trafficstars

How can I segment my image or video?

glode515 avatar Jul 20 '22 02:07 glode515

Does this help: https://github.com/hkchengrex/XMem/blob/main/docs/INFERENCE.md?

hkchengrex avatar Jul 20 '22 02:07 hkchengrex

I found eval.py can only infer specific datasets, such as "16/D17/Y18/Y19/LV1/LV3/G"

glode515 avatar Jul 20 '22 02:07 glode515

Did you see the "On custom data" section?

hkchengrex avatar Jul 20 '22 02:07 hkchengrex

If I want to train my own dataset, do I need to set up the datasets in it according to GETTING_STARTED.md?

mjw123bs avatar Aug 03 '22 02:08 mjw123bs

@mjw123bs If you are not going to use them then no.

hkchengrex avatar Aug 03 '22 07:08 hkchengrex

@mjw123bs If you are not going to use them then no.

ok thanks, i'll try it.

mjw123bs avatar Aug 03 '22 07:08 mjw123bs

@mjw123bs If you are not going to use them then no.

Hi, I have some problems, how to train on custom data with a single gpu? And in the "on custom data" section, is .png a mask? Is video1 the original video?

mjw123bs avatar Aug 07 '22 04:08 mjw123bs

@mjw123bs

  1. I don't know how is your data formatted. I imagine you can copy/paste/edit some of our loading code in train.py and dataset/vos_dataset.py.
  2. Yes. Like DAVIS/YouTubeVOS.

hkchengrex avatar Aug 07 '22 04:08 hkchengrex

Thanks for the quick reply! I'll try it.

mjw123bs avatar Aug 07 '22 05:08 mjw123bs

Thanks for the quick reply! I'll try it.

Could you please tell me whether you have successfully deployed? Train your own data set on a single GPU.

Eliza-wxq avatar Dec 14 '22 12:12 Eliza-wxq

Thanks for the quick reply! I'll try it.

Could you please tell me whether you have successfully deployed? Train your own data set on a single GPU.

Sorry, no, I haven't done any research since then. I will inform you as soon as I get the results.

mjw123bs avatar Dec 14 '22 12:12 mjw123bs

Thank you very much for your quick reply

Eliza-wxq avatar Dec 14 '22 12:12 Eliza-wxq