Skip to content
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

Request for sharing "netsim" yaml configuration file for CUTS-PLUS? #10

Open
SaqibMamoon opened this issue Jul 6, 2024 · 0 comments
Open

Comments

@SaqibMamoon
Copy link

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant