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
It was happened when i try to generate maps out of .mp3 file:
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 176, in load
y, sr_native = __soundfile_load(path, offset, duration, dtype)
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 209, in __soundfile_load
context = sf.SoundFile(path)
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening '../../songs/am': System error.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/content/drive/My Drive/deepsaber_tmp3/scripts/generation/generate_stage1.py", line 86, in
hop, features = extract_features(song_path, args, opt)
File "/content/drive/My Drive/deepsaber_tmp3/scripts/generation/level_generation_utils.py", line 9, in extract_features
y_wav, sr = librosa.load(song_path, sr=opt.sampling_rate)
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 184, in load
y, sr_native = __audioread_load(path, offset, duration, dtype)
File "", line 2, in __audioread_load
File "/usr/local/lib/python3.10/dist-packages/librosa/util/decorators.py", line 60, in __wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 241, in __audioread_load
reader = audioread.audio_open(path)
File "/usr/local/lib/python3.10/dist-packages/audioread/init.py", line 127, in audio_open
return BackendClass(path)
File "/usr/local/lib/python3.10/dist-packages/audioread/rawread.py", line 59, in init
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '../../songs/am'
usage: generate_stage2.py
[-h]
[--song_path SONG_PATH]
[--json_file JSON_FILE]
[--experiment_name EXPERIMENT_NAME]
[--checkpoint CHECKPOINT]
[--temperature TEMPERATURE]
[--bpm BPM]
[--generate_full_song]
[--use_beam_search]
[--open_in_browser]
[--cuda]
generate_stage2.py: error: unrecognized arguments: the model from ../../scripts/training/block_placement_ddc2/iter_130000_net.pth
It was happened when i try to generate maps out of .mp3 file:
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 176, in load
y, sr_native = __soundfile_load(path, offset, duration, dtype)
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 209, in __soundfile_load
context = sf.SoundFile(path)
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening '../../songs/am': System error.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/content/drive/My Drive/deepsaber_tmp3/scripts/generation/generate_stage1.py", line 86, in
hop, features = extract_features(song_path, args, opt)
File "/content/drive/My Drive/deepsaber_tmp3/scripts/generation/level_generation_utils.py", line 9, in extract_features
y_wav, sr = librosa.load(song_path, sr=opt.sampling_rate)
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 184, in load
y, sr_native = __audioread_load(path, offset, duration, dtype)
File "", line 2, in __audioread_load
File "/usr/local/lib/python3.10/dist-packages/librosa/util/decorators.py", line 60, in __wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/librosa/core/audio.py", line 241, in __audioread_load
reader = audioread.audio_open(path)
File "/usr/local/lib/python3.10/dist-packages/audioread/init.py", line 127, in audio_open
return BackendClass(path)
File "/usr/local/lib/python3.10/dist-packages/audioread/rawread.py", line 59, in init
self.fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '../../songs/am'
usage: generate_stage2.py
[-h]
[--song_path SONG_PATH]
[--json_file JSON_FILE]
[--experiment_name EXPERIMENT_NAME]
[--checkpoint CHECKPOINT]
[--temperature TEMPERATURE]
[--bpm BPM]
[--generate_full_song]
[--use_beam_search]
[--open_in_browser]
[--cuda]
generate_stage2.py: error: unrecognized arguments: the model from ../../scripts/training/block_placement_ddc2/iter_130000_net.pth
IndexError Traceback (most recent call last)
in <cell line: 10>()
8 get_ipython().system("cd scripts/generation; chmod +x ./script_generate.sh; ./script_generate.sh '../../songs/'{filename}")
9 generated_filename=get_ipython().getoutput('ls -t scripts/generation/generated')
---> 10 generated_filename=generated_filename[0]
11 get_ipython().system('cp scripts/generation/generated/{generated_filename} ../../../')
12 # files.download("scripts/generation/generated/"+generated_filename)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: