PhoenixStormJr commited on
Commit
e4f8824
·
verified ·
1 Parent(s): 53adb48

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -1
README.md CHANGED
@@ -6,66 +6,117 @@ Hey! This isn't a model really, but it installs RVC in SUPER RECORD fast time on
6
  Here is the code I used to create the zip file:
7
 
8
  #@title Install dependencies to Google Drive
 
9
  RequirementsDriveText="""joblib>=1.1.0
 
10
  numba==0.56.4
 
11
  numpy==1.23.5
 
12
  scipy
 
13
  librosa==0.9.1
 
14
  llvmlite==0.39.0
 
15
  fairseq>=0.12.2
 
16
  soundfile>=0.12.1
 
17
  ffmpeg-python>=0.2.0
 
18
  matplotlib==3.9.4
 
19
  matplotlib-inline>=0.1.3
 
20
  praat-parselmouth>=0.4.2
 
21
  Pillow>=9.1.1
 
22
  resampy>=0.4.2
 
23
  scikit-learn
 
24
  tensorboard==2.19.0
 
25
  tqdm>=4.63.1
 
26
  sympy==1.13.1
 
27
  tabulate>=0.8.10
 
28
  PyYAML>=6.0
 
29
  absl-py>=1.2.0
 
30
  audioread
 
31
  colorama>=0.4.5
 
32
  pyworld==0.3.2
 
33
  av
34
- torch==2.5.0"""
35
 
 
36
 
37
 
38
 
39
  %cd /content
 
40
  import os
 
41
  from google.colab import drive
 
42
  drive.mount('/content/drive')
43
 
 
44
  #default installation: /usr/local/lib/python3.10/dist-packages
45
 
 
46
  RequirementsFile = open("/content/requirements.txt", "w")
 
47
  RequirementsFile.write(RequirementsDriveText)
 
48
  RequirementsFile.close()
49
 
 
50
  !sudo apt install python3.10 python3.10-venv python3.10-dev python3.10-minimal python3.10-distutils
 
51
  !curl -O https://bootstrap.pypa.io/get-pip.py
 
52
  !python3.10 get-pip.py
 
53
  !python3.10 -m pip install --upgrade pip==24.0
54
 
 
55
  if not os.path.exists("/local/lib/python3.10/dist-packages"):
 
56
  os.makedirs("/local/lib/python3.10/dist-packages")
 
57
  !python3.10 -m pip install -r requirements.txt --target="/local/lib/python3.10/dist-packages"
 
58
  if not os.path.exists("/local/lib/python3.11/dist-packages"):
 
59
  os.makedirs("/local/lib/python3.11/dist-packages")
 
60
  !python -m pip install faiss-cpu==1.7.3 numpy==1.26.4 pydub --target="/local/lib/python3.11/dist-packages"
61
 
62
  print("Zipping the pip")
 
63
  src_dir = "/local"
 
64
  zip_path = "/content/dist-packages.zip"
 
65
  !zip -r $zip_path $src_dir
 
66
  print(f"Zipped to: {zip_path}")
 
67
  print("Copying to google drive")
 
68
  if not os.path.exists("/content/drive/MyDrive/speed_up_RVC"):
 
69
  os.path.makedirs("/content/drive/MyDrive/speed_up_RVC")
 
70
  !cp $zip_path "/content/drive/MyDrive/speed_up_RVC"
 
71
  print("FINISHED!")
 
6
  Here is the code I used to create the zip file:
7
 
8
  #@title Install dependencies to Google Drive
9
+
10
  RequirementsDriveText="""joblib>=1.1.0
11
+
12
  numba==0.56.4
13
+
14
  numpy==1.23.5
15
+
16
  scipy
17
+
18
  librosa==0.9.1
19
+
20
  llvmlite==0.39.0
21
+
22
  fairseq>=0.12.2
23
+
24
  soundfile>=0.12.1
25
+
26
  ffmpeg-python>=0.2.0
27
+
28
  matplotlib==3.9.4
29
+
30
  matplotlib-inline>=0.1.3
31
+
32
  praat-parselmouth>=0.4.2
33
+
34
  Pillow>=9.1.1
35
+
36
  resampy>=0.4.2
37
+
38
  scikit-learn
39
+
40
  tensorboard==2.19.0
41
+
42
  tqdm>=4.63.1
43
+
44
  sympy==1.13.1
45
+
46
  tabulate>=0.8.10
47
+
48
  PyYAML>=6.0
49
+
50
  absl-py>=1.2.0
51
+
52
  audioread
53
+
54
  colorama>=0.4.5
55
+
56
  pyworld==0.3.2
57
+
58
  av
 
59
 
60
+ torch==2.5.0"""
61
 
62
 
63
 
64
  %cd /content
65
+
66
  import os
67
+
68
  from google.colab import drive
69
+
70
  drive.mount('/content/drive')
71
 
72
+
73
  #default installation: /usr/local/lib/python3.10/dist-packages
74
 
75
+
76
  RequirementsFile = open("/content/requirements.txt", "w")
77
+
78
  RequirementsFile.write(RequirementsDriveText)
79
+
80
  RequirementsFile.close()
81
 
82
+
83
  !sudo apt install python3.10 python3.10-venv python3.10-dev python3.10-minimal python3.10-distutils
84
+
85
  !curl -O https://bootstrap.pypa.io/get-pip.py
86
+
87
  !python3.10 get-pip.py
88
+
89
  !python3.10 -m pip install --upgrade pip==24.0
90
 
91
+
92
  if not os.path.exists("/local/lib/python3.10/dist-packages"):
93
+
94
  os.makedirs("/local/lib/python3.10/dist-packages")
95
+
96
  !python3.10 -m pip install -r requirements.txt --target="/local/lib/python3.10/dist-packages"
97
+
98
  if not os.path.exists("/local/lib/python3.11/dist-packages"):
99
+
100
  os.makedirs("/local/lib/python3.11/dist-packages")
101
+
102
  !python -m pip install faiss-cpu==1.7.3 numpy==1.26.4 pydub --target="/local/lib/python3.11/dist-packages"
103
 
104
  print("Zipping the pip")
105
+
106
  src_dir = "/local"
107
+
108
  zip_path = "/content/dist-packages.zip"
109
+
110
  !zip -r $zip_path $src_dir
111
+
112
  print(f"Zipped to: {zip_path}")
113
+
114
  print("Copying to google drive")
115
+
116
  if not os.path.exists("/content/drive/MyDrive/speed_up_RVC"):
117
+
118
  os.path.makedirs("/content/drive/MyDrive/speed_up_RVC")
119
+
120
  !cp $zip_path "/content/drive/MyDrive/speed_up_RVC"
121
+
122
  print("FINISHED!")