-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Went into (Pdb) mode when using 'exact' as inner_ot_method #4
Comments
Hi. Can you tell me in which pdb.set_trace() you're falling? You can check by typing executing Now, debugging the cause of that is a bit trick without more details of the data you're running this on. That error typically indicates that you're running into memory issues. Can you provide some statistics on your datasets? E.g., feature dimension, no. of classes, max no. of instances per class, and the hardware you're running this on. |
Hello! Thank you for your quick response! Here is my result of
As for my datasets, As for hardware, here is the info of CPU:
And some basic memory info:
Thank you very much! |
I run into (Pdb) mode when I was testing the code with
inner_ot_method='exact'
. It does not happen wheninner_ot_method='gaussian_approx'
. Basically I just followed the vanilla example. Here is my code:Both
dataset1
anddataset2
are created byTensorDataset
.And below is the output from the program.
There is no way for me to quit (Pdb) except for
quit
, which would terminal the program as well with an error returnedAbout my environment:
A new environment with
conda create -n name python=3.6
Pytorch installed by
conda install pytorch torchvision torchaudio cudatoolkit=10.1 -c pytorch
Then I followed the instructions in this repository
Please let me know how to solve this problem. Thank you very much!
The text was updated successfully, but these errors were encountered: