Skip to content

Support custom mean-std normalization #32

Closed

Description

@monatis

Some LAION checkpoints, the large variant for example, use different mean and std values for image normalization. Figure out a way to, preferably, encode what values to use, or introduce another funcion to preprocess with these values.

Activity

  1. changed the title [-]Support custom means-std normalization[/-] [+]Support custom mean-std normalization[/+] on Jul 7, 2023
  2. Green-Sky commented on Jul 7, 2023

    @Green-Sky
    Collaborator

    yay, more hyper parameters
    cant wait for gguf

  3. monatis commented on Jul 8, 2023

    @monatis
    OwnerAuthor

    Yes, another issue is, there seems to be no programatic way to infer what values to use apart from the notes in open-clip's readme. So I'm afraid we need to leave it to the user to specify whether to use custom mean-std values with a flag when converting models. Maybe a better way?

  4. monatis commented on Sep 27, 2023

    @monatis
    OwnerAuthor

    Released in #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions