rcae-gmm

所属分类:人工智能/神经网络/深度学习
开发工具:Jupyter Notebook
文件大小:77KB
下载次数:0
上传日期:2018-02-09 07:44:46
上 传 者sh-1993
说明:  无线电星系形态发生器
(A radio galaxy morphology generator)

文件列表:
LICENSE (1065, 2018-02-09)
demo-mnist (0, 2018-02-09)
demo-mnist\digit_sim.png (2904, 2018-02-09)
demo-mnist\notebook-rcae13-mnist-gmm.ipynb (23319, 2018-02-09)
demo-mnist\notebook-rcae13-mnist-restore.ipynb (28795, 2018-02-09)
demo-mnist\notebook-rcae13-mnist.ipynb (57568, 2018-02-09)
rcae (0, 2018-02-09)
rcae\__init__.py (469, 2018-02-09)
rcae\block (0, 2018-02-09)
rcae\block\__init__.py (123, 2018-02-09)
rcae\block\block.py (3551, 2018-02-09)
rcae\bottleneck (0, 2018-02-09)
rcae\bottleneck\__init__.py (180, 2018-02-09)
rcae\bottleneck\bottleneck_de.py (6256, 2018-02-09)
rcae\bottleneck\bottleneck_en.py (5127, 2018-02-09)
rcae\utils (0, 2018-02-09)
rcae\utils\__init__.py (101, 2018-02-09)
rcae\utils\utils.py (13973, 2018-02-09)
setup.py (1492, 2018-02-09)

# RCAE-GMM: a radio galaxy morphology generator This repo aims to construct a radio galaxy (RG) morphology generator by training a residual convolutional autoencoder (RCAE), and simulate new RG samples by feeding randomly generated features into the decoder subnet. The Gaussian mixture models are estimated for generating the new feature vectors. ## Construction of the package In summary, we provide classes for the RCAE network construction as well as some utilities for image preprocessing, network saving and restoration, and etc. Detailed instruction and usage please refer to the code files. Here we list the single python based scripts, - [Bottleneck_en.py](https://github.com/myinxd/rcae_gmm/blob/master/rcae/bottleneck/bottleneck_en.py) and [Bottleneck_de.py](https://github.com/myinxd/rcae_gmm/blob/master/rcae/bottleneck/bottleneck_de.py): Classes for bottlenecks in the encoder and decoder; - [Block.py](https://github.com/myinxd/rcae_gmm/blob/master/rcae/block/block.py): A class for blocks in the residual convolutional network, which is a box hosting multiple bottlenecks; - [utils.py](https://github.com/myinxd/rcae_gmm/blob/master/rcae/utils/utils.py): Auxiliary utilities. Notebooks are provide as demos for the user to construct their own residual convolutional networks, which are - [notebook-rcae13-mnist](https://github.com/myinxd/rcae-gmm/blob/master/demo-mnist/notebook-rcae13-mnist.ipynb): A 13-layer (6 + 6 + 1: encoder+decoder+code_layer) RCAE for mnist; - [notebook-rcae13-mnist-restore](https://github.com/myinxd/rcae-gmm/blob/master/demo-mnist/notebook-rcae13-mnist-restore.ipynb): Restore the trained network - [notebook-rcae13-mnist-gmm.ipynb](https://github.com/myinxd/rcae-gmm/blob/master/demo-mnist/notebook-rcae13-mnist.ipynb): Generate new handwritting digits. ## Requirements Some python packages should be installed before applying the nets, which are listed as follows, - [numpy](http://www.numpy.org/) - [scipy](https://www.scipy.org/) - [astropy](https://www.astropy.org/) - [matplotlib](http://www.matplotlib.org/) - [Tensorflow](http://www.tensorflow.org/) - [scikit-learn](http://scikit-learn.org/) Also, [CUDA](http://develop.nvidia.org/cuda) is required if you want to run the codes by GPU, a Chinese [guide](http://www.mazhixian.me/2017/12/13/Install-tensorflow-with-gpu-library-CUDA-on-Ubuntu-16-04-x***/) for CUDA installation on Ubuntu 16.04 is provided. ## Usage Before constructing a RCAE net, the pakcage should be installed. Here is the installation, ```sh $ cd rcag-gmm $ pip3 install --user . ``` Detailed usage of our rcae-gmm package is demonstrated in [demo-mnist](https://github.com/myinxd/rcae_gmm/blob/master/demo-mnist/) by jupyter notebooks. Below are examples of handwriting digits generated by the RCAE13 above.
## Contributor - Zhixian MA <`zx at mazhixian.me`> ## License Unless otherwise declared: - Codes developed are distributed under the [MIT license](https://opensource.org/licenses/mit-license.php); - Documentations and products generated are distributed under the [Creative Commons Attribution 3.0 license](https://creativecommons.org/licenses/by/3.0/us/deed.en_US); - Third-party codes and products used are distributed under their own licenses.

近期下载者

相关文件


收藏者