This PR adds an option to the Lightning CLI to output patch level embeddings. I.e. one embedding per patch in each chip. The band group dimension is reduced and, so the patch embeddings are averages over the band groups.
This adds two args to the CLI output_patch_embeddings, and shuffle. Because for the patch embeddings we need to ensure that shuffle is off, while it is on by default. See also https://github.com/Clay-foundation/model/issues/123.
Updated the documentation to explain these changes.
This PR adds an option to the Lightning CLI to output patch level embeddings. I.e. one embedding per patch in each chip. The band group dimension is reduced and, so the patch embeddings are averages over the band groups.
This adds two args to the CLI
output_patch_embeddings
, andshuffle
. Because for the patch embeddings we need to ensure that shuffle is off, while it is on by default. See also https://github.com/Clay-foundation/model/issues/123.Updated the documentation to explain these changes.
This PR Closes https://github.com/Clay-foundation/model/issues/130