Skip to main content

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:

  1. even is "evenly spread duration of all steps"
  2. instant is "spend NO time at this place, immediately transition at the next step" (this is what flowmaps currently has in your 2D simulator)
  3. deterministic is "randomly split the day among all steps"
  4. gaussian is the same as deterministic with some gaussian noise

Transition model:

  1. "fixed_canonical": object cycles down a list of fixed receptacles
  2. "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)
  3. "uniform_no_diag": fully uniform transition matrix
  4. "uniform_full": fully uniform transition matrix
  5. "location_weighted_uniform_no_diag": uniform transition matrix weighted by the ProcThor receptacle prior
  6. "location_weighted_uniform_full": uniform transition matrix weighted by the ProcThor receptacle prior

Preliminary scan experiments

  1. SCANSIZE 10: ~33.5 it/s : 335 steps/s
  2. 100 : 33 : 3300

1000 : eta 50min

1000 : cpu: 3s/it; cuda is same!

To build a package for PyPi

uv build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semistaticsim-0.4.3.tar.gz (76.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semistaticsim-0.4.3-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file semistaticsim-0.4.3.tar.gz.

File metadata

  • Download URL: semistaticsim-0.4.3.tar.gz
  • Upload date:
  • Size: 76.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for semistaticsim-0.4.3.tar.gz
Algorithm Hash digest
SHA256 5a976632cb7dc5a3ac1786faac83fb0f8f35ba224e851ba32f46f7aab7774485
MD5 31d6b129950c6d3314d266eb14136a8c
BLAKE2b-256 95191a64e767ce043dd3106db043d0a0d13a4b9cf9963c79bedf9e0a3b1e0ae7

See more details on using hashes here.

File details

Details for the file semistaticsim-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for semistaticsim-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 70fc6feb124650b7a7fea6f244371d2d2674bfcef82bc6a2f28519ee11f12d94
MD5 1a93820de3879ea9db49ba5520f95b45
BLAKE2b-256 950bf520197126940d5e516e6a9050cabe9b6be0d5b3168a3b814210a523fca9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page