Suggestion: Option to delete intermediate .wav files after processing batches of text #18

Closed
opened 2023-02-21 11:24:58 +00:00 by sakharam_gatne · 7 comments

Firstly, it'll keep the folder structure more organized, as the intermediate files clutter up the results folder, as well as the History tab in Gradio.
Also, it will be better for colab users, as the zipped folder won't take as long to download.

Making it optional will also not disturb users who are comfortable with the current workflow.

Firstly, it'll keep the folder structure more organized, as the intermediate files clutter up the results folder, as well as the History tab in Gradio. Also, it will be better for colab users, as the zipped folder won't take as long to download. Making it optional will also not disturb users who are comfortable with the current workflow.
Owner

Great idea. In theory, the pieces remain in case I absolutely need to mix and match generations, but I haven't done that at all yet, and worse case I can just open Tenacity and manually edit there.

It's been a pain seeing a bunch of clutter in the history tab too, but the history tab needs some love as it does some rather abhorrent things for loading.

Great idea. In theory, the pieces remain in case I absolutely need to mix and match generations, but I haven't done that at all yet, and worse case I can just open Tenacity and manually edit there. It's been a pain seeing a bunch of clutter in the history tab too, but the history tab needs some love as it does some rather abhorrent things for loading.
Author

it does some rather abhorrent things for loading

lol yeah, yesterday I processed one chapter of a book, it generated about 50 audio files, and the history tab froze for a solid minute before loading the list of files.

Also, on a side note, in the colab notebook, if you connect to your gdrive, it creates the (training, voices, results) folders right at the root of the drive. It would probably be better if it created a parent folder for it called "ai-voice-cloning" or something.

> it does some rather abhorrent things for loading lol yeah, yesterday I processed one chapter of a book, it generated about 50 audio files, and the history tab froze for a solid minute before loading the list of files. Also, on a side note, in the colab notebook, if you connect to your gdrive, it creates the (training, voices, results) folders right at the root of the drive. It would probably be better if it created a parent folder for it called "ai-voice-cloning" or something.
Owner

Apologies for taking so long to get around to this. A mix of everything interrupting me, and trying to follow through with a possible breakthrough with training on lower VRAM cards.

Added setting Delete Non-Final Output (default on) in 9e64dad785. I also cleaned up some things with handling the post-processing, so the voicefixed output should have its settings embedded (as I was lazy and didn't do this before), and not generate JSONs if embedding to output is on (to avoid useless cluttering, as you can just drop it into the UI to re-grab settings).

Apologies for taking so long to get around to this. A mix of everything interrupting me, and trying to follow through with a possible breakthrough with training on lower VRAM cards. Added setting `Delete Non-Final Output` (default on) in 9e64dad785bc6d6e0e948784b27028d5d4746e25. I also cleaned up some things with handling the post-processing, so the voicefixed output should have its settings embedded (as I was lazy and didn't do this before), and not generate JSONs if embedding to output is on (to avoid useless cluttering, as you can just drop it into the UI to re-grab settings).
Author

Thanks! Also, any opinion on the second point about the notebook?

Thanks! Also, any opinion on the second point about the notebook?
Owner

Right right, almost forgot. Give me a few to figure out an elegant way to use setups as I'm not well versed in bash scripts.

Right right, almost forgot. Give me a few to figure out an elegant way to use setups as I'm not well versed in bash scripts.
Owner

Added in aa96edde2f. I did a few rudimentary tests (that involved nuking my userdata, but it's not a huge deal since it's an old model) and works fine, no userdata nukes.

Added in aa96edde2fa9072a4a56a89459675a24b655319e. I did a few rudimentary tests (that involved nuking my userdata, but it's not a huge deal since it's an old model) and works fine, no userdata nukes.
Author

No problem at all, thanks a lot!

No problem at all, thanks a lot!
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#18
No description provided.