Merge pull request #208 from rakuri255/colab

Added colab
This commit is contained in:
Vadim Rangnau authored and GitHub committed 2024-12-23 22:36:24 +01:00
commit 0418cbf336
2 files changed
+51 -2

No files matched your search

+3 -2
View File
@@ -1,9 +1,10 @@
[![Discord](https://img.shields.io/discord/1048892118732656731?logo=discord)](https://discord.gg/rYz9wsxYYK)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/rakuri255/UltraSinger/blob/master/colab/UltraSinger.ipynb)
![Status](https://img.shields.io/badge/status-development-yellow)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rakuri255/UltraSinger/main.yml)
[![GitHub](https://img.shields.io/github/license/rakuri255/UltraSinger)](https://github.com/rakuri255/UltraSinger/blob/main/LICENSE)
[![CodeFactor](https://www.codefactor.io/repository/github/rakuri255/ultrasinger/badge)](https://www.codefactor.io/repository/github/rakuri255/ultrasinger)
[![Check Requirements](https://github.com/rakuri255/UltraSinger/actions/workflows/main.yml/badge.svg)](https://github.com/rakuri255/UltraSinger/actions/workflows/main.yml)
[![Pytest](https://github.com/rakuri255/UltraSinger/actions/workflows/pytest.yml/badge.svg)](https://github.com/rakuri255/UltraSinger/actions/workflows/pytest.yml)
[![docker](https://github.com/rakuri255/UltraSinger/actions/workflows/docker.yml/badge.svg)](https://hub.docker.com/r/rakuri255/ultrasinger)
@@ -157,7 +158,7 @@ For standard use, you only need to use [opt]. All other options are optional.
##### Youtube
```commandline
-i https://www.youtube.com/watch?v=BaW_jenozKc
-i https://www.youtube.com/watch?v=YwNs1Z0qRY0
```
Note that if you run into a yt-dlp error such as `Sign in to confirm you’re not a bot. This helps protect our community` ([yt-dlp issue](https://github.com/yt-dlp/yt-dlp/issues/10128)) you can follow these steps:
+48
View File
@@ -0,0 +1,48 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"gpuType": "T4"
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
},
"accelerator": "GPU"
},
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "Hki_kX_kSbZX"
},
"outputs": [],
"source": [
"%cd /content\n",
"!git clone https://github.com/rakuri255/UltraSinger.git\n",
"%cd /content/UltraSinger\n",
"!pip install --no-cache-dir -r requirements.txt\n",
"!pip install --no-cache-dir torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121\n",
"!pip install --no-cache-dir tensorflow[and-cuda]==2.17.1\n",
"%cd /content/UltraSinger/src"
]
},
{
"cell_type": "code",
"source": [
"!python UltraSinger.py -i https://www.youtube.com/watch?v=YwNs1Z0qRY0 -o /content/output"
],
"metadata": {
"id": "O0j4vUW0YAG2"
},
"execution_count": null,
"outputs": []
}
]
}