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

the basic_generator has something wrong

Open garyliu0816 opened this issue 5 years ago • 0 comments

When you try to use basic_generator to generate data, the first time is right, the shape is

(32, 32, 32, 3) (32,)

But when you generate data again, the shape of data is

(32,32,3) (32,32,3)

It will cause the following function receive wrong inputs, such as

return seq.augment(images.transpose(0, 2, 3, 1)).transpose(0, 2, 3, 1)

The shape of "images" is determined by the basic_generator. Can you solve this problem?

garyliu0816 avatar May 28 '19 08:05 garyliu0816