alexandre-verinotableandefficientmodel | Master-IASD | coktailjet | Error | 0 | 100 | 0 | bytes: b'Traceback (most recent call last):\n File "/home/lamsade/testplatform/test-platform-a1/repos/Master-IASD/alexandre-verinotableandefficientmodel/generate.py", line 39, in \n P, Q = torch_matrix_factorization_gradient_descent(sum_tensor, k, alpha, lambda_, mu, ratio)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/lamsade/testplatform/test-platform-a1/repos/Master-IASD/alexandre-verinotableandefficientmodel/tmf.py", line 28, in torch_matrix_factorization_gradient_descent\n R_t, R_val = utils.train_val(R_tensor, ratio)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/lamsade/testplatform/test-platform-a1/repos/Master-IASD/alexandre-verinotableandefficientmodel/utils.py", line 10, in train_val\n R_t = torch.where(mask, R, torch.full_like(R, float(\'nan\')))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!\n' |