CMAE
The official implementation of CMAE https://arxiv.org/abs/2207.13532 and https://ieeexplore.ieee.org/document/10330745
File Explorer
Download Latest Version (.zip)- __init__.py
- inference.py
- __init__.py
- cosine_annealing_hook.py
- momentum_update_hook.py
- __init__.py
- lars.py
- layer_decay_optim_wrapper_constructor.py
- __init__.py
- __init__.py
- auto_augment.py
- formatting.py
- loading.py
- processing.py
- pytorch_transform.py
- wrappers.py
- __init__.py
- builder.py
- cmae_dataset.py
- dataset_wrappers.py
- imageNet_fine.py
- mae_dataset.py
- utils.py
- __init__.py
- single_label.py
- __init__.py
- __init__.py
- base.py
- classification.py
- cmae.py
- mae.py
- __init__.py
- cmae_vit.py
- mae_vit.py
- mim_cls_vit.py
- transformer_utils.py
- vision_transformer.py
- __init__.py
- cls_head.py
- cmae_head.py
- mae_head.py
- __init__.py
- cross_entropy_loss.py
- label_smooth_loss.py
- utils.py
- __init__.py
- mae_neck.py
- nonlinear_neck.py
- __init__.py
- augments.py
- cutmix.py
- identity.py
- mixup.py
- resizemix.py
- utils.py
- __init__.py
- accuracy.py
- embed.py
- helpers.py
- position_embedding.py
- __init__.py
- builder.py
- __init__.py
- collect.py
- collect_env.py
- gather.py
- misc.py
- setup_env.py
- test_helper.py
- __init__.py
- registry.py
- version.py
- cmae_base_pre1600_8x128_100e_in1k.py
- cmae_base_pre1600_8x128_100e_in1k_amp.py
- cmae_base_pre300_8x128_100e_in1k.py
- cmae_base_pre300_8x128_100e_in1k_amp.py
- mae_base_pre300_8x128_100e_in1k.py
- cmae_vit-base-p16_16xb256-coslr-300e_in1k.py
- cmae_vit-base-p16_32xb128-coslr-1600e_in1k.py
- cmae_vit-base-p16_32xb128-coslr-300e_in1k.py
- cmae_vit-base-p16_32xb128-coslr-800e_in1k.py
- mae_vit-base-p16_32xb128-coslr-1600e_in1k.py
- mae_vit-base-p16_32xb128-coslr-300e_in1k.py
- mae_vit-base-p16_32xb128-coslr-800e_in1k.py
- mminstall.txt
- runtime.txt
- tests.txt
- .DS_Store
- pipeline.jpg
- convert_mae.py
- dist_test.sh
- dist_train.sh
- extract_backbone_weights.py
- test.py
- train.py
- .gitignore
- README.md
- requirements.txt
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/ZhichengHuang/CMAE
Downloads the entire project code from GitHub to your computer.
cd CMAE
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip3 install boto3 addict tqdm regex pyyaml opencv-python opencv-contrib-python future tensorboard filelock yapf attrs einops opencv-python-headless numpy scipy mmcv==2.1.0 psutil mmengine timm
Installs the package published on PyPI directly β no need to clone the source.
pip3 install -v -e .
Installs the package published on PyPI directly β no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip3 install boto3 addict tqdm regex pyyaml opencv-python opencv-contrib-python future tensorboard filelock yapf attrs einops opencv-python-headless numpy scipy mmcv==2.1.0 psutil mmengine timm
Installs the package published on PyPI directly β no need to clone the source.
pip3 install -v -e .
Installs the package published on PyPI directly β no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
