跳到正文
cccskills
免费在 GitHub 公开

deepjazz

Use deepjazz for legacy MIDI jazz generation with music21 preprocessing, abstract grammar tokens, Keras/Theano LSTM training, safe diagnostics, and modernization guidance.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(22)

  • SKILL.md4.7 KB
  • references/dependency-environment.md2.3 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json317 B
  • references/troubleshooting.md2.7 KB
  • scripts/check_deepjazz_environment.py5.7 KB
  • sub-skills/grammar-and-qa/references/grammar-reference.md5.4 KB
  • sub-skills/grammar-and-qa/references/qa-reference.md3.3 KB
  • sub-skills/grammar-and-qa/references/troubleshooting.md4.3 KB
  • sub-skills/grammar-and-qa/scripts/grammar_roundtrip_smoke.py15.9 KB
  • sub-skills/grammar-and-qa/SKILL.md2.7 KB
  • sub-skills/lstm-generation/references/generation-workflow.md4.1 KB
  • sub-skills/lstm-generation/references/lstm-architecture.md2.3 KB
  • sub-skills/lstm-generation/references/modernization-notes.md2.8 KB
  • sub-skills/lstm-generation/references/troubleshooting.md2.6 KB
  • sub-skills/lstm-generation/scripts/legacy_generation_check.py7.7 KB
  • sub-skills/lstm-generation/SKILL.md4.0 KB
  • sub-skills/midi-preprocessing/references/data-assumptions.md2.7 KB
  • sub-skills/midi-preprocessing/references/midi-preprocessing.md3.2 KB
  • sub-skills/midi-preprocessing/references/troubleshooting.md2.6 KB
  • sub-skills/midi-preprocessing/scripts/inspect_midi_structure.py7.9 KB
  • sub-skills/midi-preprocessing/SKILL.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

deepjazz Repo Skill

Use this skill when a task involves the deepjazz repository or a deepjazz-style workflow: symbolic MIDI jazz generation, Metheny-style MIDI preprocessing, abstract grammar tokens, note cleanup, Keras/Theano LSTM generation, optional Theano GPU commands, or modernizing the legacy code.

This skill is self-contained. Do not rely on reading original repo scripts at runtime to recover constants, signatures, or workflow boundaries; use the bundled references and scripts below.

First route by task

User taskRoute
Inspect whether a MIDI file can work with deepjazz, change melody/accompaniment parts, or debug corpus extractionsub-skills/midi-preprocessing/
Explain or validate grammar tokens, run parse/unparse/cleanup smoke checks, or debug malformed generated grammarsub-skills/grammar-and-qa/
Run, adapt, or port the LSTM generation path; avoid playback/training hazards; inspect model settingssub-skills/lstm-generation/
Diagnose install/import/backend problems that cut across all workflowsreferences/troubleshooting.md
Check whether this skill matches a checkout/source revisionreferences/repo-provenance.md

Minimal safe start

  1. Treat deepjazz as a legacy script collection, not a modern installable package.

  2. For faithful execution, use a Python 2.7-era environment with NumPy/SciPy, music21, Keras 1.x, and Theano. Read references/dependency-environment.md before installing.

  3. Set KERAS_BACKEND=theano before importing legacy Keras.

  4. Run the bundled no-training environment check:

    python scripts/check_deepjazz_environment.py --expect-theano
    
  5. Validate MIDI structure before training:

    python sub-skills/midi-preprocessing/scripts/inspect_midi_structure.py --midi-file <input.mid>
    
  6. Validate grammar/QA behavior without training:

    python sub-skills/grammar-and-qa/scripts/grammar_roundtrip_smoke.py --seed 7
    
  7. Only run full generation after environment, data, and grammar checks pass. The original generation flow trains an LSTM, attempts realtime MIDI playback, and writes MIDI output.

Key distilled facts

  • Public source modules: generator, grammar, preprocess, qa, and lstm.
  • Verified public signatures: generate(data_fn, out_fn, N_epochs), build_model(corpus, val_indices, max_len, N_epochs=128), get_musical_data(data_fn), get_corpus_data(abstract_grammars), parse_melody(fullMeasureNotes, fullMeasureChords), unparse_grammar(m1_grammar, m1_chords), prune_grammar(curr_grammar), prune_notes(curr_notes), clean_up_notes(curr_notes).
  • Default generation settings: max_len=20, max_tries=1000, diversity=0.5, bpm=130, default epochs 128.
  • The README documents CPU execution and an optional NVIDIA/Theano GPU command; CPU is the safe baseline for this skill.
  • The default MIDI workflow is tailored to a Metheny fixture: melody part 5, accompaniment parts 0,1,6,7, and solo window offsets 476..548.

Shared references and scripts

Non-goals

  • Do not treat this as a generic modern music-generation framework.
  • Do not claim GPU verification unless a task explicitly verifies the legacy Theano CUDA path.
  • Do not run full generation as a quick smoke test; use bundled no-training helpers first.
  • Do not expect arbitrary MIDI files to work without adapting part and offset assumptions.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题