Comments (3)
I got the same error on centos7, python 2.7
[root@centos7 GRUV]# python2 convert_directory.py
LAME 3.100 64bits (http://lame.sf.net)
Autoconverting from stereo to mono. Setting encoding to mono mode.
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding ./datasets/YourMusicLibrary/Test.mp3
to ./datasets/YourMusicLibrary/tmp/Test.mp3
Encoding as 44.1 kHz single-ch MPEG-1 Layer III (11x) 64 kbps qval=3
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
7488/7488 (100%)| 0:09/ 0:09| 0:09/ 0:09| 20.376x| 0:00
kbps mono % long switch short %
64.0 100.0 99.3 0.4 0.3
Writing LAME Tag...done
ReplayGain: -0.5dB
input: ./datasets/YourMusicLibrary/tmp/Test.mp3
(44.1 kHz, 1 channel, MPEG-1 Layer III)
output: ./datasets/YourMusicLibrary/wave/Test.wav (16 bit, Microsoft WAVE)
skipping initial 1105 samples (encoder+decoder delay)
skipping final 1088 samples (encoder padding-decoder delay)
Frame# 7488/7488 64 kbps
Processing: 1 / 1
Filename: ./datasets/YourMusicLibrary/wave/Test.wav
783
40
Saved example 1 / 19
Saved example 2 / 19
Saved example 3 / 19
Saved example 4 / 19
Saved example 5 / 19
Saved example 6 / 19
Saved example 7 / 19
Saved example 8 / 19
Saved example 9 / 19
Saved example 10 / 19
Saved example 11 / 19
Saved example 12 / 19
Saved example 13 / 19
Saved example 14 / 19
Saved example 15 / 19
Saved example 16 / 19
Saved example 17 / 19
Saved example 18 / 19
Saved example 19 / 19
Flushing to disk...
Traceback (most recent call last):
File "convert_directory.py", line 15, in
convert_wav_files_to_nptensor(new_directory, block_size, max_seq_len, output_filename)
File "/root/GRUV/data_utils/parse_files.py", line 156, in convert_wav_files_to_nptensor
np.save(out_file+'_mean', mean_x)
File "/usr/lib64/python2.7/site-packages/numpy/lib/npyio.py", line 511, in save
pickle_kwargs=pickle_kwargs)
File "/usr/lib64/python2.7/site-packages/numpy/lib/format.py", line 562, in write_array
version)
File "/usr/lib64/python2.7/site-packages/numpy/lib/format.py", line 308, in _write_array_header
header = asbytes(_filter_header(header))
File "/usr/lib64/python2.7/site-packages/numpy/lib/format.py", line 467, in _filter_header
return tokenize.untokenize(tokens)
File "/usr/lib64/python2.7/tokenize.py", line 262, in untokenize
return ut.untokenize(iterable)
File "/usr/lib64/python2.7/tokenize.py", line 198, in untokenize
self.add_whitespace(start)
File "/usr/lib64/python2.7/tokenize.py", line 187, in add_whitespace
assert row <= self.prev_row
AssertionError
from gruv.
solve this problem by downgrade numpy version from 1.14.0 to 1.13.3
pip install numpy==1.13.3
you can see this issue
numpy/numpy#10348
from gruv.
Amazing! Changing it to numpy 1.13.3 totally worked. Thank you!
from gruv.
Related Issues (20)
- Exception: Layer timedistributeddense_1 requires to know the length of its input, but it could not be inferred automatically. HOT 7
- parse_files.py:72: ComplexWarning: Casting complex values to real discards the imaginary part HOT 2
- CPU not GPU HOT 1
- How to continue training process? HOT 4
- How to continue training without losing the song structure | hidden_dimension_size handling
- local variable 'epoch_logs' referenced before assignment HOT 1
- Exception: Compilation failed (return status=1)
- Is training process being persisted?
- I can't run convert_directory.py successfully HOT 1
- python convert_directory.py HOT 6
- Keras Issue HOT 10
- generation after trainig - empty wav file HOT 2
- Error on training
- Generation shape issue
- slice indeces must be integers HOT 2
- name 'xrange' is not defined HOT 4
- 'sox' is not recognized as an internal or external command, operable program or batch file.
- struggling to install lame HOT 1
- It would be great to have a docker image (or similar)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gruv.