Skip to content

VBVR-DataFactory/O-58_symbol_delete_data-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O-58: Symbol Delete Data Generator

Generates synthetic symbol sequence deletion tasks. The goal is to delete a target symbol at a specific position from a sequence, with the animation showing the symbol fading out and remaining symbols shifting left to close the gap.

Each sample pairs a task (first frame + prompt describing what needs to happen) with its ground truth solution (final frame showing the result + video demonstrating how to achieve it). This structure enables both model evaluation and training.


📌 Basic Information

Property Value
Task ID O-58
Task Symbol Delete
Category Transformation
Resolution 1024×1024 px
FPS 16 fps
Duration ~2-3 seconds
Output PNG images + MP4 video

🚀 Usage

Installation

# Clone the repository
git clone https://github.com/Jiaqi-Gong/Gong_VBVR_Data.git
cd Gong_VBVR_Data/O-58_symbol_delete_data-generator

# Install dependencies
pip install -r requirements.txt

Generate Data

# Generate 100 samples
python examples/generate.py --num-samples 100

# Generate with specific seed
python examples/generate.py --num-samples 100 --seed 42

# Generate without videos
python examples/generate.py --num-samples 100 --no-videos

# Custom output directory
python examples/generate.py --num-samples 100 --output data/my_output

Command-Line Options

Argument Type Description Default
--num-samples int Number of samples to generate Required
--seed int Random seed for reproducibility Random
--output str Output directory data/questions
--no-videos flag Skip video generation False

📖 Task Example

Prompt

Delete red ● at position 6. The animation shows the target symbol fading out, then the remaining symbols shifting left to close the gap.

Visual

Image Image Image
Initial Frame
Symbol sequence with target symbol
Animation
Symbol fading out and shifting
Final Frame
Sequence after deletion

📖 Task Description

Objective

Delete a target symbol at a specific position from a sequence, with the animation showing the symbol fading out and remaining symbols shifting left to close the gap.

Task Setup

  • Sequence Length: 5-9 symbols (before deletion)
  • Symbol Set: Shapes (circles, triangles, squares, stars, diamonds, hearts, etc.)
  • Symbol Colors: 20 distinct colors (rainbow 7 + extended 13)
  • Target Symbol: Rainbow-colored symbol (red, orange, yellow, green, blue, indigo, violet)
  • Position: 1-indexed position in sequence
  • Symbol Size: 85 pixels (adjustable 40-120)
  • Animation: Fade out target symbol, then shift remaining symbols left

Key Features

  • Sequence manipulation: Tests ability to understand sequence operations
  • Position awareness: Requires identifying specific position in sequence
  • Visual animation: Clear fade-out and shift animation
  • Color coding: Target symbols use rainbow colors for easy identification
  • Symbol variety: Multiple symbol types and colors for diversity
  • Smooth transitions: Smooth fading and shifting animations

📦 Data Format

data/questions/symbol_delete_task/symbol_delete_00000000/
├── first_frame.png          # Initial state (sequence with target symbol)
├── final_frame.png          # Goal state (sequence after deletion)
├── prompt.txt               # Task instructions
├── ground_truth.mp4         # Solution video (16 fps)
└── question_metadata.json   # Task metadata (symbols, positions, etc.)

File specifications: Images are 1024×1024 PNG. Videos are MP4 at 16 fps, approximately 2-3 seconds long.


🏷️ Tags

symbol-delete sequence-manipulation symbol-editing abstraction position-reasoning visual-animation


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages