chore: add basedpyright dev tooling and refresh AGENTS note
This commit is contained in:
@@ -74,17 +74,11 @@ CUDA_VISIBLE_DEVICES=0,1 uv run python -m torch.distributed.launch --nproc_per_n
|
||||
# ScoNet 1-GPU eval
|
||||
CUDA_VISIBLE_DEVICES=0 uv run python -m torch.distributed.launch --nproc_per_node=1 opengait/main.py --cfgs ./configs/sconet/sconet_scoliosis1k_local_eval_1gpu.yaml --phase test
|
||||
|
||||
# train
|
||||
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 opengait/main.py --cfgs ./configs/baseline/baseline.yaml --phase train
|
||||
|
||||
# test
|
||||
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 opengait/main.py --cfgs ./configs/baseline/baseline.yaml --phase test
|
||||
|
||||
# preprocess (generic)
|
||||
python datasets/pretreatment.py --input_path <raw_or_rearranged> --output_path <pkl_root>
|
||||
```
|
||||
|
||||
## NOTES
|
||||
- LSP symbol map was unavailable in this environment (missing `basedpyright-langserver`), so centrality here is import/search-derived.
|
||||
- LSP symbol map can be enabled via uv dev dependency `basedpyright`; `basedpyright` and `basedpyright-langserver` are available in `.venv` after `uv sync`.
|
||||
- `train.sh` / `test.sh` are canonical launch examples across datasets/models.
|
||||
- Academic-use-only restriction is stated in repository README.
|
||||
|
||||
Reference in New Issue
Block a user