Rewrite notebook: connect to OpenEnv server via WebSocket

#3
OpenEnv Community org

Rewrote training notebook to properly use the OpenEnv architecture:

  • Connects to HF Space server URL for all simulation and reward computation
  • No local origami_server imports — fully decoupled client/server
  • GET /tasks to fetch task definitions from server
  • WebSocket /ws for reset + step (simulation + shape matching)
  • valid_fold reward: local JSON validation (fast, no server needed)
  • shape_match reward: calls server via WebSocket per completion
Cannot merge
This branch has merge conflicts in the following files:
  • training/train_origami.ipynb

Sign up or log in to comment