File size: 1,390 Bytes
c41006e
1e5cd04
 
c41006e
1e5cd04
c41006e
 
 
 
 
1e5cd04
c41006e
 
1e5cd04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: Spatial-SSRL Spatial Reasoning
emoji: 🌍
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: apache-2.0
short_description: Spatial reasoning with vision-language models
---

# 🌍 Spatial-SSRL: Spatial Reasoning with Vision-Language Models

This demo showcases the spatial reasoning capabilities of vision-language models trained to understand 3D spatial relationships from 2D images.

## Features

- **3D Location Understanding**: Determine which objects are closer or further from the camera
- **Orientation Analysis**: Understand which direction objects are facing
- **Relative Positioning**: Answer questions about object positions relative to each other
- **Step-by-step Reasoning**: The model provides detailed reasoning before answering

## How to Use

1. Upload an image
2. Ask a question about spatial relationships in the image
3. The model will provide a detailed answer with reasoning

## Example Questions

- "Which object is further away from the camera? A. boat B. fire hydrant"
- "Are the kid and the teddy bear facing same or similar directions?"
- "If I stand at the recreational vehicle's position facing where it is facing, is the dog in front of me or behind me?"

The model is trained to provide answers in a structured format with reasoning enclosed in `<think>` tags and final answers in `\boxed{}`.