Skip to content

Kernel restarting in VisualSearch #15

@loriotpiroloriol

Description

@loriotpiroloriol

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions