Skip to main content

Python API for UrbanVerse urban scene datasets on HuggingFace (CraftBench & UrbanVerse-Scenes)

Project description

urbanverse-scene

License: MIT Python 3.8+ PyPI version

Python API for downloading, exploring, and using UrbanVerse urban scene datasets hosted on HuggingFace.

Dataset Scenes HuggingFace
CraftBench 12 hand-crafted testing scenes Oatmealliu/UrbanVerse-CraftBench
UrbanVerse-Scenes 320 generated training scenes Oatmealliu/UrbanVerse-Scenes

Installation

pip install urbanverse-scene --extra-index-url https://pypi.nvidia.com

The --extra-index-url flag is required because isaacsim is hosted on NVIDIA's PyPI index.

Quick start

import urbanverse_scene as uvs

# (Optional) Override cache directory (default: ~/.cache/urbanverse_scenes/)
uvs.set("~/my_data/urbanverse_scenes")

# List available CraftBench scenes
descs = uvs.craftbench.get_descriptions()

# Download & extract specific scenes
result = uvs.craftbench.load_scenes(descs[:2])
usd_path = result[descs[0]]  # Path to export_version.usd

# Download all 12 CraftBench scenes
uvs.craftbench.download_all()

# Check download integrity & repair missing files
uvs.craftbench.check_integrity()
uvs.craftbench.repair()

# Preview scenes in the browser (video + images)
uvs.craftbench.preview(descs[:3])

# Open scenes in IsaacSim
uvs.open(descs[:1])
uvs.open(descs[:1], headless=True, rtx=True)

API overview

Function Description
uvs.set(path) Set the local cache directory
uvs.open(descriptions, headless, rtx) Open scenes in IsaacSim
uvs.craftbench.get_descriptions() List all 12 CraftBench scene names
uvs.craftbench.load_scenes(descriptions) Download & extract specific scenes
uvs.craftbench.download_all() Download the full CraftBench dataset
uvs.craftbench.check_integrity() Verify download completeness
uvs.craftbench.repair() Re-download missing files
uvs.craftbench.preview(descriptions) Browser-based scene preview (video + images)

Requirements

License

MIT

Links

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

urbanverse_scene-0.1.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

urbanverse_scene-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file urbanverse_scene-0.1.0.tar.gz.

File metadata

  • Download URL: urbanverse_scene-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for urbanverse_scene-0.1.0.tar.gz
Algorithm Hash digest
SHA256 90acd250a1e03594cdf955ac19bc3c0512a86f58d43e21aed2d9e55340ce4792
MD5 ece682ea6e6b32c574fafd2e316cd57a
BLAKE2b-256 07341f1237abd26b879c8cbc5db13d9acf89584d871aa5a1e11a2f909675a52f

See more details on using hashes here.

File details

Details for the file urbanverse_scene-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for urbanverse_scene-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d52384fd27d6014465f1e8bf914457732dee3a349a7f049cbd5ec7280aa8efb
MD5 65c95dcd141538f7c73ae1befeb90b30
BLAKE2b-256 9bc2942ba4ff368b6d395c74fc68dc6d3e23cf51e27aadf91a31ffb54e9fd88b

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