Add .gitignore and stop tracking Python bytecode caches
#2
by alexis779 - opened
Summary
This PR improves repo hygiene and refactors training code into a small package layout.
1. .gitignore and bytecode
- Ignore Python bytecode and caches (
__pycache__/,*.pyc, β¦), virtualenvs, build/packaging dirs, IDE/OS noise, and local training outputs (wandb/,output/). - Stop tracking previously committed
.pycfiles undersrc/**/__pycache__/.
2. Predictor refactor + packaging
- Move
encode_video,ActionConditionedPredictor, andCrossAttentionLayerfromtrain.pyintosrc/jepa_predictor.py;train.pyimports them. - Wire
TrainingConfigdataset paths toROOT/FRAMES_ROOTfromsrc/datasets/so100_lerobot.py. - Add
pyproject.toml,uv.lock,.python-version,main.py, andsrc/__init__.py.
Dataset paths (optional env overrides)
SO100_LEROBOT_ROOTβ defaults to the path baked into the original dataset adapter.SO100_LEROBOT_FRAMES_ROOTβ defaults to{ROOT}/frames.
Set these if your dataset lives outside the default location.
Rupesh386 changed pull request status to merged