GithubHelp home page GithubHelp logo

diffsinger-docker-envonly's Introduction

在本地使用即开即用的Docker环境训练Diffsinger模型

Docker内环境

python 3.11
cuda 12.1
pytorch 2.1.2
jupyterlab
requirements.txt

准备工作

  • 安装Wsl发行版
  • 安装Docker
  • 安装Cuda
  • 拉取镜像

开始训练

  • 找到一个文件夹,并从github clone Diffsinger仓库
  • 放置训练Diffsinger模型所需的文件
  • 启动容器并将Diffsinger文件夹挂载到镜像中(在您有GPU情况下请直接复制命令,如果没有则将命令中关于gpu的部分删除)
docker run -it --gpus all -p 8888:8888 -e NVIDIA_DRIVER_CAPABILITIES=all -e NVIDIA_VISIBLE_DEVICES=all -v <local path>/Diffsinger:/content/Diffsinger q78kg/diffsinger-env-only:main
  • 从127.0.0.1:8888访问Jupyter Lab,或使用VS Code连接容器,即可按照官方文档操作并开始训练

diffsinger-docker-envonly's People

Contributors

hoshino-yumetsuki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.