Sound-of-Pixels icon indicating copy to clipboard operation
Sound-of-Pixels copied to clipboard

Failed to loading frames/audio

Open krishnareedy opened this issue 4 years ago • 10 comments

Sir, first i created .csv files, in the csv files it is showing what inputs are there and it's paths also. but during training it is showing failed to load frames/audio.

krishnareedy avatar Aug 11 '19 09:08 krishnareedy

Screenshot from 2019-08-11 14-52-14

krishnareedy avatar Aug 11 '19 09:08 krishnareedy

Hello, I have the same problem. Have you sovled it already? And how to solve this problem? Thank you very much.

avis-ma avatar Oct 15 '19 07:10 avis-ma

@krishnareedy

avis-ma avatar Oct 15 '19 07:10 avis-ma

@krishnareedy

AIaiAIaiAIaiAI avatar Oct 15 '19 13:10 AIaiAIaiAIaiAI

I know what I ca n’t read the audio file, because when running base.py your path is "./data / ....", you can't find the data, or you should replace "./data" to "../Data", or use an absolute path.

JusperLee avatar Dec 12 '19 06:12 JusperLee

Sorry, my statement above is not entirely correct. This repository uses the torchaudio method, and the value returned by the load function is [channel, lenth]. Therefore, we need to modify the load function of the base script and change shape [1] == 2 to shape [0] == 2. The following are similar. image

JusperLee avatar Dec 12 '19 06:12 JusperLee

@JusperLee Thank you so much!! :D

parth1497 avatar Mar 04 '20 08:03 parth1497

@parth1497 I'm working on at least duplicating the results of this project since you are also working on it, maybe we can solve each other's doubts. There seem to be common issues like these that everyone doing this project has faced.

vipulSharma18 avatar Mar 06 '20 21:03 vipulSharma18

in my preprocess, the audio has been converted to mono, so the shape is (1,xxxx), which is not affected by the shape[0] or shape[1]. However, there are still so many: could not broadcast shape 0 to shape (xxx)

TaoStarlit avatar Dec 03 '20 17:12 TaoStarlit

Sorry, my statement above is not entirely correct. This repository uses the torchaudio method, and the value returned by the load function is [channel, lenth]. Therefore, we need to modify the load function of the base script and change shape [1] == 2 to shape [0] == 2. The following are similar. image

@JusperLee Hello, I modified the load function of the base script as the picture showed , although the failure gets fewer, there is still some failure during training. I wonder if you know the reason for it . Thank you so much! failed loading frame or audio

2023zy avatar Mar 27 '23 01:03 2023zy