-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4d9b401
Showing
15 changed files
with
21,082 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# HRTF Individualization using Deep Learning | ||
> Material from paper _HRTF Individualization using Deep Learning_, Miccini and Spagnol, 2020 | ||
## Structure | ||
|
||
- `utils_data.py`: a collection of functions for loading and processing data (HRTFs, ear pictures, anthropometric measurements, etc) | ||
- `utils_model.py utils_model_1d.py utils_train.py`: a collection of functions for generating and training deep learning models | ||
- `utils_plot.py`: a collection of functions for showing the results (latent space visualization, comparison of reconstructed HRTFs or ear pictures, correlation matrices, etc) | ||
- a series of Jupiter notebooks, constituting the experiments, where all the aforementioned scripts are used: | ||
- `vae_hutubs.ipynb`: autoencoding HRTFs (2d elevation-azimuth representation) | ||
- `vae_hutubs_hrtf.ipynb`: autoencoding HRTFs (2d frequency-elevation representation) | ||
- `vae_hutubs_gpu1.ipynb`: preliminary experiments with autoencoding pinna depth maps | ||
- `vae_hutubs_ears.ipynb`: autoencoding pinna depth maps using Inception layers | ||
- `vae_hutubs_chen2019.ipynb`: autoencoding individual HRTFs using dense or 1D-convolutional layers | ||
- `vae_hutubs_3d.ipynb`: autoencoding HRTFs patches and reconstructing one-hot representation | ||
- `pca_dnn.ipynb`: predicting HRTF principal components using anthropometric measurements (k-fold validation) | ||
- `ear_pca_dnn.ipynb`: predicting HRTF principal components using anthropometric measurements and principal components from pinna depth maps (k-fold validation) | ||
|
||
|
||
## Instructions | ||
|
||
### Setup | ||
- Install `conda` (an environment and dependency manager for Python) | ||
- Create environment: `conda env create -f environment.yml` | ||
- Run Jupyter: `jupyter-lab` | ||
|
||
### Usage | ||
Notebooks can be accessed from the browser at `127.0.0.1:8888`. | ||
The cells within the notebooks contains precomputed output related to the latest execution. | ||
However, each notebook has hyperparameters that can be adjusted. | ||
Unfortunately, most notebooks are not entirely polished, presenting unused code, duplicated sections, and various data, reflecting the exploratory and experimental nature of the research. | ||
|
||
When attempting to run any of the code, access to the generated datasets is necessary. | ||
If needed, the data can be requested by contacting the paper authors. | ||
|
||
|
||
**Riccardo Miccini, 2019-2020** | ||
|
Oops, something went wrong.