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

Error in sample_chromosome_matrix.py at line 39 #3

Open
zhuhw0916 opened this issue Feb 1, 2024 · 0 comments
Open

Error in sample_chromosome_matrix.py at line 39 #3

zhuhw0916 opened this issue Feb 1, 2024 · 0 comments

Comments

@zhuhw0916
Copy link

Hello!

I noticed that in the sample_chromosome_matrix.py file in your project, there seems to be an issue at line 39 that causes the program to execute with an exception. I have scrutinized the code and found that deleting that line resolves the issue.

torch.multinomial(input, num_samples, replacement=False, *, generator=None, out=None)

What this function does is to draw samples from a multinomial distribution. However, from what I can see, this line of code may have been misplaced, causing the program to run with an exception.

I suggest you try deleting that line and testing the code to confirm that the issue has been resolved. Please feel free to let me know if you need more information from me or have help with anything else.

Thanks!

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