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

Kernel restarting in VisualSearch #15

Open
loriotpiroloriol opened this issue Jun 16, 2023 · 0 comments
Open

Kernel restarting in VisualSearch #15

loriotpiroloriol opened this issue Jun 16, 2023 · 0 comments

Comments

@loriotpiroloriol
Copy link

Running VisualSearch1k.ipynb fails with error

Kernel Restarting
The kernel for VisualSearch1k.ipynb appears to have died. It will restart automatically.

The corresponding line in the Docker log is

[I 2023-06-16 09:39:03.923 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), keep random ports

This happens while running function generate_img2vec_dict().

It looks like this is an OOM error - reducing batch_size in the function call from 250 to 125 allows the notebook to complete.

Environment:

  • MacBook Pro M1
  • 16 GB RAM
  • Podman with 4 GB RAM allocated to VM
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