Closed redorangeyellowy closed 2 years ago
Hello!
The cost matrices (defined in mixup.py line 36) are located in GPUs as default when GPUs are available.
Change this line
https://github.com/snu-mllab/PuzzleMix/blob/e2dbf3a2371026411d5741d129f46bf3eb3d3465/mixup.py#L6
to
device = 'cpu'
then I believe it will work!
If there exist other problems please let me know.
Thanks. It works without any problems.
Hi.
I implemented your
Visulaization.ipynb
file with other dataset,but in the 'Transport' part, I got this problem:
So, I changed
device=cpu
todevice=cuda
and re-implemented.But I got another problem:
I don't understand why this happened.
Do you know how can I solve this problem?