You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when generator.py is run i get the following error:
Traceback (most recent call last):
File "generator.py", line 193, in
main(sys.argv)
File "generator.py", line 188, in main
generate(data_fn, out_fn, N_epochs)
File "generator.py", line 107, in generate
chords, abstract_grammars = get_musical_data(data_fn)
File "C:\Users\kem63\Documents\Workspace\deepjazz-master\preprocess.py", line 130, in get_musical_data
measures, chords = __parse_midi(data_fn)
File "C:\Users\kem63\Documents\Workspace\deepjazz-master\preprocess.py", line 51, in __parse_midi
for i in xrange(len(comp_stream)):
NameError: name 'xrange' is not defined
I am on Windows 10 Python 3.6
The text was updated successfully, but these errors were encountered:
Hello, when generator.py is run i get the following error:
Traceback (most recent call last):
File "generator.py", line 193, in
main(sys.argv)
File "generator.py", line 188, in main
generate(data_fn, out_fn, N_epochs)
File "generator.py", line 107, in generate
chords, abstract_grammars = get_musical_data(data_fn)
File "C:\Users\kem63\Documents\Workspace\deepjazz-master\preprocess.py", line 130, in get_musical_data
measures, chords = __parse_midi(data_fn)
File "C:\Users\kem63\Documents\Workspace\deepjazz-master\preprocess.py", line 51, in __parse_midi
for i in xrange(len(comp_stream)):
NameError: name 'xrange' is not defined
I am on Windows 10 Python 3.6
The text was updated successfully, but these errors were encountered: