Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public static final int INPUT_IMG_SIZE_WIDTH = 224;
public static final int INPUT_IMG_SIZE_HEIGHT = 224;
public static final int FLOAT_TYPE_SIZE = 4;
public static final int PIXEL_SIZE = 3;
public static final int MODEL_INPUT_SIZE = FLOAT_TYPE_SIZE * INPUT_IMG_SIZE_WIDTH * INPUT_IMG_SIZE_HEIGHT * PIXEL_SIZE;
public static final int IMAGE_MEAN = 0;
public static final float IMAGE_STD = 255.0f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.