MIDI-GPT
GPT-2 transformer for controllable, multitrack symbolic music generation
파일 탐색기
최종 버전 다운로드 (.zip)- docs.yml
- wheels.yml
- dependencies.cmake
- ar_chordal.mid
- ar_monophonic.mid
- bmw_solo_resample1.mid
- bmw_solo_resample2.mid
- harp_chordal.mid
- harp_monophonic.mid
- infill_allstar_dur_16th.mid
- infill_allstar_dur_8th.mid
- infill_chordal.mid
- infill_sparse.mid
- prompt_ar.mid
- prompt_bach.mid
- prompt_bmw.mid
- prompt_californication.mid
- prompt_harp.mid
- prompt_infill.mid
- prompt_sampling.mid
- sampling_cello_dur_16th.mid
- sampling_cello_dur_4th.mid
- sampling_cello_dur_8th.mid
- sampling_cello_dur_half.mid
- sampling_cello_staccato.mid
- sampling_cello_sustained.mid
- sampling_drums_calif_density1.mid
- sampling_drums_calif_density3.mid
- sampling_drums_calif_density8.mid
- sampling_drums_dense.mid
- sampling_drums_sparse.mid
- summer_final.mid
- ar_chordal.mp4
- ar_monophonic.mp4
- bar_infill_chordal.mp4
- bar_infill_sparse.mp4
- bmw_solo_resample1.mp4
- bmw_solo_resample2.mp4
- harp_chordal.mp4
- harp_monophonic.mp4
- infill_allstar_dur_16th.mp4
- infill_allstar_dur_8th.mp4
- manifest.json
- summer_final.mp4
- track_sampling_cello_dur_16th.mp4
- track_sampling_cello_dur_4th.mp4
- track_sampling_cello_dur_8th.mp4
- track_sampling_cello_dur_half.mp4
- track_sampling_cello_staccato.mp4
- track_sampling_cello_sustained.mp4
- track_sampling_drums_calif_density1.mp4
- track_sampling_drums_calif_density3.mp4
- track_sampling_drums_calif_density8.mp4
- track_sampling_drums_dense.mp4
- track_sampling_drums_sparse.mp4
- extra.css
- logo.svg
- api.md
- attribute_controls_guide.md
- concepts.md
- contributing.md
- encoder_guide.md
- examples.md
- http.md
- index.md
- models.md
- osc.md
- quickstart.md
- training.md
- json.hpp
- expressive_config.json
- expressive_encoder.json
- expressive_medium.json
- expressive_small.json
- ghost_config.json
- prism_encoder.json
- train_config.json
- yellow_config.json
- yellow_encoder.json
- yellow_large.json
- yellow_medium.json
- yellow_small.json
- gen_doc_examples.py
- render_doc_midi_videos.py
- lib.cpp
- logging.h
- score.h
- types.h
- midi_reader.cpp
- midi_reader.h
- midi_writer.cpp
- midi_writer.h
- attribute_value_constraint.h
- bar_attribute_value_constraint.h
- constraint.h
- constraint_graph.cpp
- constraint_graph.h
- density_constraint.cpp
- density_constraint.h
- grammar_constraint.cpp
- grammar_constraint.h
- polyphony_constraint.cpp
- polyphony_constraint.h
- generation_step.h
- selection_mask.h
- session_state.cpp
- session_state.h
- step_planner.cpp
- step_planner.h
- decoder.cpp
- decoder.h
- domain_transforms.h
- encoder.cpp
- encoder.h
- encoder_config.cpp
- encoder_config.h
- vocabulary.cpp
- vocabulary.h
- __init__.py
- _features.py
- _harmony.py
- _model.py
- _note.py
- _processing.py
- _timing.py
- __init__.py
- base.py
- density.py
- density_quantiles.json
- key_signature.py
- nomml.py
- note_duration.py
- pitch_class_set.py
- pitch_range.py
- polyphony.py
- quantile.py
- silence.py
- __init__.py
- bar_window.py
- base.py
- instrument_swap.py
- mask_bar.py
- score_window.py
- track_permutation.py
- transpose.py
- velocity.py
- __init__.py
- server.py
- __init__.py
- gpt2.py
- registry.py
- torchscript_adapter.py
- transformer_lm_base.py
- __init__.py
- base.py
- config.py
- engine.py
- inference.md
- session.py
- validation.py
- style.css
- AppController.js
- AudioController.js
- MidiController.js
- OscBridge.js
- mvc.js
- SessionModel.js
- TrackModel.js
- AttributeGraphView.js
- ContextView.js
- DebugView.js
- ParamPanelView.js
- PianoRollView.js
- Splitters.js
- TimingView.js
- TrackHeaderView.js
- TrackListView.js
- TransportView.js
- main.js
- SOUNDFONTS.md
- index.html
- __init__.py
- app.py
- __init__.py
- gen.py
- listen.py
- piece_state.py
- server.py
- __init__.py
- checkpoint.py
- tokenizer.py
- __init__.py
- collator.py
- data_module.py
- dataset.py
- lightning_module.py
- preprocess.py
- trainer.py
- __init__.py
- _converters.py
- _types.py
- utils.py
- 6338816_Etude No. 4.mid
- 6354774_Macabre Waltz.mid
- Aicha.mid
- All The Small Things.mid
- d6caebd1964d9e4a3c5ea59525230e2a.mid
- d8faddb8596fff7abb24d78666f73e4e.mid
- edge_cross_bar_sustain.mid
- edge_dense_polyphony.mid
- edge_drums_and_melodic.mid
- edge_time_sig_change.mid
- edge_very_long_note.mid
- empty.mid
- Funkytown.mid
- Girls Just Want to Have Fun.mid
- I Gotta Feeling.mid
- In Too Deep.mid
- Les Yeux Revolvers.mid
- Maestro_1.mid
- Maestro_10.mid
- Maestro_2.mid
- Maestro_3.mid
- Maestro_4.mid
- Maestro_5.mid
- Maestro_6.mid
- Maestro_7.mid
- Maestro_8.mid
- Maestro_9.mid
- Mr. Blue Sky.mid
- POP909_008.mid
- POP909_010.mid
- POP909_022.mid
- POP909_191.mid
- Shut Up.mid
- What a Fool Believes.mid
- __init__.py
- conftest.py
- generate_edge_fixtures.py
- pytest.ini
- test_benchmark.py
- test_benchmark_extensive.py
- test_decode_parity.py
- test_generation_extensive.py
- test_infill_prompt_parity.py
- test_midi_integrity.py
- test_modes.py
- test_osc_session.py
- test_parity_raw.py
- test_parity_raw_midi.py
- test_step_planner_parity.py
- test_tokenization_parity.py
- doctest.h
- test_constraints.cpp
- test_domain_transforms.cpp
- test_io.cpp
- test_score.cpp
- test_session_state.cpp
- test_step_planner.cpp
- test_tokenizer.cpp
- test_vocabulary.cpp
- 6338816_Etude No. 4.mid
- 6354774_Macabre Waltz.mid
- Aicha.mid
- All The Small Things.mid
- d6caebd1964d9e4a3c5ea59525230e2a.mid
- d8faddb8596fff7abb24d78666f73e4e.mid
- edge_cross_bar_sustain.mid
- edge_dense_polyphony.mid
- edge_drums_and_melodic.mid
- edge_time_sig_change.mid
- edge_very_long_note.mid
- empty.mid
- Funkytown.mid
- Girls Just Want to Have Fun.mid
- I Gotta Feeling.mid
- In Too Deep.mid
- Les Yeux Revolvers.mid
- Maestro_1.mid
- Maestro_10.mid
- Maestro_2.mid
- Maestro_3.mid
- Maestro_4.mid
- Maestro_5.mid
- Maestro_6.mid
- Maestro_7.mid
- Maestro_8.mid
- Maestro_9.mid
- Mr. Blue Sky.mid
- piano_bell.mid
- POP909_008.mid
- POP909_010.mid
- POP909_022.mid
- POP909_191.mid
- Shut Up.mid
- What a Fool Believes.mid
- __init__.py
- test_engine.py
- test_gpt2.py
- test_registry.py
- test_torchscript_adapter.py
- test_transformer_lm_base.py
- __init__.py
- test_ar.py
- test_constraints.py
- test_infill.py
- test_kv_runner.py
- test_modes.py
- conftest.py
- test_attributes.py
- test_augmentation.py
- test_checkpoint.py
- test_config.py
- test_converters.py
- test_http.py
- TEST_IMPLEMENTATION_PLAN.md
- test_pretrained_checkpoints.py
- test_tokenizer.py
- test_training.py
- test_types.py
- test_validation.py
- .env.example
- .gitignore
- .pre-commit-config.yaml
- CHANGELOG.md
- CITATION.cff
- CMakeLists.txt
- CONTRIBUTING.md
- LICENSE
- mkdocs.yml
- pyproject.toml
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Metacreation-Lab/MIDI-GPT
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd MIDI-GPT
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install "midigpt[inference]"
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install "midigpt[http]"
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install "midigpt[realtime]"
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install pre-commit && pre-commit install
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. CMake
보통사전 준비물
cmake -S . -B build_cpp -DCMAKE_BUILD_TYPE=Release
이 명령어를 터미널에 그대로 입력해 실행하세요.
cmake --build build_cpp -j
이 명령어를 터미널에 그대로 입력해 실행하세요.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Python
쉬움사전 준비물
pip install "midigpt[inference]"
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
python -m midigpt.training.preprocess \
파이썬 스크립트(또는 모듈)를 실행합니다.
python -m midigpt.training.trainer \
파이썬 스크립트(또는 모듈)를 실행합니다.
pip install "midigpt[http]"
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install "midigpt[realtime]"
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
