akanametov / musegan Goto Github PK
View Code? Open in Web Editor NEWA Pytorch implementation of MuseGAN
License: MIT License
A Pytorch implementation of MuseGAN
License: MIT License
Hi,
First off let me say thanks so much for this amazing package.
I'm interested in running the pytorch implementation using the data from the original Tensorflow MuseGAN project that links to this project (https://github.com/salu133445/musegan). The data I am trying to use can be found at:
https://docs.google.com/uc?export=download&id=14rrC5bSQkB9VYWrvt2IhsCjOKYrguk3S
The issue I am running into is that the input data is of a different shape than the model currently supports. How should I go about changing the code to accept this input data?
Thanks so much!
Thanks for your code, it is very nice. But I found a little bug in the bar_generator code.
In fact, the last Reshape() layer in the network definition has an incorrect size. As you mentionned, the output shape of the last conv is (batch_size, out_channels, 8*hid_features//hid_channels, n_pitches) and the shape of Reshape layer is output shape: (batch_size, out_channels, 1, n_steps_per_bar, n_pitches). Such configuration works very well only when n_steps_per_bar is set to 16 but One would run experiment with a different n_steps_per_bar. (I run it with 48 steps per bar as far as I am concerned in fact).
For a more general purpose, I propose to add a linear mapping before that Reshape layer as shown in the figure attached.
Yours sincerely.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.