Skip to content

Conversation

Arka161
Copy link

@Arka161 Arka161 commented Jun 14, 2021

In some cases, if an image consists of homogenous patches, we might get a division by zero issue that results in no features being detected.

To handle this issue, I have added an epsilon, that averts the error. The same fix has been raised in the PyTorch repository of QATM.

A zero SD in the subset of tensors is pretty common in various kinds of industrial images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant