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

_backselect function takes minute for a single image #1

Open
e7mul opened this issue Dec 30, 2021 · 0 comments
Open

_backselect function takes minute for a single image #1

e7mul opened this issue Dec 30, 2021 · 0 comments

Comments

@e7mul
Copy link

e7mul commented Dec 30, 2021

Hi! Thanks for providing code to reproduce your results!

I tried to run a simple experiment with the CIFAR-10 and ResNet18 model based on commands you provided in docstrings. While the training of the model went smoothly, I found that run_sis_on_cifar.py takes a lot of time. I managed to track the problem, which turned out to be the _backselect procedure. It takes approximately a minute to compute a mask for a single image with GPU. Is it expected? If so, how one can produce a masked version of the whole dataset?

Thanks for your help!

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

No branches or pull requests

1 participant