JEN 1 COMPOSER pytorch
1.0.0
การใช้งานอย่างไม่เป็นทางการ JEN-1 นักแต่งเพลง: เฟรมเวิร์กแบบครบวงจรสำหรับการสร้างเพลงแบบหลายแทร็กที่มีความเที่ยงตรงสูง (https://arxiv.org/abs/2310.19180)


git clone https://github.com/0417keito/JEN-1-pytorch.git
cd JEN-1-pytorch
pip install -r requirements.txt
import torch
from generation import Jen1
ckpt_path = 'your ckpt path'
jen1 = Jen1 ( ckpt_path )
prompt = 'a beautiful song'
samples = jen1 . generate ( prompt ) torchrun train.py
รูปแบบ JSON ชื่อของไฟล์ JSON จะต้องเหมือนกับไฟล์เพลงเป้าหมาย
{ "prompt" : " a beautiful song " } How should the data_dir be created ?
'''
dataset_dir
├── audios
| ├── music1.wav
| ├── music2.wav
| .......
| ├── music{n}.wav
|
├── metadata
| ├── music1.json
| ├── music2.json
| ......
| ├── music{n}.json
|
'''โปรดดู config.py และ conditioner_config.py
เร็วๆ นี้ !
Dr Adam Fils - เพื่อสนับสนุนและนำสิ่งนี้มาให้ความสนใจของฉัน
หากคุณพบว่า repo นี้น่าสนใจและมีประโยชน์ให้เราบน GitHub! มันกระตุ้นให้เราปรับปรุงโมเดลและเพิ่มคุณสมบัติที่น่าตื่นเต้น โปรดแจ้งให้เราทราบถึงข้อบกพร่องใด ๆ ตามปัญหา
ยินดีต้อนรับการมีส่วนร่วมเสมอ
@misc { 2310.19180 ,
Author = { Yao Yao and Peike Li and Boyu Chen and Alex Wang } ,
Title = { JEN-1 Composer: A Unified Framework for High-Fidelity Multi-Track Music Generation } ,
Year = { 2023 } ,
Eprint = { arXiv:2310.19180 } ,
}