File tree Expand file tree Collapse file tree 6 files changed +194
-10
lines changed
Expand file tree Collapse file tree 6 files changed +194
-10
lines changed Original file line number Diff line number Diff line change @@ -43,4 +43,6 @@ dependencies = [
4343 " Faster_Whisper" ,
4444 " funasr==1.0.27" ,
4545 " torchaudio==2.1.1" ,
46+ " pandas" ,
47+ " tensorboard" ,
4648]
Original file line number Diff line number Diff line change @@ -55,3 +55,4 @@ g2p-en~=2.1.0
5555pandas ~= 2.2.3
5656torchmetrics ~= 1.6.1
5757regex ~= 2024.11.6
58+ tensorboard
Original file line number Diff line number Diff line change 77
88from . import commons
99from .mel_processing import spectrogram_torch
10- from text import cleaned_text_to_sequence
10+ from src . easevoice . text import cleaned_text_to_sequence
1111import torch .nn .functional as F
1212from ...utils .audio import load_audio
1313version = os .environ .get ('version' , None )
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- encoding=utf8 -*-
3+ import os
4+ import sys
35
6+
7+ def append_src_to_path ():
8+ path = os .path .dirname (os .path .dirname (os .path .dirname (os .path .abspath (__file__ ))))
9+ print (f"path for src: { path } " )
10+ sys .path .append (path )
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- encoding=utf8 -*-
33
4- import unittest
5-
6- from src .service .train import TrainGPTService
7- from src .train .gpt import GPTTrainParams
84from src .utils .response import ResponseStatus
5+ from src .train .gpt import GPTTrainParams
6+ from src .service .train import TrainGPTService
7+ import unittest
98
109
1110class TestTrain (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments