Installation
Follow this guide to install UV.
The AI2-THOR simulation renders with Vulkan and needs the Vulkan loader (libvulkan.so.1): sudo apt-get install libvulkan1, or conda install -c conda-forge libvulkan-loader and add the environment's lib folder to LD_LIBRARY_PATH.
Running it
To run the entrypoint, run the following command.
uv run -m semistaticsim.groundtruth.main
--config-name adaptive_exp runs the adaptation experiment instead, where the objects' routine changes at hour 504.
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:
uv run -m semistaticsim.groundtruth.viz
To run the ai2thor simulation, you can use
uv run -m semistaticsim.keyboardcontrol.main_skillsim
Data paths
Both stages write under generated_data/ in the working directory. Set data_dir to use another folder, with the same value for both stages:
uv run -m semistaticsim.groundtruth.main procthor_index=153 data_dir=/path/to/data
uv run -m semistaticsim.keyboardcontrol.main_skillsim mode=auto index=153 data_dir=/path/to/data
| Setting | Default | Content |
|---|---|---|
data_dir |
./generated_data |
Root of all generated data |
object_data_dir |
<data_dir>/object_data |
Objects of each ProcTHOR-10k house, extracted on first use |
target_dir |
<data_dir>/semistaticsim/<split>/<index>/<seed>/groundtruth |
Ground truth (groundtruth.main) |
scene |
Same as target_dir |
Ground truth the robot runs use; runs go to ../privileged |
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
# bump the version in the .toml
uv build
# delete the old build in ./dist
uv publish
Metadata
Release files for semistaticsim 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| semistaticsim-0.6.1.tar.gz | 101.5 kB | Without provenance | Details for semistaticsim-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| semistaticsim-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for semistaticsim-0.6.1-py3-none-any.whl |
Total release size: 218.3 kB
Release files / semistaticsim-0.6.1.tar.gz
| Download URL | semistaticsim-0.6.1.tar.gz |
|---|---|
| Size | 101.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba5ce2c49a9ac2f92b170c139c70c8f9f1d8594c79ec32708f6b48ba0f27d3fa
|
|
BLAKE2b-256 checksum How to use checksums |
aa8a5afb6b5f799730398b216f5fdda199ab1fa3126eb6eb685345d3d7a25a46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / semistaticsim-0.6.1-py3-none-any.whl
| Download URL | semistaticsim-0.6.1-py3-none-any.whl |
|---|---|
| Size | 116.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bc0f4e74172802ced3ff74ff64765def6cb94210c0ed3d5605d6cfaae297824
|
|
BLAKE2b-256 checksum How to use checksums |
9e4f2498bb54f1302077a5962be9fb3cbccaf53631031331a9ac3892475ada0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for semistaticsim 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.