qubvel / segmentation_models.pytorch

Segmentation models with pretrained backbones. PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

epsilon in jaccardscore and dicescore is not read as a torch tensor

TomatoGreen2 opened this issue · comments

suggestion - add line:
eps=torch.tensor(1e-07, dtype=torch.float32) or
eps=torch.tensor(1e-07, dtype=gt.dtype)

Maybe you should suggest this PR to https://github.com/isaaccorley/torchseg

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been stalled for 7 days with no activity.