hustvl / CrossVIS

[ICCV 2021] Crossover Learning for Fast Online Video Instance Segmentation
https://arxiv.org/abs/2104.05970
Other
85 stars 4 forks source link

About the modification of your dataloader #20

Closed HarryHsing closed 2 years ago

HarryHsing commented 2 years ago

Hi Vealocia. Could you tell me where can I modify the data loader, so that I can (1) load more than 2 images in a batch (2) load these images in a sequential order instead of randomly?

Thank you very much for your support in advance!

HarryHsing commented 2 years ago

I found the solution to my (2)second question by changing cfg.MODEL.CROSSVIS.CROSSOVER.SAMPLE_REGION

vealocia commented 2 years ago

Question 1 is more complicated. You can try to modifying the dataloader and dataset mapper firstly.

vealocia commented 2 years ago

Dataset mapper can be found in here. And you can sample more images by changing here

HarryHsing commented 2 years ago

Dataset mapper can be found in here. And you can sample more images by changing here

Got it! Thank you for your prompt response, I will try modifying this.

fxooooooooo commented 2 years ago

I found the solution to my (2)second question by changing cfg.MODEL.CROSSVIS.CROSSOVER.SAMPLE_REGION

Hello, MODEL.CROSSVIS.CROSSOVER.SAMPLE_REGION = 20 how much should I change to will become sequentially sampled? I've tried 1 can do it sequentially, but 2 can also do it sequentially, why is that?