Giter Site home page Giter Site logo

yatingmusic / musemorphose Goto Github PK

View Code? Open in Web Editor NEW
169.0 5.0 30.0 51 KB

PyTorch implementation of MuseMorphose (published at IEEE/ACM TASLP), a Transformer-based model for music style transfer.

License: MIT License

Python 100.00%
pytorch music-generation music-style-transfer variational-autoencoder transformer

musemorphose's Issues

Generate from scratch

Hi, thanks for your impressive work!
I want to know could I generate a midi from scratch?

Evaluation Code

Hello, may I know the code for evaluating music attributes

'scipy' is missing

'scipy' is required while computing attributes classes

Traceback (most recent call last):
  File "/home/tanch/workspace/MuseMorphose/attributes.py", line 1, in <module>
    from utils import pickle_load
  File "/home/tanch/workspace/MuseMorphose/utils.py", line 3, in <module>
    from scipy.spatial import distance
ModuleNotFoundError: No module named 'scipy'

Generation for arbitrary length

Hello,

Maybe you could help me with my problem)When i run your generation.py script with defaults parameters it generates correctly 16 bars output for any midi file. But when i tried to change the length from 1280 to length of my midi-file (11134) and 16 bars to 76 bars the model output the mistake. Do you know how to fix it? Thank you in advance!

[FATAL] model stuck, exiting ...
Traceback (most recent call last):
File "generate.py", line 299, in
temperature=config['generate']['temperature'],
ValueError: too many values to unpack (expected 3)

train

How to use your own Midi dataset to train the model?

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.