Download scripts/check_thor.py from ch-min-ys/alfred: direct link, hf CLI and curl.
- Browser
- Download file 206 Bytes
-
https://huggingface.co/ch-min-ys/alfred/resolve/main/scripts/check_thor.py
- Command line
-
hf download hf://ch-min-ys/alfred/scripts/check_thor.py
-
curl -L -o check_thor.py https://huggingface.co/ch-min-ys/alfred/resolve/main/scripts/check_thor.py
206 Bytes
| from ai2thor.controller import Controller | |
| c = Controller() | |
| c.start() | |
| event = c.step(dict(action="MoveAhead")) | |
| assert event.frame.shape == (300, 300, 3) | |
| print(event.frame.shape) | |
| print("Everything works!!!") |