Add your description here
Project description
Installation
Follow this guide to install UV.
Running it
To run the entrypoint, run the following command.
uv run -m semistaticsim.groundtruth.simulator
You can set the target amount of simulation time to collect as well as the scan size. The bigger the scan size, the higher the RAM usage and jitting time, but it has the potential to go faster if you want to collect a lot of simulation time.
After collecting the data, plot the groundtruth of the first pickupable across all its valid receptacles:
TODO @MIGUEL BROKEN? OSError: 'science' is not a valid package style, path of style file
uv run groundtruth/viz.py
To run the ai2thor simulation, you can use
uv run -m semistaticsim.keyboardcontrol.main_skillsim
How-to
Features are based around varying the level of scene-to-scene semantic transfer. Every simulator step, some dt time elapses. When the duration_left reaches 0, the transition model selects the next receptacle that the object will transition to. Then, the duration model sampels the amount of tiem that the objet will spend in that new receptacle.
Duration model:
- even is "evenly spread duration of all steps"
- instant is "spend NO time at this place, immediately transition at the next step" (this is what flowmaps currently has in your 2D simulator)
- deterministic is "randomly split the day among all steps"
- gaussian is the same as deterministic with some gaussian noise
Transition model:
- "fixed_canonical": object cycles down a list of fixed receptacles
- "fixed_0.1_0.9": object has 10% chance of staying put, 90% chance of going to the next receptacle in cycle (this is what the 2D flowmaps simulator has)
- "uniform_no_diag": fully uniform transition matrix
- "uniform_full": fully uniform transition matrix
- "location_weighted_uniform_no_diag": uniform transition matrix weighted by the ProcThor receptacle prior
- "location_weighted_uniform_full": uniform transition matrix weighted by the ProcThor receptacle prior
Preliminary scan experiments
- SCANSIZE 10: ~33.5 it/s : 335 steps/s
- 100 : 33 : 3300
1000 : eta 50min
1000 : cpu: 3s/it; cuda is same!
To build a package for PyPi
uv build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file semistaticsim-0.3.0.tar.gz.
File metadata
- Download URL: semistaticsim-0.3.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdd28c19d8d4980da50a62ba124aedf82bf23c78251e37409f4e5d00e77fed71
|
|
| MD5 |
6e34ccb90a2cfecce2f60fee6496604f
|
|
| BLAKE2b-256 |
e85ba84408356e5577fdc72e08a09af7bbb1f43da46d17932ea6dcba786e07f4
|
File details
Details for the file semistaticsim-0.3.0-py3-none-any.whl.
File metadata
- Download URL: semistaticsim-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43890a8b615dc9b40adc4f3230e27af04547c7f114b465de627221e77c0d4bd0
|
|
| MD5 |
75f8ff8b30f9536174e0cb717b888ec7
|
|
| BLAKE2b-256 |
98b5ed428699ed5ae3eefa6c7553cf935960273a78a132a127a71cfb4b6d9d04
|