Skip to content

Portability: TF2 shim, style CLI, runnable gate - #91

Open
lekt9 wants to merge 1 commit into
calclavia:icscfrom
lekt9:contract-portability
Open

Portability: TF2 shim, style CLI, runnable gate#91
lekt9 wants to merge 1 commit into
calclavia:icscfrom
lekt9:contract-portability

Conversation

@lekt9

@lekt9 lekt9 commented Jun 29, 2026

Copy link
Copy Markdown

Upstream contribution from contract substrate integration (arxiv:1801.00887).

Changes

  • Fix missing import os in util.py
  • TF2 keras import shim (tf_keras_compat.py)
  • Composer style index (style_registry.py, scripts/list_styles.py)
  • generate.py: --styles, --genre, --output flags
  • requirements-modern.txt, scripts/setup.sh, scripts/gate.sh, test_portability.py

Gate (no trained weights):

bash scripts/gate.sh

Paper: https://arxiv.org/abs/1801.00887

- Fix missing import os in util.py
- Add --list-styles, --genre, --output to generate.py
- tf_keras_compat for tensorflow 2.x
- requirements-modern.txt + scripts/setup.sh + scripts/gate.sh

Contract substrate integration: arxiv:1801.00887 DeepJ style conditioning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant