Python与模型相关知识以及问题的整理

Google colab 测试运行SoloSpeech蒸馏项目中教师模型的训练

PHPer 2025-08-28 3 0 0

注意:普通用户的谷歌Drive空间只有15G。9G多的压缩文件是没法解压的,只能把文件下载到本地后解压了再上传到Drive。另外谷歌的付费模式已经查不到支持paypal了,只支持信用卡等银行卡 20250828 0928

由于SoloSpeech官方没有提供蒸馏用的教师模型,只好自己训练一个。

谷歌每天给的免费的GPU运行时的时间是2小时20分钟左右。

免费给的无GUP只有CPU的运行时是15小时左右。Nice. 20250828 0720

您目前没有可用的计算单元。免费提供的资源并没有保证。如需购买更多计算单元,请点击此处。

在您当前的用量水平下,此运行时可能会持续长达 2 小时 10 分钟。

Python 3 Google Compute Engine 后端 (GPU)

显示06:59到07:02之间的资源

系统 RAM

1.5 / 12.7 GB

GPU RAM

0.0 / 15.0 GB

磁盘

39.3 / 112.6 GB



您未订阅。 了解详情

您目前没有可用的计算单元。免费提供的资源并没有保证。如需购买更多计算单元,请点击此处。

在您当前的用量水平下,此运行时可能会持续长达 14 小时 50 分钟。

Python 3 Google Compute Engine 后端

显示07:13到07:18之间的资源

系统 RAM

1.4 / 12.7 GB

磁盘

39.4 / 107.7 GB


Mounted at /content/drive
/tmp/ipython-input-3132227012.py:60: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
  tar_ref.extractall(DATA_DIR)


20250828 0725

Requirement already satisfied: platformdirs>=2.5.0 in /usr/local/lib/python3.12/dist-packages (from pooch>=1.1->librosa) (4.3.8)
Requirement already satisfied: requests>=2.19.0 in /usr/local/lib/python3.12/dist-packages (from pooch>=1.1->librosa) (2.32.4)
Requirement already satisfied: threadpoolctl>=3.1.0 in /usr/local/lib/python3.12/dist-packages (from scikit-learn>=1.1.0->librosa) (3.6.0)
Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests>=2.19.0->pooch>=1.1->librosa) (3.4.3)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/dist-packages (from requests>=2.19.0->pooch>=1.1->librosa) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/dist-packages (from requests>=2.19.0->pooch>=1.1->librosa) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/dist-packages (from requests>=2.19.0->pooch>=1.1->librosa) (2025.8.3)
Mounted at /content/drive
/tmp/ipython-input-3132227012.py:60: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
  tar_ref.extractall(DATA_DIR)
---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
/tmp/ipython-input-3132227012.py in ()
     58     try:
     59         with tarfile.open(FILENAME, 'r:gz') as tar_ref:
---> 60             tar_ref.extractall(DATA_DIR)
     61         print("Extracted data.")
     62     except Exception as e:

3 frames
/usr/lib/python3.12/tarfile.py in makefile(self, tarinfo, targetpath)
   2559         source.seek(tarinfo.offset_data)
   2560         bufsize = self.copybufsize
-> 2561         with bltn_open(targetpath, "wb") as target:
   2562             if tarinfo.sparse is not None:
   2563                 for offset, size in tarinfo.sparse:

KeyboardInterrupt: 


...

立即注册
更新于:2025-08-28 09:31:25
    您需要登录后才可以评论。 立即注册
    相关内容

    在google搜索中遇到的新奇的事

    Google搜索:CropImageUploadBehavior is not found发现了https://hotexam...

    推荐内容

    怎样使用V2Ray代理和SSTap玩如魔兽世界/绝地求生/LOL台服/战地3/黑色沙漠/彩...

    sstap游戏代理教程 从此玩如魔兽世界/绝地求生/LOL台服/战地3/黑色沙漠/彩虹六...

    BT磁力搜索网站汇总和找不到的资源

    什么是磁力链接,您如何使用?

    Z-Library:全球最大的数字图书馆/含打不开的解决方案/镜像

    使用V2Ray的mKCP协议加速游戏

    v2rayN已停止工作

    【车险课堂】什么是无赔款优待系数ncd,你“造”吗?