Open PotatoLzy opened 1 year ago
https://github.com/Choubo/DRA/blob/3fb0e9cce9bee3c23072caa30c889b905c4830ed/datasets/mvtecad.py#L134
The implementation is in DRA/datasets/cutmix.py
Hi, @PotatoLzy
Thanks for your question. The formula and codes are different versions. The second half of the formula was indeed abandoned, and in the final implementation version, we directly pasted the patch on the complete image x_n.
Cheers, Choubo
Hello, I'm curious about how to understand your CutMix implementation. I only see this formular:
But when I try to understand the code, I think the latter part of this formula is not used. Can anyone help me solve this problem? Thx.