Skip to content

Commit

Permalink
Merge pull request #16 from MihailSalnikov/patch-1
Browse files Browse the repository at this point in the history
supporting python3 for pytorch
  • Loading branch information
bermanmaxim authored Nov 19, 2018
2 parents c74451a + 8e49005 commit 4b0e391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch/lovasz_losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
try:
from itertools import ifilterfalse
except ImportError: # py3k
from itertools import filterfalse
from itertools import filterfalse as ifilterfalse


def lovasz_grad(gt_sorted):
Expand Down

0 comments on commit 4b0e391

Please # to comment.