Add 3D grid support and end-to-end visualization (training + Plotly) #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
--live-vizwork (PR add live training plots flag ---live-viz#1) by extending it to 3D.Changes
grid_sizenow (D, H, W) with 2D promotion; seeding/pooling and competition logic updated to 3D; update model uses 3D convolutions.visualize_trained.py: new viewer for trained runs with 2D/3D live playback and optional Plotly web view.Sample 3D commands
uv run python src/train.py --n-ncas 3 --epochs 200 --grid-size 10 10 10 --live-viz --viz-slice-axis depthuv run python src/visualize_trained.py --model-path <run_dir> --grid-size 10 10 10 --plotly