DiscoGAN-pytorch icon indicating copy to clipboard operation
DiscoGAN-pytorch copied to clipboard

[!] Sampled dataset from A and B have different # of data. Try resampling...

Open EliasVansteenkiste opened this issue 7 years ago • 5 comments

I get the following warning message;

[!] Sampled dataset from A and B have different # of data. Try resampling...

From what I understand it is not necessary that both data sets are equal in size? Both datasets have pictures with 256x256 pixels.

EliasVansteenkiste avatar Aug 13 '17 18:08 EliasVansteenkiste

I have same problem...

qiaott avatar Jan 08 '18 07:01 qiaott

I don't remember it clearly, but it could be a problem of png. An image of png has 4 color channels but the current code may only support 3 color channel, I guess?

carpedm20 avatar Jan 08 '18 07:01 carpedm20

I encountered this issue as well, and the training is also interrupted after resampling.

zmykevin avatar Feb 24 '18 05:02 zmykevin

The training seems to continue but that iteration gets skipped, any solution to the problem?

harsmac avatar Apr 16 '19 20:04 harsmac

Declining the batch size < the max number of your dataset.

SwordHolderSH avatar Nov 09 '19 19:11 SwordHolderSH