├── README.md ├── collect_metrics.py ├── configs ├── basic.json ├── linear.json ├── linear │ ├── cifar10.json │ ├── imagenet.json │ ├── svhn.json │ └── tinyimagenet.json ├── pcssr.json ├── pcssr │ ├── cifar10.json │ ├── imagenet.json │ ├── svhn.json │ └── tinyimagenet.json ├── rcssr.json └── rcssr │ ├── cifar10.json │ ├── imagenet.json │ ├── svhn.json │ └── tinyimagenet.json ├── dataset.py ├── exps ├── cifar10 │ ├── spl_a.json │ ├── spl_b.json │ ├── spl_c.json │ ├── spl_d.json │ └── spl_e.json ├── imagenet │ └── vs_inaturalist.json ├── svhn │ ├── spl_a.json │ ├── spl_b.json │ ├── spl_c.json │ ├── spl_d.json │ └── spl_e.json └── tinyimagenet │ ├── spl_a.json │ ├── spl_b.json │ ├── spl_c.json │ ├── spl_d.json │ └── spl_e.json ├── main.py ├── methods ├── augtools.py ├── cssr.py ├── cssr_ft.py ├── resnet.py ├── util.py └── wideresnet.py ├── metrics.py └── run.sh /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/README.md -------------------------------------------------------------------------------- /collect_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/collect_metrics.py -------------------------------------------------------------------------------- /configs/basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/basic.json -------------------------------------------------------------------------------- /configs/linear.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/linear.json -------------------------------------------------------------------------------- /configs/linear/cifar10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/linear/cifar10.json -------------------------------------------------------------------------------- /configs/linear/imagenet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/linear/imagenet.json -------------------------------------------------------------------------------- /configs/linear/svhn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/linear/svhn.json -------------------------------------------------------------------------------- /configs/linear/tinyimagenet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/linear/tinyimagenet.json -------------------------------------------------------------------------------- /configs/pcssr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/pcssr.json -------------------------------------------------------------------------------- /configs/pcssr/cifar10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/pcssr/cifar10.json -------------------------------------------------------------------------------- /configs/pcssr/imagenet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/pcssr/imagenet.json -------------------------------------------------------------------------------- /configs/pcssr/svhn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/pcssr/svhn.json -------------------------------------------------------------------------------- /configs/pcssr/tinyimagenet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/pcssr/tinyimagenet.json -------------------------------------------------------------------------------- /configs/rcssr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/rcssr.json -------------------------------------------------------------------------------- /configs/rcssr/cifar10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/rcssr/cifar10.json -------------------------------------------------------------------------------- /configs/rcssr/imagenet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/rcssr/imagenet.json -------------------------------------------------------------------------------- /configs/rcssr/svhn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/rcssr/svhn.json -------------------------------------------------------------------------------- /configs/rcssr/tinyimagenet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/configs/rcssr/tinyimagenet.json -------------------------------------------------------------------------------- /dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/dataset.py -------------------------------------------------------------------------------- /exps/cifar10/spl_a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/cifar10/spl_a.json -------------------------------------------------------------------------------- /exps/cifar10/spl_b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/cifar10/spl_b.json -------------------------------------------------------------------------------- /exps/cifar10/spl_c.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/cifar10/spl_c.json -------------------------------------------------------------------------------- /exps/cifar10/spl_d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/cifar10/spl_d.json -------------------------------------------------------------------------------- /exps/cifar10/spl_e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/cifar10/spl_e.json -------------------------------------------------------------------------------- /exps/imagenet/vs_inaturalist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/imagenet/vs_inaturalist.json -------------------------------------------------------------------------------- /exps/svhn/spl_a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/svhn/spl_a.json -------------------------------------------------------------------------------- /exps/svhn/spl_b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/svhn/spl_b.json -------------------------------------------------------------------------------- /exps/svhn/spl_c.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/svhn/spl_c.json -------------------------------------------------------------------------------- /exps/svhn/spl_d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/svhn/spl_d.json -------------------------------------------------------------------------------- /exps/svhn/spl_e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/svhn/spl_e.json -------------------------------------------------------------------------------- /exps/tinyimagenet/spl_a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/tinyimagenet/spl_a.json -------------------------------------------------------------------------------- /exps/tinyimagenet/spl_b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/tinyimagenet/spl_b.json -------------------------------------------------------------------------------- /exps/tinyimagenet/spl_c.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/tinyimagenet/spl_c.json -------------------------------------------------------------------------------- /exps/tinyimagenet/spl_d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/tinyimagenet/spl_d.json -------------------------------------------------------------------------------- /exps/tinyimagenet/spl_e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/exps/tinyimagenet/spl_e.json -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/main.py -------------------------------------------------------------------------------- /methods/augtools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/methods/augtools.py -------------------------------------------------------------------------------- /methods/cssr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/methods/cssr.py -------------------------------------------------------------------------------- /methods/cssr_ft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/methods/cssr_ft.py -------------------------------------------------------------------------------- /methods/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/methods/resnet.py -------------------------------------------------------------------------------- /methods/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/methods/util.py -------------------------------------------------------------------------------- /methods/wideresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/methods/wideresnet.py -------------------------------------------------------------------------------- /metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/metrics.py -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyzedd/CSSR/HEAD/run.sh --------------------------------------------------------------------------------