Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataset build moves audio to incorrect folder #201

Open
PCarvaillo opened this issue Sep 27, 2024 · 1 comment
Open

Dataset build moves audio to incorrect folder #201

PCarvaillo opened this issue Sep 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working data format Work related to spectrogram/audio format and how to process it

Comments

@PCarvaillo
Copy link
Collaborator

On an existing dataset, if I build with new target SR or new target spectro duration, the build moves my old data to the original file folder.

Typiquement si j’ai un dossier initial 152_312500, que je fais un premier process en 10_5000, puis que je tente de le relancer en 10_10000 (par exemple), il va me déplacer tout les 10_5000 dans le 152_312500 avant de me faire un 10_10000. Je voudrais garder les deux.

Demonstration:
Before build - 2 audio files in folder
image

I launch the first build process with sr=10000 and duration = 5 :
LOGS:
image

SERVER:
image
==> Everything is fine until now, spectrogram generation (not shown here) also seems to work

Now I want to segment my data with sr=10000 and duration = 10sec:
LOGS:
image
SERVER:
image
==> The 5_10000 folder disapeared !

image
==> my 5_10000 files are now in my 152_312500 folder !

Expected behavior:

I would expect the 5_10000 folder to remain unchanged and 10_10000 folder contain my new segments.
Or should I not build twice ?

Can someone tell me if you have the same issue on your server?

@PCarvaillo PCarvaillo added bug Something isn't working data format Work related to spectrogram/audio format and how to process it labels Sep 27, 2024
@PCarvaillo
Copy link
Collaborator Author

Note: Whether I change sr or spectro_duration, bug is same
note2: I can change spectro parameters without any visible issues, the spectrogram generation generates in new folder without moving my previous data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data format Work related to spectrogram/audio format and how to process it
Projects
None yet
Development

No branches or pull requests

4 participants