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
https://github.com/dhruvdcoder/structured_prediction_baselines/blob/cf7dbf23439c9cc817eebe25545c25b0cf7dfd9f/structured_prediction_baselines/modules/loss/dvn.py#L184-L186
https://github.com/dhruvdcoder/structured_prediction_baselines/blob/cf7dbf23439c9cc817eebe25545c25b0cf7dfd9f/structured_prediction_baselines/modules/loss/dvn.py#L322
This violates the base-class return type-- the caller has to implement an if condition.
The solution is to generalize the base-class function signature.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/dhruvdcoder/structured_prediction_baselines/blob/cf7dbf23439c9cc817eebe25545c25b0cf7dfd9f/structured_prediction_baselines/modules/loss/dvn.py#L184-L186
https://github.com/dhruvdcoder/structured_prediction_baselines/blob/cf7dbf23439c9cc817eebe25545c25b0cf7dfd9f/structured_prediction_baselines/modules/loss/dvn.py#L322
This violates the base-class return type-- the caller has to implement an if condition.
The solution is to generalize the base-class function signature.
The text was updated successfully, but these errors were encountered: