Open 4Statistics opened 6 years ago
Tested on 0.4.0
. Please give more details about your system setup and the error message if that does not resolve the issue. In any case, also consider using the salad library directly: https://github.com/domainadaptation/salad
I use python3.6 and Pytorch 0.4.1. I ran the program by "Python3.6 train.py". The error is show below.
RuntimeError: CUDA error: out of memory ####### Thank you very much.
@4Statistics , try to decrese the batch size, e.g. using
Python3.6 train.py --sourcebatch 20 --targetbatch 200
The default values are 100 and 1000, respectively, see https://github.com/stes/torch-associative/blob/cb66aef1d2296e54e09f6f970b775d5fd677601a/train.py#L30-L31
Let me know if this fixes the issue.
I just run your problem, but get an error like: Did I ignore something?
And if set "Python3.6 train.py --sourcebatch 20 --targetbatch 200", the result looks like overfitting.
What are the version of python and pytorch?Thank you very much! because I met a lot of errors.