Learning to Assemble with Alternative Plans (SIGGRAPH 2025)
- In the project folder, create a python virtual environment
uv venv --python=3.10- Activate the environment
- Install Pytorch
uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124 # 40 series
# uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128 # 50 series- Install the package
uv pip install -e .- Verify the test code
pytest .Error may occur if you have not obtained Gurobi License. However, this does not affect the training.
- Install Pytorch (this step can be skipped if container has the right version of pytorch)
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124 # 40 series
# uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128 # 50 series- Install the package
pip install -e .- Verify the test code
pytest .python script/train tetris-1python script/test tetris-1For more options please review the code.