Skip to content

Pr8 integration - #20

Merged
Thoriri merged 27 commits into
mainfrom
pr8-integration
Sep 4, 2026
Merged

Thoriri merged 27 commits into
mainfrom
pr8-integration

Conversation

@Thoriri

@Thoriri Thoriri commented Sep 4, 2026

Copy link
Copy Markdown
Member

Supersedes #8

MatteoFasulo and others added 27 commits July 27, 2026 10:07
Updated dataset information and performance metrics for hand kinematic regression.
…s avoids namespace issues with third party libraries (e.g., datasets from HuggingFace)
…ory optimization for DDP

- finetuning dataset preload in RAM option and documentation
- regression task support for EMG finetuning
- additional dataset configurations (log dir, individual h5 file)
…ers, EMG finetuning dataset handling, and improved training script logging
- Added label smoothing and classification type options to the fine-tuning YAML.
- Updated input normalization settings for pretraining and fine-tuning.
- Revised documentation to clarify preprocessing and fine-tuning details.
- Improved error handling for classification type in the finetune task.
The PR read cfg.wandb unconditionally. Only the two TinyMyo experiment
configs define a wandb key, and there is no top-level default in
config/defaults.yaml, so under OmegaConf struct mode every non-TinyMyo
experiment (LUNA_*, FEMBA_*, LuMamba_*, PanLUNA_*) raised
ConfigAttributeError at startup before any training began.

Read the key with cfg.get("wandb", None) and gate WandbLogger creation on
the result. TinyMyo runs keep the W&B logger; other models fall back to
the TensorBoard logger alone. No config files are changed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
pyproject.toml holds repo-wide configuration that is not TinyMyo-specific:
the project metadata and dependency list, the uv source pin for
warmup-scheduler, and the black (line-length 120) and isort (black
profile) settings the whole repo is formatted against. Deleting it would
have dropped that tooling config for every model.

Restored verbatim from main. It already declares wandb as a dependency,
so the PR's new import in run_train.py resolves.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The PR changed --safetensor_path from default="model.safetensors" to
required=True, which breaks existing callers that rely on the default.
The argument is shared tooling, not TinyMyo-specific.

This was the PR's only change to the file, so restoring it from main
discards nothing else the PR intended.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@Thoriri

Thoriri commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

Co-authored-by: Matteo Fasulo

@Thoriri
Thoriri merged commit f7e9437 into main Sep 4, 2026
1 check passed
@Thoriri
Thoriri deleted the pr8-integration branch September 4, 2026 11:10
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.

2 participants