Deep InfoMax (DIM), or "Learning Deep Representations by Mutual Information Estimation and Maximization"
rdevon/DIM 排名第 13,594,有 810 个星标。
同类别比较
rdevon/DIM 排名第 13,594,此处有 8 个同类条目;KevinCoble/AIToolbox 排名第 13,596。
同类别比较| 名称 | 排名 | 指标 |
|---|
| shariqiqbal2810/MAAC | 13,575 | - 语言:
- Python
- 星标数:
- 812
- 分叉数:
- 180
- 简介:
- Code for "Actor-Attention-Critic for Multi-Agent Reinforcement Learning" ICML 2019
|
|---|
| antao97/dgcnn.pytorch | 13,580 | - 语言:
- Python
- 星标数:
- 811
- 分叉数:
- 160
- 简介:
- A PyTorch implementation of Dynamic Graph CNN for Learning on Point Clouds (DGCNN)
|
|---|
| uzh-rpg/agile_autonomy | 13,584 | - 语言:
- C++
- 星标数:
- 811
- 分叉数:
- 192
- 简介:
- Repository Containing the Code associated with the Paper: "Learning High-Speed Flight in the Wild"
|
|---|
| yiranran/APDrawingGAN | 13,586 | - 语言:
- Python
- 星标数:
- 811
- 分叉数:
- 154
- 简介:
- Code for APDrawingGAN: Generating Artistic Portrait Drawings from Face Photos with Hierarchical GANs (CVPR 2019 Oral)
|
|---|
| KevinCoble/AIToolbox | 13,596 | - 语言:
- Swift
- 星标数:
- 809
- 分叉数:
- 86
- 简介:
- A toolbox of AI modules written in Swift: Graphs/Trees, Support Vector Machines, Neural Networks, PCA, K-Means, Genetic Algorithms
|
|---|
| XiaoMi/MiNLP | 13,599 | - 语言:
- Scala
- 星标数:
- 809
- 分叉数:
- 88
- 简介:
- XiaoMi Natural Language Processing Toolkits
|
|---|
| Zeleni9/pytorch-wgan | 13,600 | - 语言:
- Python
- 星标数:
- 809
- 分叉数:
- 147
- 简介:
- Pytorch implementation of DCGAN, WGAN-CP, WGAN-GP
|
|---|
| locuslab/deq | 13,601 | - 语言:
- Python
- 星标数:
- 809
- 分叉数:
- 90
- 简介:
- [NeurIPS'19] Deep Equilibrium Models
|
|---|
关键参数与规格
关键参数与规格| 参数 | 值 |
|---|
| 语言 | Python |
|---|
| 类别 | Model Development |
|---|
| 子类别 | Architecture |
|---|
| 星标数 | 810 |
|---|
| 分叉数 | 105 |
|---|
| 贡献者 | 1 |
|---|
| 创建日期 | 2018-08-24 |
|---|
| 更新日期 | 2026-05-14 |
|---|
| 1 天星标数 | 0 |
|---|
| 7 天星标数 | 0 |
|---|
| 排名 | 13,594 |
|---|
| 上次排名 | 13,486 |
|---|
| 排名变化 | -108 |
|---|
| 7 天星标排名 | 14,018 |
|---|
| 上次 7 天星标排名 | 14,037 |
|---|
| 7 天星标排名变化 | 19 |
|---|
| 总星标排名 | 13,213 |
|---|
| 上次总星标排名 | 13,195 |
|---|
| 总星标排名变化 | -18 |
|---|
| 国家 | USA |
|---|
README 摘录
Deep InfoMax (DIM) This work has been accepted as an oral presentation at ICLR 2019. We are gradually updating the repository to reflect experiments in the camera-ready version. **Note**: we have found some differences in performance based on the Pytorch version used, notably 0. We have found these differences independently with a separate codebase, and these may effect experiment outcomes with the NCE loss and NDM. Please report any discrepancies you find, as we are attempting to resolve these
. Learning Deep Representations by Mutual Information Estimation and Maximization Sample code to do the local-only objective in Completed [Updated 4/12/2019] Latest code for dot-product style scoring function for local DIM (single or multiple globals). JSD / NCE / DV losses (In addition, f-divergences: KL, reverse KL, squared Hellinger, chi squared). Convnet and folded convnet (strided crops) architectures. Training classifiers keeping the encoder fixed (evaluation). Neural Dependency Measure (NDM, for evaluation) Faster training for multi-GPU MS-SSIM
reconstruction (evaluation Semi-supervised learning for classifiers. Other baselines (VAE, AAE, BiGAN, NAT, CPC). Installation / requirements Cortex You must install the dev branch cortex: from source, which requires Python 3. Note that cortex is in early beta stages, but it is usable for this demo. cortex optionally requires visdom: After installing cortex, you will need to do: See the cortex README for more info or email us (or submit an issue for legitimate bugs). Then install this package using pip
: Usage To get the full set of commands, try: For CIFAR10 on a DCGAN architecture, try: You should get over 71-72% in the pretraining step alone (this was included for monitoring purposes only). For more info on training options, do: If you want to match the output of the encoder to a prior and add the coordinate prediction task, do (for example)): For classification evaluation, keeping the encoder fixed (the classification numbers for the above script are for monitoring
only), do: You should get 73-74% with this model. Note this command assumes that you trained the model to completion. If not, just use one of the checkpoints in that same directory. You can do a variety of other evaluation techniques: Note that the learning rate schedule in this script isn't precisely what was used across models in the paper. The rates in the paper were different for different classifiers; if there is any significant classifier overfitting, adjust to
use a faster decay rate. For a folded Resnet (strided crops) and the noise-contrastive estimation (NCE) type loss, one could do: where the number of units used for estimating mutual information are the same we used for comparisons to CPC.
常见问题
记录了多少星标和分叉?
rdevon/DIM 有 810 个星标和 105 个分叉。
仓库排名是多少?
rdevon/DIM 排名第 13,594。
记录的语言和类别是什么?
rdevon/DIM 有 810 个星标,语言为 Python,类别为 Model Development。
哪个仓库排名最接近?
rdevon/DIM 与 KevinCoble/AIToolbox 比较,后者排名第 13,596,有 809 个星标。
Deep InfoMax (DIM)
This work has been accepted as an oral presentation at ICLR 2019.
We are gradually updating the repository to reflect experiments in the camera-ready version.
Note: we have found some differences in performance based on the Pytorch version used, notably 0.4.1 and 1.0.
We have found these differences independently with a separate codebase, and these may effect experiment outcomes with the NCE loss and NDM.
Please report any discrepancies you find, as we are attempting to resolve these.
Learning Deep Representations by Mutual Information Estimation and Maximization
Sample code to do the local-only objective in
https://openreview.net/forum?id=Bklr3j0cKX
https://arxiv.org/abs/1808.06670
Completed
[Updated 4/12/2019]
- Latest code for dot-product style scoring function for local DIM (single or multiple globals).
- JSD / NCE / DV losses (In addition, f-divergences: KL, reverse KL, squared Hellinger, chi squared).
- Convnet and folded convnet (strided crops) architectures.
- Resnet and folded resnet architectures.
- Training classifiers keeping the encoder fixed (evaluation).
- Global DIM and prior matching.
- Neural Dependency Measure (NDM, for evaluation)
- Faster training for multi-GPU
- MS-SSIM reconstruction (evaluation
- Semi-supervised learning for classifiers.
- Coordinate tasks
TODO
- MINE and SVM.
- Occlusion tasks.
- Other baselines (VAE, AAE, BiGAN, NAT, CPC).
- Add nearest neighbor analysis.
Installation / requirements
Cortex
You must install the dev branch cortex: https://github.com/rdevon/cortex from source, which requires Python 3.5+ (Not tested on higher than 3.7). Note that cortex is in early beta stages, but it is usable for this demo.
cortex optionally requires visdom: https://github.com/pytorch/vision
After installing cortex, you will need to do:
$ cortex setup
See the cortex README for more info or email us (or submit an issue for legitimate bugs).
Then install this package using pip:
$ pip install .
Usage
To get the full set of commands, try:
$ python scripts/main.py --help
For CIFAR10 on a DCGAN architecture, try:
$ python scripts/main.py local classifier --d.source CIFAR10 -n DIM_CIFAR10 --t.epochs 1000
You should get over 71-72% in the pretraining step alone (this was included for monitoring purposes only).
For more info on training options, do:
$ python scripts/main.py local classifier --help
If you want to match the output of the encoder to a prior and add the coordinate prediction task, do (for example)):
$ python scripts/main.py local classifier prior coordinates --d.source CIFAR10 -n DIM_CIFAR10 --t.epochs 1000 --prior.scale 0.1
For classification evaluation, keeping the encoder fixed (the classification numbers for the above script are for monitoring only),
do:
$ python scripts/main.py classifier --eval --d.source CIFAR10 -n DIM_CIFAR10_cls --t.epochs 1000 -L /DIM_CIFAR10/binaries/DIM_CIFAR10_final.t7
You should get 73-74% with this model.
Note this command assumes that you trained the model to completion.
If not, just use one of the checkpoints in that same directory.
You can do a variety of other evaluation techniques:
$ python scripts/main.py ndm msssim --eval --d.source CIFAR10 -n DIM_CIFAR10_cls --t.epochs 1000 -L /DIM_CIFAR10/binaries/DIM_CIFAR10_final.t7
Note that the learning rate schedule in this script isn't precisely what was used across models in the paper.
The rates in the paper were different for different classifiers; if there is any significant classifier overfitting, adjust to use a faster decay rate.
For a folded Resnet (strided crops) and the noise-contrastive estimation (NCE) type loss, one could do:
$ python scripts/main.py local classifier --d.source CIFAR10 --encoder_config foldresnet19_32x32 --local.mode nce --local.mi_units 1024 -n DIM_CIFAR10_FoldedResnet --t.epochs 1000
where the number of units used for estimating mutual information are the same we used for comparisons to CPC.
For STL-10 on folded 64x64 Alexnet with multiple globals and the NCE-type loss, try:
$ python scripts/main.py local classifier --d.sources STL10 --data_args.image_size 64 --data_args.flip --data_args.image_size_test 64 --d.n_workers 32 -n DIM_STL --t.epochs 200 --encoder_config foldmultialex64x64 --local.mode nce --output_units 0 --local.mi_units 1024
Deep Infomax
TODO: visual guide to Deep Infomax.