|
2 | 2 |
|
3 | 3 | This repo constains the pytorch implementation for the CVPR2018 unsupervised learning paper [(arxiv)](https://arxiv.org/pdf/1805.01978.pdf).
|
4 | 4 |
|
5 |
| -``` |
6 |
| -@inproceedings{wu2018unsupervised, |
7 |
| - title={Unsupervised Feature Learning via Non-Parametric Instance Discrimination}, |
8 |
| - author={Wu, Zhirong and Xiong, Yuanjun and Stella, X Yu and Lin, Dahua}, |
9 |
| - booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition}, |
10 |
| - year={2018} |
11 |
| -} |
12 |
| -``` |
| 5 | +## Updated Pretrained Model |
13 | 6 |
|
14 |
| -## Highlight |
| 7 | +An updated instance discrimination model with memory bank implementation and with nce-k=65536 negatives is provided. |
| 8 | +The updated model is trained with Softmax-CE loss as in CPC/MoCo instead of the original NCE loss. |
15 | 9 |
|
16 |
| -- We formulate unsupervised learning from a completely different non-parametric perspective. |
17 |
| -- Feature encodings can be as compact as 128 dimension for each image. |
18 |
| -- Enjoys the benefit of advanced architectures and techniques from supervised learning. |
19 |
| -- Runs seamlessly with nearest neighbor classifiers. |
| 10 | +- [ResNet 50](https://frontiers.blob.core.windows.net/pretraining/checkpoints/pil_pretrained_models/lemniscate/lemniscate_resnet50_update.pth) (Linear ImageNet Acc 58.5%) |
20 | 11 |
|
21 |
| -## Pretrained Model |
22 | 12 |
|
23 |
| -Currently, we provide pretrained models of ResNet 18 and ResNet 50. |
| 13 | +**Oldies**: original releases of ResNet18 and ResNet50 trained with 4096 negatives and the NCE loss. |
24 | 14 | Each tar ball contains the feature representation of all ImageNet training images (600 mb) and model weights (100-200mb).
|
25 | 15 | You can also get these representations by forwarding the network for the entire ImageNet images.
|
26 | 16 |
|
27 |
| -- [ResNet 18](http://zhirongw.westus2.cloudapp.azure.com/models/lemniscate_resnet18.pth.tar) (top 1 accuracy 41.0%) |
28 |
| -- [ResNet 50](http://zhirongw.westus2.cloudapp.azure.com/models/lemniscate_resnet50.pth.tar) (top 1 accuracy 46.8%) |
| 17 | +- [ResNet 18](https://frontiers.blob.core.windows.net/pretraining/checkpoints/pil_pretrained_models/lemniscate/lemniscate_resnet18.pth) (top 1 nearest neighbor accuracy 41.0%) |
| 18 | +- [ResNet 50](https://frontiers.blob.core.windows.net/pretraining/checkpoints/pil_pretrained_models/lemniscate/lemniscate_resnet50.pth) (top 1 nearest neighbor accuracy 46.8%) |
| 19 | + |
| 20 | + |
| 21 | +## Highlight |
| 22 | + |
| 23 | +- We formulate unsupervised learning from a completely different non-parametric perspective. |
| 24 | +- Feature encodings can be as compact as 128 dimension for each image. |
| 25 | +- Enjoys the benefit of advanced architectures and techniques from supervised learning. |
| 26 | +- Runs seamlessly with nearest neighbor classifiers. |
29 | 27 |
|
30 | 28 | ## Nearest Neighbor
|
31 | 29 |
|
@@ -65,6 +63,17 @@ Please refer to the official repo for details of data preparation and hardware c
|
65 | 63 | `python cifar.py --nce-k 0 --nce-t 0.1 --lr 0.03`
|
66 | 64 |
|
67 | 65 |
|
| 66 | +## Citation |
| 67 | + |
| 68 | +``` |
| 69 | +@inproceedings{wu2018unsupervised, |
| 70 | + title={Unsupervised Feature Learning via Non-Parametric Instance Discrimination}, |
| 71 | + author={Wu, Zhirong and Xiong, Yuanjun and Stella, X Yu and Lin, Dahua}, |
| 72 | + booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition}, |
| 73 | + year={2018} |
| 74 | +} |
| 75 | +``` |
| 76 | + |
68 | 77 | ## Contact
|
69 | 78 |
|
70 | 79 | For any questions, please feel free to reach
|
|
0 commit comments