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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi, I've tried to run PyTorch implementation in Python 3.6 and got the error:
226 l = iter(l) 227 if ignore_nan: --> 228 l = ifilterfalse(isnan, l) 229 try: 230 n = 1 NameError: name 'ifilterfalse' is not defined
I think the function needs to be aliased after import in Python 3 like this:
from itertools import filterfalse as filterfalse
The text was updated successfully, but these errors were encountered:
I suppose you meant from itertools import filterfalse as ifilterfalse. That is correct. I'm open to a PR if you want to send one. Cheers, Maxim
from itertools import filterfalse as ifilterfalse
Sorry, something went wrong.
#16 PR for solving this problem.
Thanks!
No branches or pull requests
Hi,
I've tried to run PyTorch implementation in Python 3.6 and got the error:
I think the function needs to be aliased after import in Python 3 like this:
The text was updated successfully, but these errors were encountered: