Skip to content

Instantly share code, notes, and snippets.

@frogermcs
Created February 22, 2019 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frogermcs/754fb6117584a6a6914067eff895fb2c to your computer and use it in GitHub Desktop.
Save frogermcs/754fb6117584a6a6914067eff895fb2c to your computer and use it in GitHub Desktop.
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