Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask generation functions *sometimes* fail to produce proper masks #4

Open
nikitadurasov opened this issue May 8, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@nikitadurasov
Copy link
Owner

Here is a problem. When result from here fails to produce proper masks -- the number of features in those masks isn't equal to the number of channels required.

The current solution is just to try searching for a new value of scale parameter via grid-search -- trying values from np.linspace. This solution is far from perfect since for some function configurations it fails to find proper scale. Need to implement something more sophisticated like binary search or something so it would work for every possible configuration.

@nikitadurasov nikitadurasov self-assigned this May 8, 2021
@nikitadurasov nikitadurasov added the bug Something isn't working label May 8, 2021
@Beichen-Ma
Copy link

Here I change the condition from ">=" to "==", and resolved the problem of fails to produce mask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants