Skip to content

Commit

Permalink
fine-tuned with japanese
Browse files Browse the repository at this point in the history
  • Loading branch information
micelvrice committed Aug 30, 2023
1 parent b719dee commit d4c4feb
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/training/*
/config/*
/dataset/*
/results/*
/trained/*
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@
- Trim Segments: 使用TorchAudio的VAD来修剪静音,减小音频文件的实际大小,从而在训练时节省更多的处理时间和VRAM。
- Slice Start Offset: 在分割音频文件时偏移起始时间戳。
- Slice End Offset: 在分割音频文件时偏移结束时间戳。
-
- Transcribe and Process: 开始转录,同时在必要时进行切片,并分割为训练集和验证集
-
3 changes: 3 additions & 0 deletions dlas/data/audio/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import sys
sys.path.append('/home/sjx/Common/vits/ai-voice-cloning/dlas')
from pyfastmp3decoder.mp3decoder import load_mp3
Empty file removed models/finetunes/.gitkeep
Empty file.
4 changes: 4 additions & 0 deletions req.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pyyaml
tb-nightly
future
munch
6 changes: 2 additions & 4 deletions src/test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
import sys

sys.path.append('/home/sjx/Common/vits/ai-voice-cloning')
from dlas import train as tr
import torch
print(torch.distributed.get_world_size())
2 changes: 2 additions & 0 deletions src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def train(config_path, launcher='none'):
pass

import torch
import sys
sys.path.append('/home/sjx/Common/vits/ai-voice-cloning')
from dlas import train as tr
from dlas.utils import util, options as option

Expand Down
5 changes: 3 additions & 2 deletions train.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
conda activate tortoise
# conda activate tortoise
source /home/sjx/anaconda3/bin/activate /home/sjx/anaconda3/envs/tortoise
python3 ./src/train.py --yaml "$1"
deactivate
# deactivate

0 comments on commit d4c4feb

Please sign in to comment.