Skip to content

refactor: pipeline training with tf.data#1

Open
xxxyj wants to merge 5 commits intomainfrom
codex/optimize-lstm-training-pipeline
Open

refactor: pipeline training with tf.data#1
xxxyj wants to merge 5 commits intomainfrom
codex/optimize-lstm-training-pipeline

Conversation

@xxxyj
Copy link
Owner

@xxxyj xxxyj commented Aug 17, 2025

Summary

  • replace Python generator with tf.data pipeline in training script
  • add prefetching for better GPU/CPU overlap
  • feed model using tf.data datasets for training and validation

Testing

  • python -m py_compile MarcDecoderWin/train.py
  • pytest (no tests found)

https://chatgpt.com/codex/tasks/task_b_68a1d8da03448320bf4bb52b2f346332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant