Observed since 20 Oct, 19:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
adaptive-terrain-diffusion
Fast difficulty-conditioned terrain generation with ONNX Runtime
Fast, difficulty-conditioned terrain generation with an endpoint-distilled one-step model and ONNX Runtime.
The teaser above shows all 100 difficulties across six simulator renderers.
pip install adaptive-terrain-diffusion
pip install "adaptive-terrain-diffusion[render,images]" # optional rendering and TIFF support
from terrain_diffusion import TerrainGenerator, render_terrains, save_terrains
generator = TerrainGenerator() # automatically selects CUDA when available
terrains, difficulties = generator.generate(
4,
shape=(256, 384),
difficulty="random", # or any integer from 1 to 100
seed=7,
return_difficulties=True,
)
variations = generator.generate_from(
terrains[0], difficulty=75, strength=0.5, variants=4
)
save_terrains("terrains", terrains, suffix=".npy")
render_terrains(terrains, save_path="terrains.png")
generate_from also accepts batches and .txt, .csv, .npy, .npz, or TIFF files. Larger-than-native maps use overlapping, blended generation automatically.
terrain-diffusion generate --output terrains --num 4 --difficulty 60 --shape 256 384 --render
terrain-diffusion vary terrain.npy --output variants --difficulty 75 --variants 4
terrain-diffusion simulate mujoco --difficulty 100 --shape 1024 1024
SimulatorTerrain.apply() supports IsaacLab, MuJoCo, MuJoCo Playground, MuJoCo Warp, PyBullet, and Gazebo without adding simulator packages as dependencies.
from terrain_diffusion import SimulatorTerrain
asset = SimulatorTerrain(terrains[0], horizontal_scale=0.1)
asset.apply("pybullet", client_id)
See the simulator tutorial for complete integrations.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
numpyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | numpy>=1.23 | runtime |
onnxruntime-gpuEnvironment{
"extras": "",
"marker": "sys_platform == \"linux\" and platform_machine == \"x86_64\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | onnxruntime-gpu>=1.18; sys_platform == "linux" and platform_machine == "x86_64" | runtime |
onnxruntimeEnvironment{
"extras": "",
"marker": "sys_platform != \"linux\" or platform_machine != \"x86_64\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | onnxruntime>=1.18; sys_platform != "linux" or platform_machine != "x86_64" | runtime |
matplotlibEnvironment{
"extras": "",
"marker": "extra == \"render\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | matplotlib>=3.7; extra == "render" | runtime |
PillowEnvironment{
"extras": "",
"marker": "extra == \"images\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | Pillow>=9.0; extra == "images" | runtime |
buildEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | build>=1.0; extra == "dev" | runtime |
twineEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | twine>=5.0; extra == "dev" | runtime |
bdist_wheel · 38,016.21 KB · Python py3
sdist · 38,009.27 KB · Python source
Shared repository data · GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github · 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-23 | 4 | 2026-10-23T13:11:20.2281456Z |
Observed since 20 Oct, 19:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:071df35b6823d90bc7cf490e4473ad97dfbcfc67644d5b02a0186ce056c504ea