mixup-generator icon indicating copy to clipboard operation
mixup-generator copied to clipboard

how to implement it in pytorch?

Open sxzy opened this issue 6 years ago • 3 comments

hello I wonder if it can be implemented in pytorch ?

sxzy avatar Oct 25 '18 12:10 sxzy

You can define your own Dataset class that inherits torch.utils.data.Dataset class and use MixupGenerator inside the custom Dataset class.

yu4u avatar Oct 25 '18 14:10 yu4u

hello, I wonder if it can be implemented in tensorflow?

balajib363 avatar Aug 11 '19 12:08 balajib363

Although I would not provide code examples, it should be. The main part of this implementation does not depend on any framework.

yu4u avatar Aug 11 '19 15:08 yu4u