Skip to content

Speed up generate_embeddings function #19

Description

@cxgoogle

Right now the function just iterates over a list of files one at a time and:

  1. Converts the image to a tfrecord
  2. Calls the CXR foundation API
  3. Writes the output to disk

This is highly parallelizable and a simple call to multiprocessing may speed things up a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions