Skip to content

lil-lab/knotgym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KnotGym

[Website] [Paper]

A minimalistic environment for spatial reasoning.

Installation instructions

Step 1:

git clone --recursive https://github.com/lil-lab/knotgym.git
cd knotgym/
uv venv
uv pip install -e .

Step 2: Install pyknotid dependency with cython extension

cd external/pyknotid
uv pip install -e .
uv run python setup.py build_ext --inplace
cd ../..

To verify

uv run python -c "from pyknotid.spacecurves import chelpers"  # no error/warning

We rely on these chelpers to compute Gauss code. The speedup is quite significant, if you plan on training with them.

Step 3: Open MuJoCo visualizer

# Locating mjpython could be tricky on MacOS
cd knotgym
MUJOCO_GL=glfw mjpython script/mjc_interact.py

Baselines

See baselines/README.md

Cite

@misc{chen2025knotsimpleminimalisticenvironment,
      title={Knot So Simple: A Minimalistic Environment for Spatial Reasoning}, 
      author={Zizhao Chen and Yoav Artzi},
      year={2025},
      eprint={2505.18028},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2505.18028}, 
}

About

[NeurIPS DB 2025] A gym environment for visual spatial reasoning - knot so simple :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages