Skip to content

Eatapie/pytorch_musicnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pytorch_musicnet

This repository provides PyTorch DataSet and DataLoader classes for MusicNet (musicnet.py) and two Jupyter that demonstrate how to use this dataset to train a simple MusicNet model using PyTorch. The DataSet class provides a built-in download method to acquire MusicNet. Note that MusicNet expands to ~50Gb uncompressed. The download process leaves behind temporary files that can be safely removed if necessary to save space: the musicnet.tar.gz file, and the raw ".wav" files in the data directories. MusicNet models will often optimize more efficiently if you can afford to load the entire dataset into memory (~21Gb of RAM). If you don't have this much RAM, you can set mmap=False in the DataSet class to load data directly from disk.

About

PyTorch DataSet and Jupyter demos for MusicNet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 93.7%
  • Python 6.3%