Collection of MATLAB implementations of Generative Adversarial Networks (GANs) suggested in research papers. This repository is greatly inspired by eriklindernoren's repositories Keras-GAN and PyTorch-GAN, and contains codes to investigate different architectures of GAN models.
To run the following codes, users should have the following packages,
GAN-MATLAB clc clear %% 构造真实训练样本 60000个样本 1*784维(28*28展开) load mnist_uint8; train_x = double(train_x(1:60000,:)) / 255; % 真实样本认为为标签 [1 0]; 生成样本为[0 1]; train_y = double(ones(size(train_x,1),
Y. LeCun and C. Cortes, “MNIST handwritten digitdatabase,” 2010. [MNIST] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, andL. Fei-Fei, “ImageNet: A Large-Scale Hierarchical Image Database,” inCVPR09, 2
GAN网络就是生成对抗网络,顾名思义其主要有生成器和辨别器两部分,好比矛和盾.生成器生成的数据试图骗过辨别器,训练后的辨别器用来判定生成器生成的数据是否真实. 类似与图灵测试,判别器是图灵测试题目和结果,而生成器是机器人或人. 先上代码: clear; clc; % -----------加载数据 load('mnist_uint8', 'train_x'); train_x = double(r
MATLAB是矩阵实验室(Matrix Laboratory)的简称,是美国MathWorks公司出品的商业数学软件,用于算法开发、数据可视化、数据 分析以及数值计算的高级技术计算语言和交互式环境,主要包括MATLAB和Simulink两大部分。 MATLAB和Mathematica、Maple并 称为三大数学软件。它在数学类科技应用软件中在数值计算方面首屈一指。MATLAB可以进行矩阵运算、绘
MATLAB code for reading and writing CIFTI files, v2 This library is compatible with the CIFTI-2 format, withoutexternally installed dependencies (except that CIFTI-1 files requirewb_command for conver
Zaf-Matlab Zafar's Audio Functions in Matlab for audio signal analysis. Files: zaf.m: Matlab class with the audio functions. examples.ipynb: Jupyter notebook with some examples. audio_file.wav: audio
BIDS for MATLAB / Octave This repository aims at centralising MATLAB/Octave tools to interact with datasets conforming to the BIDS (Brain Imaging Data Structure) format. For more information about BID
REPET-Matlab REPeating Pattern Extraction Technique (REPET) in Matlab for audio source separation. Repetition is a fundamental element in generating and perceiving structure. In audio, mixtures are of
snopt-matlab (version 3.0) This is version 3.0 of the Matlab interface for sparse nonlinear optimization software SNOPT. Requires the SNOPT software package. Changes from version 2.5: all-in-one calls