Skuldur / Classical-Piano-Composer

MIT License
602 stars 318 forks source link

Using weights trained on anohter computer #29

Open AkuiChan opened 5 years ago

AkuiChan commented 5 years ago

So I have trained the model on a seperate computer, since it made the training faster. When using predict.py it works fine and generates the songs as expected. However, when i try and use the weights on my laptop(a different computer) the following error appears.

ValueError: Shapes (256, 901) and (256, 553) are incompatible

Anybody knows how to fix this?

Skuldur commented 5 years ago

Hi,

Did you also transfer the new data/notes file that was generated when you trained the network? I think the most likely culprit here is that the laptop has a different data/notes file.