Spaces:
Running on Zero
Running on Zero
Download timm/data/constants.py from hugging-apps/progresvit-classify: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/hugging-apps/progresvit-classify/resolve/main/timm/data/constants.py
- Command line
-
hf download hf://spaces/hugging-apps/progresvit-classify/timm/data/constants.py
-
curl -L -o constants.py https://huggingface.co/spaces/hugging-apps/progresvit-classify/resolve/main/timm/data/constants.py
442 Bytes
| DEFAULT_CROP_PCT = 0.875 | |
| DEFAULT_CROP_MODE = 'center' | |
| IMAGENET_DEFAULT_MEAN = (0.485, 0.456, 0.406) | |
| IMAGENET_DEFAULT_STD = (0.229, 0.224, 0.225) | |
| IMAGENET_INCEPTION_MEAN = (0.5, 0.5, 0.5) | |
| IMAGENET_INCEPTION_STD = (0.5, 0.5, 0.5) | |
| IMAGENET_DPN_MEAN = (124 / 255, 117 / 255, 104 / 255) | |
| IMAGENET_DPN_STD = tuple([1 / (.0167 * 255)] * 3) | |
| OPENAI_CLIP_MEAN = (0.48145466, 0.4578275, 0.40821073) | |
| OPENAI_CLIP_STD = (0.26862954, 0.26130258, 0.27577711) | |