diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b49e198 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +[*.{js,jsx,html,sass,py,md}] +charset = utf-8 +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..704802b --- /dev/null +++ b/.gitignore @@ -0,0 +1,157 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + + +# image +#*.jpg + +# pdf +*.pdf + +# zip +*.zip + +# json files +*.json + +# tags +*.tag +*.tags +*.tags_sorted_by_file + +# some file used for personal convenience +backup/ +images/*.txt +script/c*_train_split.sh +script/vis.sh +script/inspur_tensorboard.sh +script/inspur_train_split.sh +script/inspur*.sh +utils/dis.py + +*.xlsx +vis_split.py +*.html diff --git a/miscs/checkpoints.md b/miscs/checkpoints.md index 6cdd6f9..de3d6bd 100644 --- a/miscs/checkpoints.md +++ b/miscs/checkpoints.md @@ -12,17 +12,17 @@ Each zip file contains 4 types of files | Methods | Top-1./Top-5 Acc (%) | # MParams/GFLOPs | Checkpoints | |-----------------------------------|-----------------------|---------------------|--------------| -| ResNet-50, 224px | 78.84 / 94.47 | 25.7 / 5.5 | [resnet50_split1_imagenet_256_06](TODO) | -| ResNet-110, 224px | 80.16 / 94.54 | 44.8 / 9.2 | [resnet101_split1_imagenet_256_01](TODO) | -| WRN-50-2, 224px | 80.66 / 95.16 | 68.9 / 12.8 | [wide_resnet50_2_split1_imagenet_256_01](TODO) | -| WRN-50-2, S=2, 224px | 79.64 / 94.82 | 51.4 / 10.9 | [wide_resnet50_2_split2_imagenet_256_02](TODO) | -| WRN-50-3, 224px | 80.74 / 95.40 | 135.0 / 23.8 | [wide_resnet50_3_split1_imagenet_256_01](TODO) | -| WRN-50-3, S=2, 224px | 81.42 / 95.62 | 138.0 / 25.6 | [wide_resnet50_3_split2_imagenet_256_02](TODO) | -| ResNeXt-101, 64x4d, 224px | 81.57 / 95.73 | 83.6 / 16.9 | [resnext101_64x4d_split1_imagenet_256_01](TODO) | -| ResNeXt-101, 64x4d, S=2, 224px | 82.13 / 95.98 | 88.6 / 18.8 | [resnext101_64x4d_split2_imagenet_256_02](TODO) | -| EfficientNet-B7, 320px | 81.83 / 95.78 | 66.7 / 10.6 | [efficientnetb7_split1_imagenet_128_03](TODO) | -| EfficientNet-B7, S=2, 320px | 82.74 / 96.30 | 68.2 / 10.5 | [efficientnetb7_split2_imagenet_128_02](TODO) | -| SE-ResNeXt-101, 64x4d, S=2, 416px | 83.34 / 96.61 | 98.0 / 61.1 | [se_resnext101_64x4d_split2_imagenet_128_02](TODO) | +| ResNet-50, 224px | 78.84 / 94.47 | 25.7 / 5.5 | [resnet50_split1_imagenet_256_06](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/resnet50_split1_imagenet_256_06.zip) | +| ResNet-110, 224px | 80.16 / 94.54 | 44.8 / 9.2 | [resnet101_split1_imagenet_256_01](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/resnet101_split1_imagenet_256_01.zip) | +| WRN-50-2, 224px | 80.66 / 95.16 | 68.9 / 12.8 | [wide_resnet50_2_split1_imagenet_256_01](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/wide_resnet50_2_split1_imagenet_256_01.zip) | +| WRN-50-2, S=2, 224px | 79.64 / 94.82 | 51.4 / 10.9 | [wide_resnet50_2_split2_imagenet_256_02](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/wide_resnet50_2_split2_imagenet_256_02.zip) | +| WRN-50-3, 224px | 80.74 / 95.40 | 135.0 / 23.8 | [wide_resnet50_3_split1_imagenet_256_01](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/wide_resnet50_3_split1_imagenet_256_01.zip) | +| WRN-50-3, S=2, 224px | 81.42 / 95.62 | 138.0 / 25.6 | [wide_resnet50_3_split2_imagenet_256_02](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/wide_resnet50_3_split2_imagenet_256_02.zip) | +| ResNeXt-101, 64x4d, 224px | 81.57 / 95.73 | 83.6 / 16.9 | [resnext101_64x4d_split1_imagenet_256_01](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/resnext101_64x4d_split1_imagenet_256_01.zip) | +| ResNeXt-101, 64x4d, S=2, 224px | 82.13 / 95.98 | 88.6 / 18.8 | [resnext101_64x4d_split2_imagenet_256_02](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/resnext101_64x4d_split2_imagenet_256_02.zip) | +| EfficientNet-B7, 320px | 81.83 / 95.78 | 66.7 / 10.6 | [efficientnetb7_split1_imagenet_128_03](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/efficientnetb7_split1_imagenet_128_03.zip) | +| EfficientNet-B7, S=2, 320px | 82.74 / 96.30 | 68.2 / 10.5 | [efficientnetb7_split2_imagenet_128_02](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/efficientnetb7_split2_imagenet_128_02.zip) | +| SE-ResNeXt-101, 64x4d, S=2, 416px | 83.34 / 96.61 | 98.0 / 61.1 | [se_resnext101_64x4d_split2_imagenet_128_02](https://github.com/mzhaoshuai/SplitNet-Divide-and-Co-training/releases/download/1.0.0/se_resnext101_64x4d_split2_imagenet_128_02.zip) | ## CIFAR-100