You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to train a social NCE with GPU option using python imitate.py --contrast_weight=2.0 --contrast_sampling='event' --gpu, and I got an error below
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mask in method wrapper__masked_select)
Does anyone help me to fix this issue? Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hello,
I tried to train a social NCE with GPU option using
python imitate.py --contrast_weight=2.0 --contrast_sampling='event' --gpu
, and I got an error belowDoes anyone help me to fix this issue? Thanks in advance.
The text was updated successfully, but these errors were encountered: