Skip to main content

TemporalViewer

TemporalViewer enables the exploration of temporal distribution of the model outputs in Jupyter Notebooks.

Demo

In Jupyter Notebook:

import ModelViewer
import json

# Open JSON files
f_steps = open('/Users/soniacq/PTG/TemporalViewer/ModelViewer/data/reasoning_check_status.json')
f_objects = open('/Users/soniacq/PTG/TemporalViewer/ModelViewer/data/detic_image.json')
f_actions = open('/Users/soniacq/PTG/TemporalViewer/ModelViewer/data/egovlp_action_steps.json')
f_metadata = open('/Users/soniacq/PTG/TemporalViewer/ModelViewer/data/ngc_0293_13_additional_metadata_v1.json')
main_camera_path = '/Users/soniacq/PTG/TemporalViewer/ModelViewer/data/ngc_0293_13-main.mp4'

# Takes file objects and returns JSON object as dictionaries
data_steps = json.load(f_steps)
data_objects = json.load(f_objects)
data_actions = json.load(f_actions)
data_metadata = json.load(f_metadata)

# create a session
session_info = {'reasoningJSONFile': data_steps, 'boundingBoxJSONFile': data_objects,
                'egovlpActionJSONFile': data_actions, 'recordingMetadata': data_metadata,
                'recordingName': 'ngc_0293_13', 'mainCameraPath': main_camera_path}

ModelViewer.plot_datasets_summary(session_info)

Install

Option 1: install via pip:

pip install model-viewer

Release files for model-viewer 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for model-viewer 0.1.2
File Size Uploaded
model-viewer-0.1.2.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for model-viewer 0.1.2
File Interpreter ABI Platform
model_viewer-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / model-viewer-0.1.2.tar.gz

Download URL model-viewer-0.1.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
dc035dfc636e8bb994062eb78fe486e74be492e4a7ff6a36a9da993cbe339ea6
BLAKE2b-256 checksum
How to use checksums
991c5748950a6f005508e6854898b580635938f84691fbd1684561e3ed6d1356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.7.4

Release files / model_viewer-0.1.2-py3-none-any.whl

Download URL model_viewer-0.1.2-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
45e515b9c71dad6c7fe3eb9152a65f3d85f125d3fb53f7dca6692ae119a6dbd8
BLAKE2b-256 checksum
How to use checksums
39ab4a77221a58a339a9d62de9ebdbcdc3e71bfd60fc5c4ff710b96a38b47f30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page