简体   繁体   English

如何为此特定笔记本 WhisperWithVAD 连接到 Google Colab 中的本地运行时

[英]How to connect to local runtime in Google Colab for this specific notebook WhisperWithVAD

I wish someone could help me to connect local runtime on this specific notebook on Google Colab at this link: https://colab.research.google.com/github/ANonEntity/WhisperWithVAD/blob/main/WhisperWithVAD.ipynb Basically it is a modified version of OpenAI's Whisper for Speech-to-Text for my videos to learn languages, with this model it take use of GPU accellation acceleration I have been using the free version but it has been restricted due to the fact that it is not unlimited to use this model through Google's host.我希望有人可以通过此链接帮助我在 Google Colab 上的这个特定笔记本上连接本地运行时: https://colab.research.google.com/github/ANonEntity/WhisperWithVAD/blob/main/WhisperWithVAD.ipynb基本上它是一个OpenAI 的 Whisper for Speech-to-Text 的修改版本,用于我的视频学习语言,使用这个 model 它使用 GPU 加速加速我一直在使用免费版本但由于它不是无限的而受到限制通过谷歌的主机使用这个 model。 Since I am not really a dev, I have difficulties with the setup.由于我不是真正的开发人员,因此我在设置方面遇到了困难。 It would be also if you can give me a clear instruction.如果您能给我一个明确的指示,那也将是。

Corresponding with error in Colab: Unable to connect to runtime对应Colab报错:Unable to connect to runtime

You can follow these instructions to install Jupyter on your local machine and then connect the WhisperWithVAD notebook to your local runtime: https://research.google.com/colaboratory/local-runtimes.html您可以按照以下说明在本地计算机上安装 Jupyter,然后将 WhisperWithVAD notebook 连接到本地运行时: https://research.google.com/colaboratory/local-runtimes.html

I was able to get this up running, but had to comment out some code in the Run Whisper block where the notebook was getting hung up:我能够让它运行起来,但不得不在笔记本挂断的 Run Whisper 块中注释掉一些代码:

#from google.colab import files (near the top of the block) and #files.download(out_path) (at the bottom of the block) #from google.colab import files (靠近块的顶部)和#files.download(out_path) (在块的底部)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM