alansun17904 / soft-lattice-robot-design

Designing Soft-Lattice Robots with Language Modeling
2 stars 0 forks source link

mass spring simulations numerical instability #2

Open alansun17904 opened 9 months ago

alansun17904 commented 9 months ago

The following commands all result in a NaN error when the robot begins to train in the environment. Generally, this occurs in the training when the robot reaches either the gap or the start of the stair.

python3 mass_spring_stair.py robots/0.json train -stairs 3 -stair-width 0.4 0.3 0.08 -stair-heights 0.1 0.15 0.2 -goal 0.8 0.6
python3 mass_spring_gap.py robots/0.json train -gaps 2 -gap-starts 0.4 0.8 -gap-widths 0.1 0.1
python3 mass_spring_gap.py robots/0.json train -gaps 2 -gap-starts 0.4 0.8 -gap-widths 0.05 0.05
python3 mass_spring_gap.py robots/0.json train -gaps 2 -gap-starts 0.4 0.8 -gap-widths 0.025 0.025
cyshe commented 9 months ago

I tried each command several times, but the error cannot be reproduced on my machine (using the most recent code on github). Is there anything else I should be aware of?