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
UNN-main/CUTS_Plus/cuts_plus.py", line 395, in main Graph = multicad.train(data, mask, data, true_cm)
UNN-main/CUTS_Plus/cuts_plus.py", line 305, in train y_pred, loss = self.latent_data_pred(x, y, mask_x, mask_y)
UNN-main/CUTS_Plus/cuts_plus.py", line 162, in latent_data_pred graph_sampled = sample_bernoulli(Graph, self.args.batch_size)
UNN-main/CUTS_Plus/cuts_plus.py", line 147, in sample_bernoulli return torch.bernoulli(sample_matrix).float()
RuntimeError: Expected p_in >= 0 && p_in <= 1 to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)
`
Thanks in advance!!
The text was updated successfully, but these errors were encountered:
Dear @jarrycyx
Could you please share the yaml configuration file for "netsim" experiment in CUTS-PLUS?
Because i'm facing the constant issue below, and i can't figure out why and how to resolve it.
`
graph = cuts_plus.main(data, mask, true_cm, sota_opt.cuts_plus, log, device=device)
UNN-main/CUTS_Plus/cuts_plus.py", line 395, in main Graph = multicad.train(data, mask, data, true_cm)
UNN-main/CUTS_Plus/cuts_plus.py", line 305, in train y_pred, loss = self.latent_data_pred(x, y, mask_x, mask_y)
UNN-main/CUTS_Plus/cuts_plus.py", line 162, in latent_data_pred graph_sampled = sample_bernoulli(Graph, self.args.batch_size)
UNN-main/CUTS_Plus/cuts_plus.py", line 147, in sample_bernoulli return torch.bernoulli(sample_matrix).float()
RuntimeError: Expected p_in >= 0 && p_in <= 1 to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)
`
Thanks in advance!!
The text was updated successfully, but these errors were encountered: