Giter Site home page Giter Site logo

nmg's Introduction

NMG - A Neural Music Generator

Usage

Start by cloning this repository:

git clone https://github.com/Pasqalup/NMG.git'
cd NMG

Find all DELETE_ME files found in the notebooks/ folder and delete them

1. Installation

Requires Anaconda or Miniconda
Using Linux reccommended

  • Create an environment

    conda create -n NMG python=3.9
    
  • Install Tensorflow

    • Linux GPU:

    conda install -c conda-forge cudatoolkit=11.8.0
    python3 -m pip install nvidia-cudnn-cu11==8.6.0.163 tensorflow==2.12.*
    mkdir -p $CONDA_PREFIX/etc/conda/activate.d
    echo 'CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)"))' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/:$CUDNN_PATH/lib' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    source $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    # Verify install:
    python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
    
    • WSL GPU 1:

    See https://docs.nvidia.com/cuda/wsl-user-guide/index.html
    Follow previous instructions for Linux installation

    • Windows Native GPU 12:

    See https://github.com/microsoft/tensorflow-directml-plugin#tensorflow-directml-plugin-

    For CPU 1:

    pip install tensorflow-cpu==2.12.*
    

    Install other dependencies

    pip install -r requirements.txt
    

2. Usage

  Find all DELETE_ME files found in the notebooks/ folder and delete them
  For now, run the three notebooks sequentially. This project is still in early development and may not generate promising results.

Footnotes

  1. Not yet tested 2 3

  2. This software is still under early development and you may run into issues. It is recommended that you use WSL Instead.

nmg's People

Contributors

pasqalup avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.