ChihebTrabelsi/deep_complex_networks
ChihebTrabelsi/deep_complex_networks has 790 GitHub stars and 284 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-19 05:04 UTC. Last push 2019-01-16.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Implementation related to the Deep Complex Networks
Machine LearningREADME.md
OriginalDeep Complex Networks
This repository contains code which reproduces experiments presented in the paper Deep Complex Networks.
Requirements
Install requirements for computer vision experiments with pip:
pip install numpy Theano keras kerosene
And for music experiments:
pip install scipy sklearn intervaltree resampy
pip install git+git://github.com/bartvm/mimir.git
Depending on your Python installation you might want to use anaconda or other tools.
Installation
pip install .
Experiments
Computer vision
Get help:
python scripts/run.py train --helpRun models:
python scripts/run.py train -w WORKDIR --model {real,complex} --sf STARTFILTER --nb NUMBEROFBLOCKSPERSTAGEOther arguments may be added as well; Refer to run.py train --help for
- Optimizer settings
- Dropout rate
- Clipping
- ...
MusicNet
Download the dataset from the official page
mkdir data/ wget https://homes.cs.washington.edu/~thickstn/media/musicnet.npz -P data/Resample the dataset with
resample.py data/musicnet.npz data/musicnet_11khz.npz 44100 11000Run shallow models
train.py shallow_model --in-memory --model=shallow_convnet --local-data data/musicnet_11khz.npz train.py shallow_complex_model --in-memory --model=complex_shallow_convnet --complex --local-data data/musicnet_11khz.npzRun deep models
train.py deep_model --in-memory --model=deep_convnet --fourier --local-data data/musicnet_11khz.npz train.py deep_complex_model --in-memory --model=complex_deep_convnet --fourier --complex --local-data data/musicnet_11khz.npzVisualize with jupyter notebook
Run the notebook
notebooks/visualize_musicnet.ipynb.

Citation
Please cite our work as
@ARTICLE {,
author = "Chiheb Trabelsi, Olexa Bilaniuk, Ying Zhang, Dmitriy Serdyuk, Sandeep Subramanian, João Felipe Santos, Soroush Mehri, Negar Rostamzadeh, Yoshua Bengio, Christopher J Pal",
title = "Deep Complex Networks",
journal = "arXiv preprint arXiv:1705.09792",
year = "2017"
}