ClaudeChen commited on
Commit
fdfc112
β€’
1 Parent(s): e2c0791

add f5tts/maskgct

Browse files
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. audio/.gitattributes +0 -1
  2. audio/generate_data_viewer.py +0 -48
  3. audio/metadata.csv +0 -0
  4. {audio/doubao β†’ doubao}/100785033.mp3 +0 -0
  5. {audio/doubao β†’ doubao}/10119428.mp3 +0 -0
  6. {audio/doubao β†’ doubao}/106685726.mp3 +0 -0
  7. {audio/doubao β†’ doubao}/10698584.mp3 +0 -0
  8. {audio/doubao β†’ doubao}/11125629.mp3 +0 -0
  9. {audio/doubao β†’ doubao}/1140672573.mp3 +0 -0
  10. {audio/doubao β†’ doubao}/11646119.mp3 +0 -0
  11. {audio/doubao β†’ doubao}/11684621.mp3 +0 -0
  12. {audio/doubao β†’ doubao}/1195284234.mp3 +0 -0
  13. {audio/doubao β†’ doubao}/14583962.mp3 +0 -0
  14. {audio/doubao β†’ doubao}/14781644.mp3 +0 -0
  15. {audio/doubao β†’ doubao}/14804670.mp3 +0 -0
  16. {audio/doubao β†’ doubao}/14871346.mp3 +0 -0
  17. {audio/doubao β†’ doubao}/15892313.mp3 +0 -0
  18. {audio/doubao β†’ doubao}/1640095931.mp3 +0 -0
  19. {audio/doubao β†’ doubao}/170948267.mp3 +0 -0
  20. {audio/doubao β†’ doubao}/17588331.mp3 +0 -0
  21. {audio/doubao β†’ doubao}/178690106.mp3 +0 -0
  22. {audio/doubao β†’ doubao}/18202105.mp3 +0 -0
  23. {audio/doubao β†’ doubao}/1858861103.mp3 +0 -0
  24. {audio/doubao β†’ doubao}/18706318.mp3 +0 -0
  25. {audio/doubao β†’ doubao}/192090.mp3 +0 -0
  26. {audio/doubao β†’ doubao}/19319172.mp3 +0 -0
  27. {audio/doubao β†’ doubao}/1937308559.mp3 +0 -0
  28. {audio/doubao β†’ doubao}/206840230.mp3 +0 -0
  29. {audio/doubao β†’ doubao}/21837784.mp3 +0 -0
  30. {audio/doubao β†’ doubao}/23630128.mp3 +0 -0
  31. {audio/doubao β†’ doubao}/23947287.mp3 +0 -0
  32. {audio/doubao β†’ doubao}/2435767.mp3 +0 -0
  33. {audio/doubao β†’ doubao}/246370149.mp3 +0 -0
  34. {audio/doubao β†’ doubao}/250111460.mp3 +0 -0
  35. {audio/doubao β†’ doubao}/25150941.mp3 +0 -0
  36. {audio/doubao β†’ doubao}/254463269.mp3 +0 -0
  37. {audio/doubao β†’ doubao}/25876945.mp3 +0 -0
  38. {audio/doubao β†’ doubao}/26108626.mp3 +0 -0
  39. {audio/doubao β†’ doubao}/265059948.mp3 +0 -0
  40. {audio/doubao β†’ doubao}/304578055.mp3 +0 -0
  41. {audio/doubao β†’ doubao}/326081112.mp3 +0 -0
  42. {audio/doubao β†’ doubao}/326246517.mp3 +0 -0
  43. {audio/doubao β†’ doubao}/326427334.mp3 +0 -0
  44. {audio/doubao β†’ doubao}/33683045.mp3 +0 -0
  45. {audio/doubao β†’ doubao}/337521240.mp3 +0 -0
  46. {audio/doubao β†’ doubao}/339233162.mp3 +0 -0
  47. {audio/doubao β†’ doubao}/3433092.mp3 +0 -0
  48. {audio/doubao β†’ doubao}/349092963.mp3 +0 -0
  49. {audio/doubao β†’ doubao}/37663924.mp3 +0 -0
  50. {audio/doubao β†’ doubao}/37781521.mp3 +0 -0
audio/.gitattributes DELETED
@@ -1 +0,0 @@
1
- *.wav filter=lfs diff=lfs merge=lfs -text
 
 
audio/generate_data_viewer.py DELETED
@@ -1,48 +0,0 @@
1
- import os
2
- import csv
3
- import json
4
-
5
- ref_path = os.getenv("REF_PATH")
6
- cer_path = os.getenv("CER_PATH")
7
- sim_path = os.getenv("SIM_PATH")
8
- assert ref_path is not None
9
- with open(ref_path, 'r') as f:
10
- data = json.load(f)
11
- with open(cer_path, 'r') as f:
12
- cer_data = json.load(f)
13
- with open(sim_path, 'r') as f:
14
- sim_data = json.load(f)
15
- ref = {}
16
- c = 1
17
- for item in data:
18
- k = item['ref_wav_path']
19
- ref[k] = {
20
- 'speaker_name': item['up_name'],
21
- 'input_text': item['text'],
22
- 'tag': item['category'],
23
- 'id': f'{c:03d}'
24
- }
25
- c += 1
26
-
27
- folders = ['human', 't-large', 'p-preview', 'xunfei', 'doubao']
28
- csv_file = 'metadata.csv'
29
-
30
- with open(csv_file, mode='w', newline='') as file:
31
- writer = csv.writer(file)
32
- writer.writerow(['file_name', 'id', 'speaker_name', 'TTS_method', 'input_text', 'cer', 'sim', 'tag'])
33
-
34
- for item in os.listdir('human'):
35
- v = ref[item]
36
- for folder in folders:
37
- file_id = item.split('.')[0]
38
- if folder in ['xunfei', 'doubao']:
39
- file_name = os.path.join(folder, file_id + '.mp3')
40
- else:
41
- file_name = os.path.join(folder, item)
42
- if folder in ['human']:
43
- writer.writerow([file_name, v['id'], v['speaker_name'], folder, v['input_text'], 0., 1., v['tag']])
44
- else:
45
- writer.writerow([file_name, v['id'], v['speaker_name'], folder, v['input_text'], cer_data[file_id][folder+'_cer'], sim_data[file_id][folder+'_sim'], v['tag']])
46
- writer.writerow([])
47
-
48
- print(f"CSV OK: {csv_file}")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
audio/metadata.csv DELETED
The diff for this file is too large to render. See raw diff
 
{audio/doubao β†’ doubao}/100785033.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/10119428.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/106685726.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/10698584.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/11125629.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/1140672573.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/11646119.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/11684621.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/1195284234.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/14583962.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/14781644.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/14804670.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/14871346.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/15892313.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/1640095931.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/170948267.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/17588331.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/178690106.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/18202105.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/1858861103.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/18706318.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/192090.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/19319172.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/1937308559.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/206840230.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/21837784.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/23630128.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/23947287.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/2435767.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/246370149.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/250111460.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/25150941.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/254463269.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/25876945.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/26108626.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/265059948.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/304578055.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/326081112.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/326246517.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/326427334.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/33683045.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/337521240.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/339233162.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/3433092.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/349092963.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/37663924.mp3 RENAMED
File without changes
{audio/doubao β†’ doubao}/37781521.mp3 RENAMED
File without changes