GithubHelp home page GithubHelp logo

slseanwu / jazz_transformer Goto Github PK

View Code? Open in Web Editor NEW
121.0 3.0 15.0 441.71 MB

Transformer-XL for Jazz music composition. Paper: "The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-Composed Music through Quantitative Measures", ISMIR 2020

License: MIT License

Shell 0.65% Python 99.35%
ai-music jazz transformer python3 tensorflow

jazz_transformer's People

Contributors

atosystem avatar slseanwu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jazz_transformer's Issues

Something wrong with inference.py, the output file can't be played.

As I follow the instructions to compose music

I got this log output:

Start model inference...
2020-08-05 05:55:32.732437: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-08-05 05:55:33.762416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
failed iterations: 1
failed iterations: 1
failed iterations: 2
failed iterations: 3
failed iterations: 4
failed iterations: 5
failed iterations: 6
failed iterations: 7
failed iterations: 8
failed iterations: 9
failed iterations: 10
failed iterations: 1
failed iterations: 1
failed iterations: 1
generated 6460 events
First 20 events: ['Part-Start_I', 'Rep-Start_1', 'Bar', 'Position_0/64', 'Tempo-Class_0', 'Tempo_67.50', 'Position_16/64', 'Tempo-Class_0', 'Tempo_65.00', 'Position_32/64', 'Tempo-Class_0', 'Tempo_67.50', 'Position_48/64', 'Tempo-Class_0', 'Tempo_62.50', 'Position_55/64', 'Phrase', 'MLU-Type_lick', 'MLU-Subtype_lick-general', 'Backref-Referred']

now converting events to MIDI: ./output/test.mid ...

It did generate midi file in output dir, but the file can't be played in normal player. It seems like the writing file stage makes something wrong ...

Thank you

Hey guys,

Thank you for sharing your work. Looks very nice and promising.

I have a question: Is it possible to use your code/can you provide code to train on my own MIDI dataset. It seems that you are using proprietary format of the Jazz dataset so I can't try it on my own to evaluate your work and results.

I will really appreciate your help here.

Thank you.

Uniqueness of the generated samples

First and foremost, @slSeanWU , thank you very much for releasing this project under the MIT license! ๐Ÿ‘

To be honest, I am quite convinced that the output midi files that I'm getting from this project (using the pretrained model) are too quality+long to be true (considering all of my other attempts to generate decent jazz by the use of AI that were all a failure so far).
What I really mean, is that, due to the quality of the output, I suspect that there is some overfitting going on (or maybe I even completely omitted some important point/catch from the readme :D).

Having said that, my questions are:
1. Is it really spilling out the unique melodies?
2. Is there a relatively simple way to check for the uniqueness of the output melody against the dataset that was used in the training?

I would really appreciate your (or anyone else's) answer very much!

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.