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
The append_simulations methods for the NRE and NLE classes have a return type of RatioEstimator and LikelihoodEstimator respectively, but the parent method they inherit has a return type of NeuralInference.
Currently, there is a # type ignore on the method calls so pyright will not display an error. But if you remove those comments pyright will display an error that there is a return type mismatch.
The
append_simulations
methods for theNRE
andNLE
classes have a return type ofRatioEstimator
andLikelihoodEstimator
respectively, but the parent method they inherit has a return type ofNeuralInference
.Currently, there is a
# type ignore
on the method calls so pyright will not display an error. But if you remove those comments pyright will display an error that there is a return type mismatch.sbi/sbi/inference/trainers/nre/nre_base.py
Line 94 in 0ea6f63
sbi/sbi/inference/trainers/nle/nle_base.py
Line 84 in 0ea6f63
sbi/sbi/inference/trainers/base.py
Line 234 in 0ea6f63
The text was updated successfully, but these errors were encountered: