We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
The line:
edge_types[edge_types == 4] = 1.5
fails because edge_types is a long tensor, truncating 1.5 to 1. This replaces 4 with 1 instead of 1.5, affecting logic and results.
Impact: This propagates incorrect values, impacting downstream research like molecule and atom stabilities in works such as EQGAT-Diff and Semla-Flow.
Suggested Fix:
Convert edge_types to a floating-point tensor before replacement:
edge_types
edge_types = edge_types.float() edge_types[edge_types == 4] = 1.5
MiDi/midi/metrics/molecular_metrics.py
Line 304 in 775b731
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The line:
fails because edge_types is a long tensor, truncating 1.5 to 1. This replaces 4 with 1 instead of 1.5, affecting logic and results.
Impact:
This propagates incorrect values, impacting downstream research like molecule and atom stabilities in works such as EQGAT-Diff and Semla-Flow.
Suggested Fix:
Convert
edge_types
to a floating-point tensor before replacement:MiDi/midi/metrics/molecular_metrics.py
Line 304 in 775b731
The text was updated successfully, but these errors were encountered: