项目概述
Magenta: Music and Art Generation with Machine Intelligence
项目地址
https://github.com/magenta/magenta
项目页面预览

关键指标
- Stars:19770
- 主要语言:Python
- License:Apache License 2.0
- 最近更新:2026-01-06T01:17:54Z
- 默认分支:main
本站高速下载(国内可用)
点击下载(本站镜像)
– SHA256:555e55bef85209de8710f22d2edf192804bbeddfaa2f28c7c8e35c9f853f4afb
安装部署要点(README 精选)
Getting Started
Take a look at our colab notebooks for various models, including one on getting started.
Magenta.js is also a good resource for models and demos that run in the browser.
This and more, including blog posts and Ableton Live plugins, can be found at https://magenta.tensorflow.org.
Installation
Magenta maintains a pip package for easy
installation. We recommend using Anaconda to install it, but it can work in any
standard Python environment. We support Python 3 (>= 3.5). These instructions
will assume you are using Anaconda.
Automated Install (w/ Anaconda)
If you are running Mac OS X or Ubuntu, you can try using our automated
installation script. Just paste the following command into your terminal.
curl https://raw.githubusercontent.com/tensorflow/magenta/main/magenta/tools/magenta-install.sh > /tmp/magenta-install.sh
bash /tmp/magenta-install.sh
After the script completes, open a new terminal window so the environment
variable changes take effect.
The Magenta libraries are now available for use within Python programs and
Jupyter notebooks, and the Magenta scripts are installed in your path!
Note that you will need to run source activate magenta to use Magenta every
time you open a new terminal window.
Manual Install (w/o Anaconda)
If the automated script fails for any reason, or you’d prefer to install by
hand, do the following steps.
Install the Magenta pip package:
pip install magenta
NOTE: In order to install the rtmidi package that we depend on, you may need to install headers for some sound libraries. On Ubuntu Linux, this command should install the necessary packages:
sudo apt-get install build-essential libasound2-dev libjack-dev portaudio19-dev
On Fedora Linux, use
sudo dnf group install "C Development Tools and Libraries"
sudo dnf install SAASound-devel jack-audio-connection-kit-devel portaudio-devel
The Magenta libraries are now available for use within Python programs and
Jupyter notebooks, and the Magenta scripts are installed in your path!
常用命令(从 README 提取)
curl https://raw.githubusercontent.com/tensorflow/magenta/main/magenta/tools/magenta-install.sh > /tmp/magenta-install.sh
bash /tmp/magenta-install.sh
pip install magenta
sudo apt-get install build-essential libasound2-dev libjack-dev portaudio19-dev
通用部署说明
- 下载源码并阅读 README
- 安装依赖(pip/npm/yarn 等)
- 配置环境变量(API Key、模型路径、数据库等)
- 启动服务并测试访问
- 上线建议:Nginx 反代 + HTTPS + 进程守护(systemd / pm2)
免责声明与版权说明
本文仅做开源项目整理与教程索引,源码版权归原作者所有,请遵循对应 License 合规使用。








暂无评论内容