Views
No views yet
1# Install the package directly from GitHub
2pip install git+https://github.com/overworld/owl-idm-3.git
3
4# Or with inference dependencies
5pip install "owl-idm[inference] @ git+https://github.com/overworld/owl-idm-3.git"1from owl_idms import InferencePipeline
2import torch
3
4# Load from Hugging Face Hub
5pipeline = InferencePipeline.from_pretrained(
6 "Overworld/owl-idm-v0-tiny",
7 device="cuda"
8)
9
10# Prepare video: [batch, frames, channels, height, width] in range [-1, 1]
11video = torch.randn(1, 128, 3, 256, 256) * 2 - 1 # Example
12
13# Run inference
14wasd_preds, mouse_preds = pipeline(video)
15# wasd_preds: [1, 128, 4] boolean - W, A, S, D key states
16# mouse_preds: [1, 128, 2] float - dx, dy mouse movementsconfig.yml: Training configurationmodel.pt: Model checkpoint (EMA weights)inference.py: Inference pipeline (download from repo)1@software{owl_idm_2024,
2 title = {Owl IDM: Inverse Dynamics Models for Gameplay},
3 author = {Your Name},
4 year = {2024},
5 url = {https://huggingface.co/Overworld/owl-idm-v0-tiny}
6}