Open HanhaodiZhang opened 3 years ago
Hello, It looks like there is an unmatching of the dimension. Have you tried the default files in /mysong_mid_C/?
On Fri, Aug 13, 2021 at 4:10 PM HanhaodiZhang @.***> wrote:
--------------Start arrangement generation !!-------------- *running sampler... Traceback (most recent call last): File "scripts.py", line 4, in import main File "/home/ohla-ai/Projects/LeadsheetArrangement/main.py", line 62, in musegan.gen_test(input_data, is_eval=True) File "/home/ohla-ai/Projects/LeadsheetArrangement/model/core.py", line 447, in gentest type=type_) File "/home/ohla-ai/Projects/LeadsheetArrangement/model/core.py", line 412, in run_sampler self.model.prediction_chroma], feed_dict=feed_dict) File "/home/ohla-ai/anaconda3/envs/tf15/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 956, in run run_metadata_ptr) File "/home/ohla-ai/anaconda3/envs/tf15/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1156, in _run (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape()))) ValueError: Cannot feed value of shape (64, 48, 84, 2) for Tensor 'NowbarHybrid/x:0', which has shape '(?, 48, 84, 5)'
Above is what I am occured, my input is a 2 track 8 bar midi file with melody and chords. Need your help please...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/liuhaumin/LeadsheetArrangement/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHLURGZMDERLBVDYGUEJK7DT4THN3ANCNFSM5CDC6F5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
I also meet the same problem with the default input files in /mysong_mid_C/
I also meet the same problem with the default input files in /mysong_mid_C/
I also meet the same problem with the default input files in /mysong_mid_C/.what is the problem?@liuhaumin,how to solve it?
--------------Start arrangement generation !!-------------- *running sampler... Traceback (most recent call last): File "scripts.py", line 4, in
import main
File "/home/ohla-ai/Projects/LeadsheetArrangement/main.py", line 62, in
musegan.gen_test(input_data, is_eval=True)
File "/home/ohla-ai/Projects/LeadsheetArrangement/model/core.py", line 447, in gentest
type=type_)
File "/home/ohla-ai/Projects/LeadsheetArrangement/model/core.py", line 412, in run_sampler
self.model.prediction_chroma], feed_dict=feed_dict)
File "/home/ohla-ai/anaconda3/envs/tf15/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 956, in run
run_metadata_ptr)
File "/home/ohla-ai/anaconda3/envs/tf15/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1156, in _run
(np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (64, 48, 84, 2) for Tensor 'NowbarHybrid/x:0', which has shape '(?, 48, 84, 5)'
Above is what I am occured, my input is a 2 track 8 bar midi file with melody and chords. Need your help please...