#How do i access AudioSR?

1 messages · Page 1 of 1 (latest)

midnight spade
#

How do i access AudioSR? And how do i use it correctly to have better audio quality?

spiral wasp
#

@hearty flame

midnight spade
#

but i have a kaggle account with the free 30 hours of gpu weekly because i verified my phone number

hearty flame
odd shore
# hearty flame Unfortunately there is no Kaggle Port yet

I always have this problem with AudioSR in colab, how do i fix this?

Traceback (most recent call last):
File "/content/versatile_audio_super_resolution/inference.py", line 219, in <module>
out = p.predict(
File "/content/versatile_audio_super_resolution/inference.py", line 173, in predict
waveform = self.process_audio(
File "/content/versatile_audio_super_resolution/inference.py", line 107, in process_audio
out_chunk = super_resolution(
File "/content/versatile_audio_super_resolution/audiosr/pipeline.py", line 165, in super_resolution
batch, duration = make_batch_for_super_resolution(input_file, waveform=waveform)
File "/content/versatile_audio_super_resolution/audiosr/pipeline.py", line 95, in make_batch_for_super_resolution
batch.update(lowpass_filtering_prepare_inference(batch))
File "/content/versatile_audio_super_resolution/audiosr/utils.py", line 84, in lowpass_filtering_prepare_inference
filtered_audio = lowpass(
File "/content/versatile_audio_super_resolution/audiosr/lowpass.py", line 169, in lowpass
return lowpass_filter(
File "/content/versatile_audio_super_resolution/audiosr/lowpass.py", line 97, in lowpass_filter
sos = cheby1(order, 0.1, hi, btype="low", output="sos")
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/_filter_design.py", line 3347, in cheby1
return iirfilter(N, Wn, rp=rp, btype=btype, analog=analog,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/_filter_design.py", line 2623, in iirfilter
raise ValueError("Digital filter critical frequencies "
ValueError: Digital filter critical frequencies must be 0 < Wn < 1

vital muskBOT
#

Ayo? @odd shore level 1 !!! lfg

hearty flame
candid steeple
odd shore
# candid steeple Could you explainw what u are trying to do

It bugs me so much that whenever I try to infer a track this problem come out in colab:

Traceback (most recent call last):
File "/content/versatile_audio_super_resolution/inference.py", line 219, in <module>
out = p.predict(
File "/content/versatile_audio_super_resolution/inference.py", line 173, in predict
waveform = self.process_audio(
File "/content/versatile_audio_super_resolution/inference.py", line 107, in process_audio
out_chunk = super_resolution(
File "/content/versatile_audio_super_resolution/audiosr/pipeline.py", line 165, in super_resolution
batch, duration = make_batch_for_super_resolution(input_file, waveform=waveform)
File "/content/versatile_audio_super_resolution/audiosr/pipeline.py", line 95, in make_batch_for_super_resolution
batch.update(lowpass_filtering_prepare_inference(batch))
File "/content/versatile_audio_super_resolution/audiosr/utils.py", line 84, in lowpass_filtering_prepare_inference
filtered_audio = lowpass(
File "/content/versatile_audio_super_resolution/audiosr/lowpass.py", line 169, in lowpass
return lowpass_filter(
File "/content/versatile_audio_super_resolution/audiosr/lowpass.py", line 97, in lowpass_filter
sos = cheby1(order, 0.1, hi, btype="low", output="sos")
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/_filter_design.py", line 3347, in cheby1
return iirfilter(N, Wn, rp=rp, btype=btype, analog=analog,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/_filter_design.py", line 2623, in iirfilter
raise ValueError("Digital filter critical frequencies "
ValueError: Digital filter critical frequencies must be 0 < Wn < 1

odd shore
#

like it doesnt finish the chunking

#

even if i set it to 5 seconds of chunks

hexed solar
#

@hearty flame could you help him?

hearty flame
#

i dunno about that error

hexed solar
hearty flame
#

i said i dunno about it

hexed solar
spiral wasp
hearty flame
spiral wasp
spiral wasp
#

works for now

#

works

#

more senior developer every day

hearty flame
#

also bc i don't wanna put my email to update the audiosr pip package

#

so kind of stopped on audiosr

spiral wasp
spiral wasp
#

so buggy

#

on pc works

#

wait a minute

#

i am so stupid

spiral wasp
midnight spade
hearty flame
spiral wasp
#

I also have a collab port of Shirou's Music Separation Training.

midnight spade
spiral wasp
#

click on new dataset

midnight spade
#

but what is the path to the audio e uploaded in dataset?

reef ironBOT
spiral wasp
midnight spade
spiral wasp
#

copy the path of your audios

#

usually something like /kaggle/input/my_dataset

midnight spade
#

howtrolley

midnight spade
spiral wasp
#

replace /kaggle/working/my_audios/song.mpy with what you copied above

#

replace this with /kaggle/working

#

the modified audio will appear here:

#

you can change the options by changing these values to the value of your choice

midnight spade
#

thank you❤

vernal solar