Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- eval/Holodeck/.github/workflows/ci.yaml +37 -0
- eval/Holodeck/.github/workflows/python-publish.yml +37 -0
- eval/Holodeck/__pycache__/evaluate_internscenes.cpython-310.pyc +0 -0
- eval/Holodeck/ai2holodeck/__init__.py +0 -0
- eval/Holodeck/ai2holodeck/azure_llm.py +87 -0
- eval/Holodeck/ai2holodeck/azure_openai_config.py +66 -0
- eval/Holodeck/ai2holodeck/constants.py +35 -0
- eval/Holodeck/ai2holodeck/gpt_eval.py +454 -0
- eval/Holodeck/ai2holodeck/main.py +281 -0
- eval/Holodeck/ai2holodeck/prompts.py +73 -0
- eval/Holodeck/data/evaluation/A_reading_nook_that_mixes_a_bo-2025-12-23-13-23-28-461459/render_diagonal.png +3 -0
- eval/Holodeck/data/evaluation/evaluation_checkpoint.json +0 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_115452.json +25 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_120506.json +84 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_121429.json +81 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_122720.json +208 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_140603.json +0 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_151918.json +109 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_155907.json +45 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251223_190818.json +227 -0
- eval/Holodeck/data/evaluation/evaluation_results_20251224_215209.json +0 -0
- eval/Holodeck/data/evaluation_layout_bench/gpt_eval_results.json +612 -0
- eval/Holodeck/data/layout_instr_bench_test.json +0 -0
- eval/Holodeck/data/layout_instr_bench_v2.json +0 -0
- eval/Holodeck/data/pipeline_outputs/Aiming_for_a_multiuse_living_s-2026-01-04-12-09-40-462092/evaluation_results.json +8 -0
- eval/Holodeck/data/pipeline_outputs/Aiming_for_a_multiuse_living_s-2026-01-04-12-09-40-462092/pipeline_results.json +18 -0
- eval/Holodeck/data/pipeline_outputs/Design_a_bathroom_that_integra-2026-01-04-16-30-48-174650/evaluation_results.json +8 -0
- eval/Holodeck/data/pipeline_outputs/Design_a_bathroom_that_integra-2026-01-04-16-30-48-174650/pipeline_results.json +18 -0
- eval/Holodeck/data/pipeline_outputs/I_want_an_inviting_entry_stora-2026-01-04-18-28-24-469019/pipeline_results.json +18 -0
- eval/Holodeck/data/pipeline_outputs/I_want_the_zone_to_feel_slight-2026-01-04-18-10-34-660446/evaluation_results.json +8 -0
- eval/Holodeck/data/pipeline_outputs/I_want_the_zone_to_feel_slight-2026-01-04-18-10-34-660446/pipeline_results.json +18 -0
- eval/LayoutGPT/batch_render_bench.py +69 -0
- eval/LayoutGPT/eval_scene_layout.py +161 -0
- eval/LayoutGPT/gpt_eval_instr_bench.log +21 -0
- eval/LayoutGPT/run_instr_bench_v2.log +14 -0
- eval/LayoutGPT/run_layoutgpt_2d.py +386 -0
- eval/LayoutGPT/run_layoutgpt_3d.py +432 -0
- eval/LayoutGPT/run_layoutgpt_instr_bench.py +510 -0
- eval/LayoutGPT/zones_1k.log +21 -0
- eval/LayoutVLM/benchmark_tasks/living_room/living_room_2.json +85 -0
- eval/respace/dataset-ssr3dfront/scenes/03704744-6330-41f6-9983-928466e9a39b-1f4286b7-49ab-41a4-868e-c0a63821edff.json +90 -0
- eval/respace/dataset-ssr3dfront/scenes/09909663-6896-4cb8-993e-4417342d8d44-a1415361-3176-4b17-bac8-5cb50475c252.json +390 -0
- eval/respace/dataset-ssr3dfront/scenes/0de011f0-b39c-44f5-a5b8-3bf0fb7bdd24-7340711f-30b2-46ec-9cc2-bae1b74552a7.json +390 -0
- eval/respace/dataset-ssr3dfront/scenes/10f1a79e-8511-4b81-af4d-fee9ef2efbd3-a548665a-6bbe-4d02-b286-0237541bb4d6.json +170 -0
- eval/respace/dataset-ssr3dfront/scenes/14ddb9ab-2c7d-4e7c-98a4-a1810d58abaa-fa18862e-40e0-4b42-905d-fb85a782d26e.json +90 -0
- eval/respace/dataset-ssr3dfront/scenes/151777ef-6113-426c-bd88-335a9718c75a-88d6151b-afd5-4531-b0a2-de8d2f5154d0.json +210 -0
- eval/respace/dataset-ssr3dfront/scenes/23ff5e09-f7d2-4cb6-bd78-3c940d583526-67e49faa-801a-434f-a255-ebdb35a9bb1a.json +170 -0
- eval/respace/dataset-ssr3dfront/scenes/2e1c9079-14c8-4459-8831-b63eef7883c8-5aa5493e-e8d2-44da-877f-e3befc391c71.json +170 -0
- eval/respace/dataset-ssr3dfront/scenes/33353657-e2ec-4ebd-8eac-362c0d3ecfcc-ac0bad81-e273-40aa-9a48-cc1ebc637026.json +150 -0
- eval/respace/dataset-ssr3dfront/scenes/43f1271f-d362-49c1-9ebc-cf9f8c82ea81-eac46b25-8c57-4454-a018-2f372b6040a8.json +190 -0
eval/Holodeck/.github/workflows/ci.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Continuous integration
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- main
|
| 7 |
+
pull_request:
|
| 8 |
+
branches:
|
| 9 |
+
- main
|
| 10 |
+
|
| 11 |
+
jobs:
|
| 12 |
+
lint:
|
| 13 |
+
runs-on: ubuntu-latest
|
| 14 |
+
steps:
|
| 15 |
+
- uses: actions/checkout@v3
|
| 16 |
+
- uses: psf/black@stable
|
| 17 |
+
tests:
|
| 18 |
+
runs-on: ubuntu-latest
|
| 19 |
+
strategy:
|
| 20 |
+
matrix:
|
| 21 |
+
python-version: ['3.10']
|
| 22 |
+
|
| 23 |
+
steps:
|
| 24 |
+
- uses: actions/checkout@v3
|
| 25 |
+
- name: Set up Python ${{ matrix.python-version }}
|
| 26 |
+
uses: actions/setup-python@v3
|
| 27 |
+
with:
|
| 28 |
+
python-version: ${{ matrix.python-version }}
|
| 29 |
+
- name: Install
|
| 30 |
+
run: |
|
| 31 |
+
python3 -m venv .env
|
| 32 |
+
source .env/bin/activate
|
| 33 |
+
make install
|
| 34 |
+
- name: Unit tests
|
| 35 |
+
run: |
|
| 36 |
+
source .env/bin/activate
|
| 37 |
+
make test
|
eval/Holodeck/.github/workflows/python-publish.yml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Release
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- main
|
| 7 |
+
jobs:
|
| 8 |
+
deploy:
|
| 9 |
+
runs-on: ubuntu-latest
|
| 10 |
+
steps:
|
| 11 |
+
- uses: actions/checkout@v3
|
| 12 |
+
- uses: actions-ecosystem/action-regex-match@v2
|
| 13 |
+
id: regex-match
|
| 14 |
+
with:
|
| 15 |
+
text: ${{ github.event.head_commit.message }}
|
| 16 |
+
regex: '^Release ([^ ]+)'
|
| 17 |
+
- name: Set up Python
|
| 18 |
+
uses: actions/setup-python@v3
|
| 19 |
+
with:
|
| 20 |
+
python-version: '3.10'
|
| 21 |
+
- name: Install dependencies
|
| 22 |
+
run: |
|
| 23 |
+
python -m pip install --upgrade pip
|
| 24 |
+
pip install setuptools wheel twine
|
| 25 |
+
- name: Release
|
| 26 |
+
if: ${{ steps.regex-match.outputs.match != '' }}
|
| 27 |
+
uses: softprops/action-gh-release@v1
|
| 28 |
+
with:
|
| 29 |
+
tag_name: ${{ steps.regex-match.outputs.group1 }}
|
| 30 |
+
- name: Build and publish
|
| 31 |
+
if: ${{ steps.regex-match.outputs.match != '' }}
|
| 32 |
+
env:
|
| 33 |
+
TWINE_USERNAME: __token__
|
| 34 |
+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
| 35 |
+
run: |
|
| 36 |
+
python setup.py sdist bdist_wheel
|
| 37 |
+
twine upload dist/*
|
eval/Holodeck/__pycache__/evaluate_internscenes.cpython-310.pyc
ADDED
|
Binary file (35.9 kB). View file
|
|
|
eval/Holodeck/ai2holodeck/__init__.py
ADDED
|
File without changes
|
eval/Holodeck/ai2holodeck/azure_llm.py
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Custom LangChain LLM wrapper for Azure OpenAI
|
| 3 |
+
This module provides a LangChain-compatible LLM that uses Azure OpenAI.
|
| 4 |
+
"""
|
| 5 |
+
|
| 6 |
+
from typing import Any, List, Optional, Mapping
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
class AzureOpenAILLM:
|
| 10 |
+
"""Custom LangChain-compatible LLM that uses Azure OpenAI."""
|
| 11 |
+
|
| 12 |
+
def __init__(self, model_name: str = "o1_2024-12-17", max_tokens: int = 2048, **kwargs):
|
| 13 |
+
self.model_name = model_name
|
| 14 |
+
self.max_tokens = max_tokens
|
| 15 |
+
self.temperature = 0.0 # Use 0 for more deterministic/structured output
|
| 16 |
+
# Don't initialize client here - do it lazily to support multiprocessing
|
| 17 |
+
self._client = None
|
| 18 |
+
self._deployment_name = None
|
| 19 |
+
self._model_type = None
|
| 20 |
+
|
| 21 |
+
def _ensure_client(self):
|
| 22 |
+
"""Lazily initialize the client if not already done."""
|
| 23 |
+
if self._client is None:
|
| 24 |
+
from ai2holodeck.azure_openai_config import get_azure_openai_client
|
| 25 |
+
self._client, self._deployment_name, self._model_type = get_azure_openai_client()
|
| 26 |
+
return self._client, self._deployment_name, self._model_type
|
| 27 |
+
|
| 28 |
+
def __call__(self, prompt: str, stop: Optional[List[str]] = None, **kwargs) -> str:
|
| 29 |
+
"""
|
| 30 |
+
Call the Azure OpenAI API with the given prompt.
|
| 31 |
+
This method makes the class callable like the original LangChain OpenAI LLM.
|
| 32 |
+
"""
|
| 33 |
+
import time
|
| 34 |
+
from openai import RateLimitError
|
| 35 |
+
|
| 36 |
+
# Retry logic for rate limit errors
|
| 37 |
+
max_retries = 5
|
| 38 |
+
retry_delay = 60 # Start with 60 seconds as suggested by the error
|
| 39 |
+
|
| 40 |
+
for attempt in range(max_retries):
|
| 41 |
+
try:
|
| 42 |
+
# Lazily initialize client (important for multiprocessing)
|
| 43 |
+
client, deployment_name, model_type = self._ensure_client()
|
| 44 |
+
|
| 45 |
+
# Prepare the messages - use correct format
|
| 46 |
+
messages = [
|
| 47 |
+
{
|
| 48 |
+
"role": "user",
|
| 49 |
+
"content": prompt,
|
| 50 |
+
},
|
| 51 |
+
]
|
| 52 |
+
|
| 53 |
+
# Use the correct API call format for GPT-4o
|
| 54 |
+
# Always use max_tokens and temperature for GPT models
|
| 55 |
+
response = client.chat.completions.create(
|
| 56 |
+
model=deployment_name, # This is the correct parameter name
|
| 57 |
+
messages=messages,
|
| 58 |
+
max_tokens=self.max_tokens,
|
| 59 |
+
temperature=self.temperature,
|
| 60 |
+
)
|
| 61 |
+
|
| 62 |
+
# Parse out the message and return
|
| 63 |
+
response_content = response.choices[0].message.content
|
| 64 |
+
return response_content
|
| 65 |
+
|
| 66 |
+
except RateLimitError as e:
|
| 67 |
+
if attempt < max_retries - 1:
|
| 68 |
+
print(f"Rate limit hit, waiting {retry_delay} seconds before retry {attempt + 1}/{max_retries}...")
|
| 69 |
+
time.sleep(retry_delay)
|
| 70 |
+
retry_delay = min(retry_delay * 1.5, 180) # Exponential backoff, max 3 minutes
|
| 71 |
+
else:
|
| 72 |
+
raise Exception(f"Error calling Azure OpenAI after {max_retries} retries: {str(e)}")
|
| 73 |
+
except Exception as e:
|
| 74 |
+
raise Exception(f"Error calling Azure OpenAI: {str(e)}")
|
| 75 |
+
|
| 76 |
+
def __getstate__(self):
|
| 77 |
+
"""Support for pickling - exclude the non-picklable client."""
|
| 78 |
+
state = self.__dict__.copy()
|
| 79 |
+
# Remove the unpicklable client
|
| 80 |
+
state['_client'] = None
|
| 81 |
+
state['_deployment_name'] = None
|
| 82 |
+
state['_model_type'] = None
|
| 83 |
+
return state
|
| 84 |
+
|
| 85 |
+
def __setstate__(self, state):
|
| 86 |
+
"""Support for unpickling - client will be recreated on first use."""
|
| 87 |
+
self.__dict__.update(state)
|
eval/Holodeck/ai2holodeck/azure_openai_config.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Azure OpenAI Configuration and Client Setup
|
| 3 |
+
This module handles authentication and client creation for Azure OpenAI services.
|
| 4 |
+
"""
|
| 5 |
+
|
| 6 |
+
from openai import AzureOpenAI
|
| 7 |
+
from azure.identity import (
|
| 8 |
+
ChainedTokenCredential,
|
| 9 |
+
AzureCliCredential,
|
| 10 |
+
ManagedIdentityCredential,
|
| 11 |
+
get_bearer_token_provider,
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def get_azure_openai_client():
|
| 16 |
+
"""
|
| 17 |
+
Create and return an Azure OpenAI client with proper authentication.
|
| 18 |
+
|
| 19 |
+
Authenticates by trying az login first, then a managed identity if one exists on the system.
|
| 20 |
+
|
| 21 |
+
Returns:
|
| 22 |
+
tuple: (AzureOpenAI client, deployment_name, model_type)
|
| 23 |
+
model_type: 'o1' for o1 models, 'gpt' for GPT models
|
| 24 |
+
"""
|
| 25 |
+
# Authenticate by trying az login first, then a managed identity, if one exists on the system
|
| 26 |
+
scope = "api://trapi/.default"
|
| 27 |
+
credential = get_bearer_token_provider(
|
| 28 |
+
ChainedTokenCredential(
|
| 29 |
+
AzureCliCredential(),
|
| 30 |
+
ManagedIdentityCredential(),
|
| 31 |
+
),
|
| 32 |
+
scope,
|
| 33 |
+
)
|
| 34 |
+
|
| 35 |
+
api_version = "2024-12-01-preview" # Ensure this is a valid API version
|
| 36 |
+
# Using GPT-4 instead of O1 for better structured output compatibility
|
| 37 |
+
deployment_name = "gpt-4o_2024-11-20" # GPT-4 is better for structured outputs
|
| 38 |
+
instance = "msra/shared" # See https://aka.ms/trapi/models for the instance name
|
| 39 |
+
endpoint = f"https://trapi.research.microsoft.com/{instance}"
|
| 40 |
+
|
| 41 |
+
# Create an AzureOpenAI Client
|
| 42 |
+
client = AzureOpenAI(
|
| 43 |
+
azure_endpoint=endpoint,
|
| 44 |
+
azure_ad_token_provider=credential,
|
| 45 |
+
api_version=api_version,
|
| 46 |
+
)
|
| 47 |
+
|
| 48 |
+
# Determine model type based on deployment name
|
| 49 |
+
model_type = 'o1' if 'o1' in deployment_name.lower() else 'gpt'
|
| 50 |
+
|
| 51 |
+
return client, deployment_name, model_type
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def get_azure_openai_token():
|
| 55 |
+
"""
|
| 56 |
+
Get an Azure OpenAI token for authentication.
|
| 57 |
+
|
| 58 |
+
Returns:
|
| 59 |
+
str: Azure OpenAI authentication token
|
| 60 |
+
"""
|
| 61 |
+
from azure.identity import ManagedIdentityCredential
|
| 62 |
+
|
| 63 |
+
token = ManagedIdentityCredential().get_token(
|
| 64 |
+
"https://cognitiveservices.azure.com/.default"
|
| 65 |
+
).token
|
| 66 |
+
return token
|
eval/Holodeck/ai2holodeck/constants.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
|
| 4 |
+
ABS_PATH_OF_HOLODECK = os.path.abspath(os.path.dirname(Path(__file__)))
|
| 5 |
+
|
| 6 |
+
ASSETS_VERSION = os.environ.get("ASSETS_VERSION", "2023_09_23")
|
| 7 |
+
HD_BASE_VERSION = os.environ.get("HD_BASE_VERSION", "2023_09_23")
|
| 8 |
+
|
| 9 |
+
OBJATHOR_ASSETS_BASE_DIR = os.environ.get(
|
| 10 |
+
"OBJATHOR_ASSETS_BASE_DIR", os.path.expanduser(f"~/.objathor-assets")
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
+
OBJATHOR_VERSIONED_DIR = os.path.join(OBJATHOR_ASSETS_BASE_DIR, ASSETS_VERSION)
|
| 14 |
+
OBJATHOR_ASSETS_DIR = os.path.join(OBJATHOR_VERSIONED_DIR, "assets")
|
| 15 |
+
OBJATHOR_FEATURES_DIR = os.path.join(OBJATHOR_VERSIONED_DIR, "features")
|
| 16 |
+
OBJATHOR_ANNOTATIONS_PATH = os.path.join(OBJATHOR_VERSIONED_DIR, "annotations.json.gz")
|
| 17 |
+
|
| 18 |
+
HOLODECK_BASE_DATA_DIR = os.path.join(
|
| 19 |
+
OBJATHOR_ASSETS_BASE_DIR, "holodeck", HD_BASE_VERSION
|
| 20 |
+
)
|
| 21 |
+
|
| 22 |
+
HOLODECK_THOR_FEATURES_DIR = os.path.join(HOLODECK_BASE_DATA_DIR, "thor_object_data")
|
| 23 |
+
HOLODECK_THOR_ANNOTATIONS_PATH = os.path.join(
|
| 24 |
+
HOLODECK_BASE_DATA_DIR, "thor_object_data", "annotations.json.gz"
|
| 25 |
+
)
|
| 26 |
+
|
| 27 |
+
if ASSETS_VERSION > "2023_09_23":
|
| 28 |
+
THOR_COMMIT_ID = "8524eadda94df0ab2dbb2ef5a577e4d37c712897"
|
| 29 |
+
else:
|
| 30 |
+
THOR_COMMIT_ID = "3213d486cd09bcbafce33561997355983bdf8d1a"
|
| 31 |
+
|
| 32 |
+
# L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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
GPT-based evaluation for generated 3D scene layouts.
|
| 4 |
+
|
| 5 |
+
This script evaluates the quality of generated scenes by:
|
| 6 |
+
1. Reading user input (text instruction) from user_input.txt
|
| 7 |
+
2. Loading rendered images (topdown + 4 side views)
|
| 8 |
+
3. Calling GPT to evaluate across 6 metrics
|
| 9 |
+
|
| 10 |
+
Usage:
|
| 11 |
+
python tools/gpt_eval/gpt_eval.py --input test_vis_output5 --output gpt_eval_results.json
|
| 12 |
+
python tools/gpt_eval/gpt_eval.py --input test_vis_output5 --workers 10
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
import json
|
| 16 |
+
import os
|
| 17 |
+
import sys
|
| 18 |
+
import argparse
|
| 19 |
+
import base64
|
| 20 |
+
import time
|
| 21 |
+
from pathlib import Path
|
| 22 |
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 23 |
+
from typing import Dict, List, Tuple, Optional
|
| 24 |
+
from tqdm import tqdm
|
| 25 |
+
import re
|
| 26 |
+
|
| 27 |
+
# Add project root
|
| 28 |
+
SCRIPT_DIR = Path(__file__).parent
|
| 29 |
+
REPO_ROOT = SCRIPT_DIR.parent.parent
|
| 30 |
+
sys.path.insert(0, str(REPO_ROOT))
|
| 31 |
+
|
| 32 |
+
from openai import AzureOpenAI
|
| 33 |
+
from azure.identity import ChainedTokenCredential, AzureCliCredential, ManagedIdentityCredential, get_bearer_token_provider
|
| 34 |
+
|
| 35 |
+
from ai2holodeck.prompts import prompt as EVAL_PROMPT
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def get_azure_client():
|
| 39 |
+
"""创建Azure OpenAI客户端"""
|
| 40 |
+
scope = "api://trapi/.default"
|
| 41 |
+
credential = get_bearer_token_provider(ChainedTokenCredential(
|
| 42 |
+
AzureCliCredential(),
|
| 43 |
+
ManagedIdentityCredential(),
|
| 44 |
+
), scope)
|
| 45 |
+
|
| 46 |
+
api_version = '2025-04-01-preview'
|
| 47 |
+
deployment_name = 'gpt-4.1-mini_2025-04-14'
|
| 48 |
+
instance = 'gcr/shared'
|
| 49 |
+
endpoint = f'https://trapi.research.microsoft.com/{instance}'
|
| 50 |
+
|
| 51 |
+
client = AzureOpenAI(
|
| 52 |
+
azure_endpoint=endpoint,
|
| 53 |
+
azure_ad_token_provider=credential,
|
| 54 |
+
api_version=api_version,
|
| 55 |
+
)
|
| 56 |
+
|
| 57 |
+
return client, deployment_name
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def encode_image_to_base64(image_path: str) -> Optional[str]:
|
| 61 |
+
"""将图片文件编码为base64字符串"""
|
| 62 |
+
if not os.path.exists(image_path):
|
| 63 |
+
return None
|
| 64 |
+
try:
|
| 65 |
+
with open(image_path, "rb") as image_file:
|
| 66 |
+
return base64.b64encode(image_file.read()).decode('utf-8')
|
| 67 |
+
except Exception as e:
|
| 68 |
+
print(f"Warning: Failed to encode image {image_path}: {e}")
|
| 69 |
+
return None
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
def load_user_input(sample_dir: str) -> Optional[str]:
|
| 73 |
+
"""从样本目录加载用户输入"""
|
| 74 |
+
user_input_path = os.path.join(sample_dir, "user_input.txt")
|
| 75 |
+
if not os.path.exists(user_input_path):
|
| 76 |
+
return None
|
| 77 |
+
try:
|
| 78 |
+
with open(user_input_path, 'r', encoding='utf-8') as f:
|
| 79 |
+
return f.read().strip()
|
| 80 |
+
except Exception as e:
|
| 81 |
+
print(f"Warning: Failed to read user input from {user_input_path}: {e}")
|
| 82 |
+
return None
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
def load_rendered_images(sample_dir: str) -> Dict[str, str]:
|
| 86 |
+
"""
|
| 87 |
+
加载渲染的图片,返回 {view_name: base64_string} 字典
|
| 88 |
+
优先加载: topdown, side_front, side_back, side_left, side_right
|
| 89 |
+
"""
|
| 90 |
+
image_files = {
|
| 91 |
+
"topdown": "render_topdown.png",
|
| 92 |
+
"side_front": "render_side_front.png",
|
| 93 |
+
"side_back": "render_side_back.png",
|
| 94 |
+
"side_left": "render_side_left.png",
|
| 95 |
+
"side_right": "render_side_right.png",
|
| 96 |
+
"diagonal": "render_diagonal.png", # 可选
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
images = {}
|
| 100 |
+
for view_name, filename in image_files.items():
|
| 101 |
+
image_path = os.path.join(sample_dir, filename)
|
| 102 |
+
base64_str = encode_image_to_base64(image_path)
|
| 103 |
+
if base64_str:
|
| 104 |
+
images[view_name] = base64_str
|
| 105 |
+
|
| 106 |
+
return images
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
def parse_gpt_response(response_text: str) -> Optional[Dict]:
|
| 110 |
+
"""
|
| 111 |
+
解析 GPT 响应,提取 JSON 评分结果
|
| 112 |
+
"""
|
| 113 |
+
try:
|
| 114 |
+
# 尝试直接解析
|
| 115 |
+
return json.loads(response_text)
|
| 116 |
+
except json.JSONDecodeError:
|
| 117 |
+
pass
|
| 118 |
+
|
| 119 |
+
# 尝试从 markdown 代码块中提取
|
| 120 |
+
json_pattern = r'```(?:json)?\s*([\s\S]*?)\s*```'
|
| 121 |
+
matches = re.findall(json_pattern, response_text)
|
| 122 |
+
for match in matches:
|
| 123 |
+
try:
|
| 124 |
+
return json.loads(match)
|
| 125 |
+
except json.JSONDecodeError:
|
| 126 |
+
continue
|
| 127 |
+
|
| 128 |
+
# 尝试找到 { 和 } 之间的内容
|
| 129 |
+
brace_pattern = r'\{[\s\S]*\}'
|
| 130 |
+
matches = re.findall(brace_pattern, response_text)
|
| 131 |
+
for match in matches:
|
| 132 |
+
try:
|
| 133 |
+
return json.loads(match)
|
| 134 |
+
except json.JSONDecodeError:
|
| 135 |
+
continue
|
| 136 |
+
|
| 137 |
+
return None
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
def evaluate_single_sample(
|
| 141 |
+
sample_dir: str,
|
| 142 |
+
client,
|
| 143 |
+
deployment_name: str,
|
| 144 |
+
worker_id: int = 0
|
| 145 |
+
) -> Tuple[str, bool, Dict]:
|
| 146 |
+
"""
|
| 147 |
+
评估单个样本
|
| 148 |
+
|
| 149 |
+
Returns:
|
| 150 |
+
(sample_name, success, result_dict)
|
| 151 |
+
"""
|
| 152 |
+
sample_name = os.path.basename(sample_dir)
|
| 153 |
+
|
| 154 |
+
result = {
|
| 155 |
+
"sample_name": sample_name,
|
| 156 |
+
"sample_path": sample_dir,
|
| 157 |
+
"user_input": None,
|
| 158 |
+
"evaluation": None,
|
| 159 |
+
"raw_response": None,
|
| 160 |
+
"error": None
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
try:
|
| 164 |
+
# 1. 加载用户输入
|
| 165 |
+
user_input = load_user_input(sample_dir)
|
| 166 |
+
if not user_input:
|
| 167 |
+
result["error"] = "No user_input.txt found"
|
| 168 |
+
return sample_name, False, result
|
| 169 |
+
result["user_input"] = user_input
|
| 170 |
+
|
| 171 |
+
# 2. 加载渲染图片
|
| 172 |
+
images = load_rendered_images(sample_dir)
|
| 173 |
+
if not images:
|
| 174 |
+
result["error"] = "No rendered images found"
|
| 175 |
+
return sample_name, False, result
|
| 176 |
+
|
| 177 |
+
# 至少需要 topdown 图
|
| 178 |
+
if "topdown" not in images:
|
| 179 |
+
result["error"] = "Missing topdown view"
|
| 180 |
+
return sample_name, False, result
|
| 181 |
+
|
| 182 |
+
# 3. 构建 GPT 请求
|
| 183 |
+
# 构建完整的评估 prompt
|
| 184 |
+
full_prompt = EVAL_PROMPT + f"\n\n## User's Text Instruction:\n{user_input}\n\n## Visual Renderings:\nThe following images show the generated scene from multiple angles."
|
| 185 |
+
|
| 186 |
+
# 构建消息内容
|
| 187 |
+
message_content = [{"type": "text", "text": full_prompt}]
|
| 188 |
+
|
| 189 |
+
# 添加图片 (按优先级: topdown, side views, diagonal)
|
| 190 |
+
view_order = ["topdown", "side_front", "side_back", "side_left", "side_right", "diagonal"]
|
| 191 |
+
for view_name in view_order:
|
| 192 |
+
if view_name in images:
|
| 193 |
+
message_content.append({
|
| 194 |
+
"type": "image_url",
|
| 195 |
+
"image_url": {
|
| 196 |
+
"url": f"data:image/png;base64,{images[view_name]}",
|
| 197 |
+
"detail": "high"
|
| 198 |
+
}
|
| 199 |
+
})
|
| 200 |
+
|
| 201 |
+
# 4. 调用 GPT API
|
| 202 |
+
max_retries = 5
|
| 203 |
+
response = None
|
| 204 |
+
|
| 205 |
+
for attempt in range(max_retries):
|
| 206 |
+
try:
|
| 207 |
+
response = client.chat.completions.create(
|
| 208 |
+
model=deployment_name,
|
| 209 |
+
messages=[
|
| 210 |
+
{
|
| 211 |
+
"role": "user",
|
| 212 |
+
"content": message_content
|
| 213 |
+
}
|
| 214 |
+
],
|
| 215 |
+
max_completion_tokens=4096
|
| 216 |
+
)
|
| 217 |
+
break
|
| 218 |
+
except Exception as e:
|
| 219 |
+
error_str = str(e)
|
| 220 |
+
# 403 是内容过滤,不可恢复
|
| 221 |
+
if "403" in error_str:
|
| 222 |
+
result["error"] = "Content filtered (403)"
|
| 223 |
+
return sample_name, False, result
|
| 224 |
+
if attempt == max_retries - 1:
|
| 225 |
+
raise e
|
| 226 |
+
print(f"Worker {worker_id}: API retry {attempt + 1} for {sample_name}")
|
| 227 |
+
time.sleep(2 ** attempt) # 指数退避
|
| 228 |
+
|
| 229 |
+
if response is None:
|
| 230 |
+
result["error"] = "Failed to get API response after retries"
|
| 231 |
+
return sample_name, False, result
|
| 232 |
+
|
| 233 |
+
# 5. 解析响应
|
| 234 |
+
raw_response = response.choices[0].message.content.strip()
|
| 235 |
+
result["raw_response"] = raw_response
|
| 236 |
+
|
| 237 |
+
evaluation = parse_gpt_response(raw_response)
|
| 238 |
+
if evaluation is None:
|
| 239 |
+
result["error"] = "Failed to parse GPT response as JSON"
|
| 240 |
+
return sample_name, False, result
|
| 241 |
+
|
| 242 |
+
result["evaluation"] = evaluation
|
| 243 |
+
print(f"Worker {worker_id}: ✅ Evaluated {sample_name}")
|
| 244 |
+
return sample_name, True, result
|
| 245 |
+
|
| 246 |
+
except Exception as e:
|
| 247 |
+
result["error"] = str(e)
|
| 248 |
+
print(f"Worker {worker_id}: ❌ Error evaluating {sample_name}: {e}")
|
| 249 |
+
return sample_name, False, result
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def process_single_sample_wrapper(args: Tuple) -> Tuple[str, bool, Dict]:
|
| 253 |
+
"""Worker 函数包装器"""
|
| 254 |
+
sample_dir, worker_id = args
|
| 255 |
+
try:
|
| 256 |
+
client, deployment_name = get_azure_client()
|
| 257 |
+
return evaluate_single_sample(sample_dir, client, deployment_name, worker_id)
|
| 258 |
+
except Exception as e:
|
| 259 |
+
sample_name = os.path.basename(sample_dir)
|
| 260 |
+
return sample_name, False, {
|
| 261 |
+
"sample_name": sample_name,
|
| 262 |
+
"sample_path": sample_dir,
|
| 263 |
+
"error": f"Worker initialization error: {e}"
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
def get_pending_samples(input_dir: str, output_file: str = None) -> List[str]:
|
| 268 |
+
"""
|
| 269 |
+
获取待评估的样本目录列表
|
| 270 |
+
如果存在 output_file,则跳过已评估的样本
|
| 271 |
+
"""
|
| 272 |
+
# 获取所有样本目录
|
| 273 |
+
sample_dirs = []
|
| 274 |
+
for item in os.listdir(input_dir):
|
| 275 |
+
item_path = os.path.join(input_dir, item)
|
| 276 |
+
if os.path.isdir(item_path):
|
| 277 |
+
# 检查是否有 user_input.txt
|
| 278 |
+
if os.path.exists(os.path.join(item_path, "user_input.txt")):
|
| 279 |
+
sample_dirs.append(item_path)
|
| 280 |
+
|
| 281 |
+
# 如果有已存在的输出文件,过滤掉已评估的
|
| 282 |
+
evaluated_samples = set()
|
| 283 |
+
if output_file and os.path.exists(output_file):
|
| 284 |
+
try:
|
| 285 |
+
with open(output_file, 'r') as f:
|
| 286 |
+
existing_data = json.load(f)
|
| 287 |
+
for result in existing_data.get("results", []):
|
| 288 |
+
if result.get("evaluation") is not None:
|
| 289 |
+
evaluated_samples.add(result.get("sample_name"))
|
| 290 |
+
print(f"Found {len(evaluated_samples)} already evaluated samples")
|
| 291 |
+
except Exception as e:
|
| 292 |
+
print(f"Warning: Could not load existing results: {e}")
|
| 293 |
+
|
| 294 |
+
# 过滤
|
| 295 |
+
pending = [d for d in sample_dirs if os.path.basename(d) not in evaluated_samples]
|
| 296 |
+
return pending
|
| 297 |
+
|
| 298 |
+
|
| 299 |
+
def compute_summary_stats(results: List[Dict]) -> Dict:
|
| 300 |
+
"""计算评估结果的汇总统计"""
|
| 301 |
+
successful = [r for r in results if r.get("evaluation") is not None]
|
| 302 |
+
|
| 303 |
+
if not successful:
|
| 304 |
+
return {
|
| 305 |
+
"total_samples": len(results),
|
| 306 |
+
"successful_evaluations": 0,
|
| 307 |
+
"failed_evaluations": len(results),
|
| 308 |
+
"avg_scores": {}
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
# 收集所有分数
|
| 312 |
+
scores = {
|
| 313 |
+
"aesthetic_harmony": [],
|
| 314 |
+
"lived_in_realism": [],
|
| 315 |
+
"structural_orchestration": [],
|
| 316 |
+
"geometric_grounding": [],
|
| 317 |
+
"semantic_fidelity": [],
|
| 318 |
+
"functional_affordance": [],
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
for r in successful:
|
| 322 |
+
eval_data = r["evaluation"]
|
| 323 |
+
if "perceptual" in eval_data:
|
| 324 |
+
if "aesthetic_harmony_score" in eval_data["perceptual"]:
|
| 325 |
+
scores["aesthetic_harmony"].append(eval_data["perceptual"]["aesthetic_harmony_score"])
|
| 326 |
+
if "lived_in_realism_score" in eval_data["perceptual"]:
|
| 327 |
+
scores["lived_in_realism"].append(eval_data["perceptual"]["lived_in_realism_score"])
|
| 328 |
+
|
| 329 |
+
if "structural" in eval_data:
|
| 330 |
+
if "structural_orchestration_score" in eval_data["structural"]:
|
| 331 |
+
scores["structural_orchestration"].append(eval_data["structural"]["structural_orchestration_score"])
|
| 332 |
+
if "geometric_grounding_score" in eval_data["structural"]:
|
| 333 |
+
scores["geometric_grounding"].append(eval_data["structural"]["geometric_grounding_score"])
|
| 334 |
+
|
| 335 |
+
if "semantic" in eval_data:
|
| 336 |
+
if "semantic_fidelity_score" in eval_data["semantic"]:
|
| 337 |
+
scores["semantic_fidelity"].append(eval_data["semantic"]["semantic_fidelity_score"])
|
| 338 |
+
if "functional_affordance_score" in eval_data["semantic"]:
|
| 339 |
+
scores["functional_affordance"].append(eval_data["semantic"]["functional_affordance_score"])
|
| 340 |
+
|
| 341 |
+
# 计算平均分
|
| 342 |
+
avg_scores = {}
|
| 343 |
+
for metric, values in scores.items():
|
| 344 |
+
if values:
|
| 345 |
+
avg_scores[metric] = sum(values) / len(values)
|
| 346 |
+
|
| 347 |
+
# 计算总体平均分
|
| 348 |
+
all_scores = []
|
| 349 |
+
for values in scores.values():
|
| 350 |
+
all_scores.extend(values)
|
| 351 |
+
|
| 352 |
+
return {
|
| 353 |
+
"total_samples": len(results),
|
| 354 |
+
"successful_evaluations": len(successful),
|
| 355 |
+
"failed_evaluations": len(results) - len(successful),
|
| 356 |
+
"avg_scores": avg_scores,
|
| 357 |
+
"overall_avg_score": sum(all_scores) / len(all_scores) if all_scores else 0
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
|
| 361 |
+
def main():
|
| 362 |
+
parser = argparse.ArgumentParser(description="GPT-based evaluation for generated 3D scenes")
|
| 363 |
+
parser.add_argument("--input", default="test_vis_output3", help="Input directory containing sample folders")
|
| 364 |
+
parser.add_argument("--output", default="gpt_eval_results.json", help="Output JSON file for results")
|
| 365 |
+
parser.add_argument("--workers", type=int, default=10, help="Number of parallel workers")
|
| 366 |
+
parser.add_argument("--resume", action="store_true", help="Resume from existing output file")
|
| 367 |
+
args = parser.parse_args()
|
| 368 |
+
|
| 369 |
+
input_dir = args.input
|
| 370 |
+
output_file = args.output
|
| 371 |
+
|
| 372 |
+
if not os.path.isdir(input_dir):
|
| 373 |
+
print(f"Error: Input directory not found: {input_dir}")
|
| 374 |
+
return
|
| 375 |
+
|
| 376 |
+
# 获取待评估样本
|
| 377 |
+
pending_samples = get_pending_samples(
|
| 378 |
+
input_dir,
|
| 379 |
+
output_file if args.resume else None
|
| 380 |
+
)
|
| 381 |
+
|
| 382 |
+
print(f"Found {len(pending_samples)} samples to evaluate")
|
| 383 |
+
|
| 384 |
+
if not pending_samples:
|
| 385 |
+
print("No samples to evaluate!")
|
| 386 |
+
return
|
| 387 |
+
|
| 388 |
+
# 加载已有结果(如果 resume)
|
| 389 |
+
existing_results = []
|
| 390 |
+
if args.resume and os.path.exists(output_file):
|
| 391 |
+
try:
|
| 392 |
+
with open(output_file, 'r') as f:
|
| 393 |
+
existing_data = json.load(f)
|
| 394 |
+
existing_results = existing_data.get("results", [])
|
| 395 |
+
except Exception:
|
| 396 |
+
pass
|
| 397 |
+
|
| 398 |
+
# 准备任务
|
| 399 |
+
task_args = [
|
| 400 |
+
(sample_dir, i % args.workers + 1)
|
| 401 |
+
for i, sample_dir in enumerate(pending_samples)
|
| 402 |
+
]
|
| 403 |
+
|
| 404 |
+
# 并行处理
|
| 405 |
+
new_results = []
|
| 406 |
+
with ThreadPoolExecutor(max_workers=args.workers) as executor:
|
| 407 |
+
futures = {
|
| 408 |
+
executor.submit(process_single_sample_wrapper, arg): arg[0]
|
| 409 |
+
for arg in task_args
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
with tqdm(total=len(futures), desc="Evaluating samples") as pbar:
|
| 413 |
+
for future in as_completed(futures):
|
| 414 |
+
sample_name, success, result = future.result()
|
| 415 |
+
new_results.append(result)
|
| 416 |
+
pbar.update(1)
|
| 417 |
+
|
| 418 |
+
# 定期保存中间结果
|
| 419 |
+
if len(new_results) % 10 == 0:
|
| 420 |
+
all_results = existing_results + new_results
|
| 421 |
+
summary = compute_summary_stats(all_results)
|
| 422 |
+
output_data = {
|
| 423 |
+
"summary": summary,
|
| 424 |
+
"results": all_results
|
| 425 |
+
}
|
| 426 |
+
with open(output_file, 'w') as f:
|
| 427 |
+
json.dump(output_data, f, indent=2, ensure_ascii=False)
|
| 428 |
+
|
| 429 |
+
# 最终保存
|
| 430 |
+
all_results = existing_results + new_results
|
| 431 |
+
summary = compute_summary_stats(all_results)
|
| 432 |
+
|
| 433 |
+
output_data = {
|
| 434 |
+
"summary": summary,
|
| 435 |
+
"results": all_results
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
with open(output_file, 'w') as f:
|
| 439 |
+
json.dump(output_data, f, indent=2, ensure_ascii=False)
|
| 440 |
+
|
| 441 |
+
# 打印汇总
|
| 442 |
+
print("\n========== GPT Evaluation Summary ==========")
|
| 443 |
+
print(f"Total samples: {summary['total_samples']}")
|
| 444 |
+
print(f"Successful: {summary['successful_evaluations']}")
|
| 445 |
+
print(f"Failed: {summary['failed_evaluations']}")
|
| 446 |
+
print("\nAverage Scores:")
|
| 447 |
+
for metric, score in summary.get("avg_scores", {}).items():
|
| 448 |
+
print(f" {metric}: {score:.2f}")
|
| 449 |
+
print(f"\nOverall Average: {summary.get('overall_avg_score', 0):.2f}")
|
| 450 |
+
print(f"\nResults saved to: {output_file}")
|
| 451 |
+
|
| 452 |
+
|
| 453 |
+
if __name__ == "__main__":
|
| 454 |
+
main()
|
eval/Holodeck/ai2holodeck/main.py
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import ast
|
| 2 |
+
import os
|
| 3 |
+
import traceback
|
| 4 |
+
from argparse import ArgumentParser
|
| 5 |
+
import subprocess
|
| 6 |
+
import signal
|
| 7 |
+
import atexit
|
| 8 |
+
|
| 9 |
+
import compress_json
|
| 10 |
+
from tqdm import tqdm
|
| 11 |
+
|
| 12 |
+
from ai2holodeck.constants import HOLODECK_BASE_DATA_DIR, OBJATHOR_ASSETS_DIR
|
| 13 |
+
from ai2holodeck.generation.holodeck import Holodeck
|
| 14 |
+
|
| 15 |
+
# Global variable to track xvfb process
|
| 16 |
+
_xvfb_proc = None
|
| 17 |
+
|
| 18 |
+
def setup_display():
|
| 19 |
+
"""Setup virtual display for headless rendering"""
|
| 20 |
+
global _xvfb_proc
|
| 21 |
+
|
| 22 |
+
# Check if DISPLAY is already set
|
| 23 |
+
if 'DISPLAY' in os.environ:
|
| 24 |
+
print(f"Using existing DISPLAY: {os.environ['DISPLAY']}")
|
| 25 |
+
return
|
| 26 |
+
|
| 27 |
+
# Try to start Xvfb with more compatible settings
|
| 28 |
+
try:
|
| 29 |
+
display_num = 99
|
| 30 |
+
os.environ['DISPLAY'] = f':{display_num}'
|
| 31 |
+
|
| 32 |
+
# Kill any existing Xvfb on this display
|
| 33 |
+
try:
|
| 34 |
+
subprocess.run(['pkill', '-f', f'Xvfb :{display_num}'],
|
| 35 |
+
stderr=subprocess.DEVNULL, check=False)
|
| 36 |
+
import time
|
| 37 |
+
time.sleep(1)
|
| 38 |
+
except:
|
| 39 |
+
pass
|
| 40 |
+
|
| 41 |
+
# Start Xvfb in the background with proper settings for AI2-THOR
|
| 42 |
+
_xvfb_proc = subprocess.Popen([
|
| 43 |
+
'Xvfb',
|
| 44 |
+
f':{display_num}',
|
| 45 |
+
'-screen', '0', '2048x2048x24',
|
| 46 |
+
'-ac',
|
| 47 |
+
'+extension', 'GLX',
|
| 48 |
+
'+render',
|
| 49 |
+
'-noreset'
|
| 50 |
+
], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| 51 |
+
|
| 52 |
+
# Wait for Xvfb to be ready
|
| 53 |
+
import time
|
| 54 |
+
time.sleep(3)
|
| 55 |
+
|
| 56 |
+
# Verify Xvfb is running
|
| 57 |
+
if _xvfb_proc.poll() is None:
|
| 58 |
+
print(f"Started Xvfb on DISPLAY :{display_num}")
|
| 59 |
+
else:
|
| 60 |
+
stdout, stderr = _xvfb_proc.communicate()
|
| 61 |
+
print(f"Xvfb failed to start: {stderr.decode()}")
|
| 62 |
+
raise Exception("Xvfb failed to start")
|
| 63 |
+
|
| 64 |
+
# Register cleanup function
|
| 65 |
+
atexit.register(cleanup_display)
|
| 66 |
+
|
| 67 |
+
except FileNotFoundError:
|
| 68 |
+
print("Warning: Xvfb not found. Image/video generation may fail.")
|
| 69 |
+
print("Install with: sudo apt-get install xvfb")
|
| 70 |
+
except Exception as e:
|
| 71 |
+
print(f"Warning: Could not start Xvfb: {e}")
|
| 72 |
+
|
| 73 |
+
def cleanup_display():
|
| 74 |
+
"""Cleanup virtual display on exit"""
|
| 75 |
+
global _xvfb_proc
|
| 76 |
+
if _xvfb_proc is not None:
|
| 77 |
+
try:
|
| 78 |
+
_xvfb_proc.terminate()
|
| 79 |
+
_xvfb_proc.wait(timeout=5)
|
| 80 |
+
except:
|
| 81 |
+
try:
|
| 82 |
+
_xvfb_proc.kill()
|
| 83 |
+
except:
|
| 84 |
+
pass
|
| 85 |
+
_xvfb_proc = None
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
def str2bool(v: str):
|
| 89 |
+
v = v.lower().strip()
|
| 90 |
+
if v in ("yes", "true", "t", "y", "1"):
|
| 91 |
+
return True
|
| 92 |
+
elif v in ("no", "false", "f", "n", "0"):
|
| 93 |
+
return False
|
| 94 |
+
else:
|
| 95 |
+
raise ValueError(f"{v} cannot be converted to a bool")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def generate_single_scene(args):
|
| 99 |
+
folder_name = args.query.replace(" ", "_").replace("'", "")
|
| 100 |
+
|
| 101 |
+
scene = None
|
| 102 |
+
if args.original_scene is not None:
|
| 103 |
+
print(f"Loading original scene from {args.original_scene}.")
|
| 104 |
+
try:
|
| 105 |
+
scene = compress_json.load(args.original_scene)
|
| 106 |
+
except:
|
| 107 |
+
print(
|
| 108 |
+
f"[ERROR] Could not load original scene from given path {args.original_scene}."
|
| 109 |
+
)
|
| 110 |
+
raise
|
| 111 |
+
else:
|
| 112 |
+
path = os.path.join(
|
| 113 |
+
HOLODECK_BASE_DATA_DIR, f"scenes/{folder_name}/{folder_name}.json"
|
| 114 |
+
)
|
| 115 |
+
if os.path.exists(path):
|
| 116 |
+
print(f"Loading existing scene from {path}.")
|
| 117 |
+
try:
|
| 118 |
+
scene = compress_json.load(path)
|
| 119 |
+
except:
|
| 120 |
+
print(
|
| 121 |
+
f"[ERROR] The path {path} exists but could not be loaded. Please delete"
|
| 122 |
+
f" this file and try again."
|
| 123 |
+
)
|
| 124 |
+
raise
|
| 125 |
+
|
| 126 |
+
if scene is None:
|
| 127 |
+
print("Generating from an empty scene.")
|
| 128 |
+
scene = args.model.get_empty_scene()
|
| 129 |
+
|
| 130 |
+
try:
|
| 131 |
+
_, save_dir = args.model.generate_scene(
|
| 132 |
+
scene=scene,
|
| 133 |
+
query=args.query,
|
| 134 |
+
save_dir=args.save_dir,
|
| 135 |
+
used_assets=args.used_assets,
|
| 136 |
+
generate_image=ast.literal_eval(args.generate_image),
|
| 137 |
+
generate_video=ast.literal_eval(args.generate_video),
|
| 138 |
+
generate_multi_view=ast.literal_eval(args.generate_multi_view),
|
| 139 |
+
add_ceiling=ast.literal_eval(args.add_ceiling),
|
| 140 |
+
add_time=ast.literal_eval(args.add_time),
|
| 141 |
+
use_constraint=ast.literal_eval(args.use_constraint),
|
| 142 |
+
use_milp=ast.literal_eval(args.use_milp),
|
| 143 |
+
random_selection=ast.literal_eval(args.random_selection),
|
| 144 |
+
)
|
| 145 |
+
except:
|
| 146 |
+
print(
|
| 147 |
+
f"[ERROR] Could not generate scene from {args.query}. Traceback:\n{traceback.format_exc()}"
|
| 148 |
+
)
|
| 149 |
+
return
|
| 150 |
+
|
| 151 |
+
print(
|
| 152 |
+
f"Generation complete for {args.query}. Scene saved and any other data saved to {save_dir}."
|
| 153 |
+
)
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
def generate_multi_scenes(args):
|
| 157 |
+
with open(args.query_file, "r") as f:
|
| 158 |
+
queries = f.readlines()
|
| 159 |
+
queries = [query.strip() for query in queries]
|
| 160 |
+
|
| 161 |
+
for query in tqdm(queries):
|
| 162 |
+
args.query = query
|
| 163 |
+
generate_single_scene(args)
|
| 164 |
+
|
| 165 |
+
|
| 166 |
+
def generate_variants(args):
|
| 167 |
+
try:
|
| 168 |
+
original_scene = compress_json.load(args.original_scene)
|
| 169 |
+
except:
|
| 170 |
+
raise Exception(f"Could not load original scene from {args.original_scene}.")
|
| 171 |
+
|
| 172 |
+
try:
|
| 173 |
+
args.model.generate_variants(
|
| 174 |
+
query=args.query,
|
| 175 |
+
original_scene=original_scene,
|
| 176 |
+
save_dir=args.save_dir,
|
| 177 |
+
number_of_variants=int(args.number_of_variants),
|
| 178 |
+
used_assets=args.used_assets,
|
| 179 |
+
)
|
| 180 |
+
except:
|
| 181 |
+
print(f"Could not generate variants from {args.query}.")
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
if __name__ == "__main__":
|
| 185 |
+
# Setup virtual display for headless rendering
|
| 186 |
+
setup_display()
|
| 187 |
+
|
| 188 |
+
parser = ArgumentParser()
|
| 189 |
+
parser.add_argument(
|
| 190 |
+
"--mode",
|
| 191 |
+
help="Mode to run in (generate_single_scene, generate_multi_scenes or generate_variants).",
|
| 192 |
+
default="generate_single_scene",
|
| 193 |
+
)
|
| 194 |
+
parser.add_argument(
|
| 195 |
+
"--query", help="Query to generate scene from.", default="a living room"
|
| 196 |
+
)
|
| 197 |
+
parser.add_argument(
|
| 198 |
+
"--query_file", help="File to load queries from.", default="./data/queries.txt"
|
| 199 |
+
)
|
| 200 |
+
parser.add_argument(
|
| 201 |
+
"--number_of_variants", help="Number of variants to generate.", default=5
|
| 202 |
+
)
|
| 203 |
+
parser.add_argument(
|
| 204 |
+
"--original_scene",
|
| 205 |
+
help="Original scene to generate variants from.",
|
| 206 |
+
default=None,
|
| 207 |
+
)
|
| 208 |
+
parser.add_argument(
|
| 209 |
+
"--save_dir", help="Directory to save scene to.", default="./data/scenes"
|
| 210 |
+
)
|
| 211 |
+
parser.add_argument(
|
| 212 |
+
"--generate_image",
|
| 213 |
+
help="Whether to generate an image of the scene.",
|
| 214 |
+
default="True",
|
| 215 |
+
)
|
| 216 |
+
parser.add_argument(
|
| 217 |
+
"--generate_video",
|
| 218 |
+
help="Whether to generate a video of the scene.",
|
| 219 |
+
default="False",
|
| 220 |
+
)
|
| 221 |
+
parser.add_argument(
|
| 222 |
+
"--generate_multi_view",
|
| 223 |
+
help="Whether to generate multi-view images (top_down + 4 diagonal views).",
|
| 224 |
+
default="False",
|
| 225 |
+
)
|
| 226 |
+
parser.add_argument(
|
| 227 |
+
"--add_ceiling", help="Whether to add a ceiling to the scene.", default="False"
|
| 228 |
+
)
|
| 229 |
+
parser.add_argument(
|
| 230 |
+
"--add_time", help="Whether to add the time to the scene name.", default="True"
|
| 231 |
+
)
|
| 232 |
+
parser.add_argument(
|
| 233 |
+
"--use_constraint", help="Whether to use constraints.", default="True"
|
| 234 |
+
)
|
| 235 |
+
parser.add_argument(
|
| 236 |
+
"--use_milp",
|
| 237 |
+
help="Whether to use mixed integer linear programming for the constraint satisfaction solver.",
|
| 238 |
+
default="False",
|
| 239 |
+
)
|
| 240 |
+
parser.add_argument(
|
| 241 |
+
"--random_selection",
|
| 242 |
+
help="Whether to more random object selection, set to False will be more precise, True will be more diverse",
|
| 243 |
+
default="False",
|
| 244 |
+
)
|
| 245 |
+
parser.add_argument(
|
| 246 |
+
"--used_assets",
|
| 247 |
+
help="a list of assets which we want to exclude from the scene",
|
| 248 |
+
default=[],
|
| 249 |
+
)
|
| 250 |
+
parser.add_argument(
|
| 251 |
+
"--single_room",
|
| 252 |
+
help="Whether to generate a single room scene.",
|
| 253 |
+
default="False",
|
| 254 |
+
)
|
| 255 |
+
|
| 256 |
+
args = parser.parse_args()
|
| 257 |
+
|
| 258 |
+
# Initialize Holodeck with Azure OpenAI (no API key needed, uses Azure authentication)
|
| 259 |
+
args.model = Holodeck(
|
| 260 |
+
objaverse_asset_dir=OBJATHOR_ASSETS_DIR,
|
| 261 |
+
single_room=ast.literal_eval(args.single_room),
|
| 262 |
+
)
|
| 263 |
+
|
| 264 |
+
if args.used_assets != [] and args.used_assets.endswith(".txt"):
|
| 265 |
+
with open(args.used_assets, "r") as f:
|
| 266 |
+
args.used_assets = f.readlines()
|
| 267 |
+
args.used_assets = [asset.strip() for asset in args.used_assets]
|
| 268 |
+
else:
|
| 269 |
+
args.used_assets = []
|
| 270 |
+
|
| 271 |
+
if args.mode == "generate_single_scene":
|
| 272 |
+
generate_single_scene(args)
|
| 273 |
+
|
| 274 |
+
elif args.mode == "generate_multi_scenes":
|
| 275 |
+
generate_multi_scenes(args)
|
| 276 |
+
|
| 277 |
+
elif args.mode == "generate_variants":
|
| 278 |
+
generate_variants(args)
|
| 279 |
+
|
| 280 |
+
else:
|
| 281 |
+
raise Exception(f"Mode {args.mode} not supported.")
|
eval/Holodeck/ai2holodeck/prompts.py
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prompt = """
|
| 2 |
+
# Role Definition
|
| 3 |
+
You are an expert Senior Architect and Spatial Planner. Your task is to evaluate a generated 3D indoor scene based on the provided visualization renderings and the user's text instruction.
|
| 4 |
+
|
| 5 |
+
# Input Data
|
| 6 |
+
1. **Text Instruction:** The original prompt describing the scene (e.g., "A cluttered, L-shaped artist studio with over 50 items").
|
| 7 |
+
2. **Visual Renderings:** Perspective images of the generated scene.
|
| 8 |
+
|
| 9 |
+
# Critical Constraints (READ CAREFULLY)
|
| 10 |
+
- **IGNORE Rendering Quality:** Do NOT downgrade scores for low resolution, blur, pixelation, or lighting artifacts.
|
| 11 |
+
- **IGNORE Asset Texture:** Do NOT evaluate the material quality or texture resolution of the furniture.
|
| 12 |
+
- **FOCUS ONLY ON:** Spatial layout, geometric logic, object arrangement, and instruction adherence.
|
| 13 |
+
- **Scoring Scale:** Provide an **INTEGER score from 0 to 10** for EACH of the 6 metrics below (0 = Failure, 10 = Perfect).
|
| 14 |
+
|
| 15 |
+
# Evaluation Metrics
|
| 16 |
+
|
| 17 |
+
Please evaluate the scene across the following 3 categories and 6 specific metrics:
|
| 18 |
+
|
| 19 |
+
## Category 1: Perceptual Quality
|
| 20 |
+
**1. Aesthetic Harmony**
|
| 21 |
+
* **Focus:** Visual Style & Consistency.
|
| 22 |
+
* **Criteria:** Is the visual style consistent across the room? Do the furniture pieces stylistically belong together? This is a baseline quality check for visual coherence.
|
| 23 |
+
* **Score (0-10):** 0 = Mismatched, chaotic styles; 10 = Perfectly unified stylistic theme.
|
| 24 |
+
|
| 25 |
+
**2. Lived-in Realism (Critical)**
|
| 26 |
+
* **Focus:** Organic Entropy vs. Synthetic Showroom.
|
| 27 |
+
* **Criteria:** Does the scene look like a real, inhabited space with natural "clutter" and organic variation? Or does it look like a sterile, artificial AI-generated showroom with rigid, grid-like alignment?
|
| 28 |
+
* **Score (0-10):** 0 = Artificial, robotic alignment, sterile; 10 = Highly organic, natural rotations, convincing "lived-in" vibe.
|
| 29 |
+
|
| 30 |
+
## Category 2: Structural Logic
|
| 31 |
+
**3. Structural Orchestration (Critical)**
|
| 32 |
+
* **Focus:** Hierarchy & Grouping (Handling Massive Assets).
|
| 33 |
+
* **Criteria:** specifically for scenes with **massive assets (>50 items)**, does the model organize them into logical functional groups/zones? Or are they scattered randomly/piled up?
|
| 34 |
+
* **Score (0-10):** 0 = Chaotic scattering or overlapping piles; 10 = Clear, hierarchical zoning of many objects.
|
| 35 |
+
|
| 36 |
+
**4. Geometric Grounding (Critical)**
|
| 37 |
+
* **Focus:** Boundary Adaptation (Non-Convex Rooms).
|
| 38 |
+
* **Criteria:** How well does the layout adapt to **irregular geometries** (e.g., L-shaped, H-shaped, alcoves)? Does it utilize nooks effectively, or do objects float in void spaces/clip through irregular walls?
|
| 39 |
+
* **Score (0-10):** 0 = Ignores room shape, severe clipping/floating; 10 = Perfect adaptation to the specific non-convex boundary.
|
| 40 |
+
|
| 41 |
+
## Category 3: Semantic Accuracy
|
| 42 |
+
**5. Semantic Fidelity**
|
| 43 |
+
* **Focus:** Instruction Following.
|
| 44 |
+
* **Criteria:** Does the scene strictly contain the room type and specific objects requested in the text prompt?
|
| 45 |
+
* **Score (0-10):** 0 = Completely wrong room/objects; 10 = Perfect recall of all requested elements.
|
| 46 |
+
|
| 47 |
+
**6. Functional Affordance**
|
| 48 |
+
* **Focus:** Physics & Navigation.
|
| 49 |
+
* **Criteria:** Is the layout physically plausible and navigable? Are paths clear? Are objects placed logically for human use (e.g., chairs facing tables)?
|
| 50 |
+
* **Score (0-10):** 0 = Blocked paths, physically impossible placements; 10 = Highly functional and navigable.
|
| 51 |
+
|
| 52 |
+
# Output Format
|
| 53 |
+
Provide your evaluation in the following JSON format:
|
| 54 |
+
|
| 55 |
+
```json
|
| 56 |
+
{
|
| 57 |
+
"perceptual": {
|
| 58 |
+
"aesthetic_harmony_score": <int>,
|
| 59 |
+
"lived_in_realism_score": <int>,
|
| 60 |
+
"reasoning": "<Brief explanation for perceptual scores>"
|
| 61 |
+
},
|
| 62 |
+
"structural": {
|
| 63 |
+
"structural_orchestration_score": <int>,
|
| 64 |
+
"geometric_grounding_score": <int>,
|
| 65 |
+
"reasoning": "<Brief explanation for structural scores>"
|
| 66 |
+
},
|
| 67 |
+
"semantic": {
|
| 68 |
+
"semantic_fidelity_score": <int>,
|
| 69 |
+
"functional_affordance_score": <int>,
|
| 70 |
+
"reasoning": "<Brief explanation for semantic scores>"
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
+
"""
|
eval/Holodeck/data/evaluation/A_reading_nook_that_mixes_a_bo-2025-12-23-13-23-28-461459/render_diagonal.png
ADDED
|
Git LFS Details
|
eval/Holodeck/data/evaluation/evaluation_checkpoint.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_115452.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T11:53:14.299992",
|
| 3 |
+
"num_samples": 1,
|
| 4 |
+
"individual_results": [
|
| 5 |
+
{
|
| 6 |
+
"id": "scannet/scene0003_02:coarse",
|
| 7 |
+
"success": false,
|
| 8 |
+
"out_of_bounds_volume": 0.0,
|
| 9 |
+
"collision_volume": 0.0,
|
| 10 |
+
"num_objects": 0,
|
| 11 |
+
"num_objects_processed": 0,
|
| 12 |
+
"error": "scene_generation_failed",
|
| 13 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone."
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"summary": {
|
| 17 |
+
"total_samples": 1,
|
| 18 |
+
"successful": 0,
|
| 19 |
+
"failed": 1,
|
| 20 |
+
"total_out_of_bounds_volume": 0.0,
|
| 21 |
+
"total_collision_volume": 0.0,
|
| 22 |
+
"avg_out_of_bounds_volume": 0,
|
| 23 |
+
"avg_collision_volume": 0
|
| 24 |
+
}
|
| 25 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_120506.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T12:00:18.038238",
|
| 3 |
+
"num_samples": 1,
|
| 4 |
+
"individual_results": [
|
| 5 |
+
{
|
| 6 |
+
"id": "scannet/scene0003_02:coarse",
|
| 7 |
+
"success": true,
|
| 8 |
+
"out_of_bounds_volume": 0.8169296387808572,
|
| 9 |
+
"collision_volume": 0.0038085692630807745,
|
| 10 |
+
"num_objects": 28,
|
| 11 |
+
"num_objects_processed": 19,
|
| 12 |
+
"error": null,
|
| 13 |
+
"failed_objects": [
|
| 14 |
+
{
|
| 15 |
+
"id": "refrigerator-0 (compact home kitchen)",
|
| 16 |
+
"asset_id": "Fridge_16",
|
| 17 |
+
"reason": "mesh_load_failed"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "dish_drying_rack-0 (compact home kitchen)",
|
| 21 |
+
"asset_id": "Cart_1",
|
| 22 |
+
"reason": "mesh_load_failed"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": "plate-1|dish_drying_rack-0 (compact home kitchen)",
|
| 26 |
+
"asset_id": "Plate_14",
|
| 27 |
+
"reason": "mesh_load_failed"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"id": "plate-0|dish_drying_rack-0 (compact home kitchen)",
|
| 31 |
+
"asset_id": "RoboTHOR_plate_ai2_v",
|
| 32 |
+
"reason": "mesh_load_failed"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"id": "bowl-2|dish_drying_rack-0 (compact home kitchen)",
|
| 36 |
+
"asset_id": "Bowl_29",
|
| 37 |
+
"reason": "mesh_load_failed"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"id": "bowl-1|dish_drying_rack-0 (compact home kitchen)",
|
| 41 |
+
"asset_id": "Bowl_26",
|
| 42 |
+
"reason": "mesh_load_failed"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"id": "glass-0|dish_drying_rack-0 (compact home kitchen)",
|
| 46 |
+
"asset_id": "Cup_20",
|
| 47 |
+
"reason": "mesh_load_failed"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"id": "spice jar-2|wall_shelf-1 (compact home kitchen)",
|
| 51 |
+
"asset_id": "Salt_Shaker_1",
|
| 52 |
+
"reason": "mesh_load_failed"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"id": "pan-0|stove_and_oven_unit-0 (compact home kitchen)",
|
| 56 |
+
"asset_id": "Pot_19",
|
| 57 |
+
"reason": "mesh_load_failed"
|
| 58 |
+
}
|
| 59 |
+
],
|
| 60 |
+
"collision_pairs": [
|
| 61 |
+
{
|
| 62 |
+
"object_a": "kitchen_island-0 (compact home kitchen)",
|
| 63 |
+
"object_b": "small potted herb plant-0|kitchen_island-0 (compact home kitchen)",
|
| 64 |
+
"volume": 0.0037172907336575508
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"object_a": "rolling_cart-0 (compact home kitchen)",
|
| 68 |
+
"object_b": "stack of napkins-0|rolling_cart-0 (compact home kitchen)",
|
| 69 |
+
"volume": 9.127852942322395e-05
|
| 70 |
+
}
|
| 71 |
+
],
|
| 72 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone."
|
| 73 |
+
}
|
| 74 |
+
],
|
| 75 |
+
"summary": {
|
| 76 |
+
"total_samples": 1,
|
| 77 |
+
"successful": 1,
|
| 78 |
+
"failed": 0,
|
| 79 |
+
"total_out_of_bounds_volume": 0.8169296387808572,
|
| 80 |
+
"total_collision_volume": 0.0038085692630807745,
|
| 81 |
+
"avg_out_of_bounds_volume": 0.8169296387808572,
|
| 82 |
+
"avg_collision_volume": 0.0038085692630807745
|
| 83 |
+
}
|
| 84 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_121429.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T12:10:55.380785",
|
| 3 |
+
"num_samples": 1,
|
| 4 |
+
"num_workers": 1,
|
| 5 |
+
"individual_results": [
|
| 6 |
+
{
|
| 7 |
+
"id": "scannet/scene0003_02:coarse",
|
| 8 |
+
"success": true,
|
| 9 |
+
"out_of_bounds_volume": 1.101909620334059,
|
| 10 |
+
"collision_volume": 0.009226840833102217,
|
| 11 |
+
"num_objects": 19,
|
| 12 |
+
"num_objects_processed": 17,
|
| 13 |
+
"error": null,
|
| 14 |
+
"failed_objects": [
|
| 15 |
+
{
|
| 16 |
+
"id": "refrigerator-0 (compact home kitchen)",
|
| 17 |
+
"asset_id": "Fridge_10",
|
| 18 |
+
"reason": "mesh_load_failed"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"id": "trash_bin-0 (compact home kitchen)",
|
| 22 |
+
"asset_id": "bin_29",
|
| 23 |
+
"reason": "mesh_load_failed"
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"collision_pairs": [
|
| 27 |
+
{
|
| 28 |
+
"object_a": "pantry_cabinet-0 (compact home kitchen)",
|
| 29 |
+
"object_b": "decorative basket-1|pantry_cabinet-0 (compact home kitchen)",
|
| 30 |
+
"volume": 0.0011967134500751129
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"object_a": "rolling_cart-0 (compact home kitchen)",
|
| 34 |
+
"object_b": "glass jar-1|rolling_cart-0 (compact home kitchen)",
|
| 35 |
+
"volume": 0.0019133855367737354
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"object_a": "decorative jar-1|refrigerator-0 (compact home kitchen)",
|
| 39 |
+
"object_b": "glass jar-0|rolling_cart-0 (compact home kitchen)",
|
| 40 |
+
"volume": 0.001070743169415778
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"object_a": "decorative jar-1|refrigerator-0 (compact home kitchen)",
|
| 44 |
+
"object_b": "small jar-0|wall_shelf-0 (compact home kitchen)",
|
| 45 |
+
"volume": 0.0009774290859641051
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"object_a": "decorative jar-1|refrigerator-0 (compact home kitchen)",
|
| 49 |
+
"object_b": "small jar-0|wall_shelf-1 (compact home kitchen)",
|
| 50 |
+
"volume": 0.0010391514855491747
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"object_a": "glass jar-0|rolling_cart-0 (compact home kitchen)",
|
| 54 |
+
"object_b": "small jar-0|wall_shelf-0 (compact home kitchen)",
|
| 55 |
+
"volume": 0.0010451834743384313
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"object_a": "glass jar-0|rolling_cart-0 (compact home kitchen)",
|
| 59 |
+
"object_b": "small jar-0|wall_shelf-1 (compact home kitchen)",
|
| 60 |
+
"volume": 0.0009846313172265598
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"object_a": "small jar-0|wall_shelf-0 (compact home kitchen)",
|
| 64 |
+
"object_b": "small jar-0|wall_shelf-1 (compact home kitchen)",
|
| 65 |
+
"volume": 0.0009996033137593206
|
| 66 |
+
}
|
| 67 |
+
],
|
| 68 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone."
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"summary": {
|
| 72 |
+
"total_samples": 1,
|
| 73 |
+
"successful": 1,
|
| 74 |
+
"failed": 0,
|
| 75 |
+
"success_rate": 100.0,
|
| 76 |
+
"total_out_of_bounds_volume": 1.101909620334059,
|
| 77 |
+
"total_collision_volume": 0.009226840833102217,
|
| 78 |
+
"avg_out_of_bounds_volume": 1.101909620334059,
|
| 79 |
+
"avg_collision_volume": 0.009226840833102217
|
| 80 |
+
}
|
| 81 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_122720.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T12:15:16.735245",
|
| 3 |
+
"num_samples": 3,
|
| 4 |
+
"num_workers": 2,
|
| 5 |
+
"individual_results": [
|
| 6 |
+
{
|
| 7 |
+
"id": "scannet/scene0003_02:coarse",
|
| 8 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone.",
|
| 9 |
+
"success": true,
|
| 10 |
+
"out_of_bounds_volume": 0.7202403058757203,
|
| 11 |
+
"collision_volume": 0.009077259748639278,
|
| 12 |
+
"num_objects": 21,
|
| 13 |
+
"num_objects_processed": 20,
|
| 14 |
+
"error": null,
|
| 15 |
+
"failed_objects": [
|
| 16 |
+
{
|
| 17 |
+
"id": "trash_bin-0 (compact home kitchen)",
|
| 18 |
+
"asset_id": "bin_21",
|
| 19 |
+
"reason": "mesh_load_failed"
|
| 20 |
+
}
|
| 21 |
+
],
|
| 22 |
+
"collision_pairs": [
|
| 23 |
+
{
|
| 24 |
+
"object_a": "refrigerator-0 (compact home kitchen)",
|
| 25 |
+
"object_b": "basket-0|refrigerator-0 (compact home kitchen)",
|
| 26 |
+
"volume": 0.0008803609967163866
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"object_a": "stove_and_oven_unit-0 (compact home kitchen)",
|
| 30 |
+
"object_b": "pot with lid-0|stove_and_oven_unit-0 (compact home kitchen)",
|
| 31 |
+
"volume": 0.0026298773562342176
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"object_a": "microwave-0 (compact home kitchen)",
|
| 35 |
+
"object_b": "decorative jar-0|microwave-0 (compact home kitchen)",
|
| 36 |
+
"volume": 0.00012929480483280098
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"object_a": "microwave-0 (compact home kitchen)",
|
| 40 |
+
"object_b": "decorative jar-0|refrigerator-0 (compact home kitchen)",
|
| 41 |
+
"volume": 0.00013485587170733
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"object_a": "decorative jar-0|microwave-0 (compact home kitchen)",
|
| 45 |
+
"object_b": "decorative jar-0|refrigerator-0 (compact home kitchen)",
|
| 46 |
+
"volume": 0.005302870719148542
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"id": "scannet/scene0005_01:fine",
|
| 52 |
+
"prompt": "Study layout with circulation running diagonally from the door toward the central gap between the two main desks. The curved workstation, executive desk, and bench are spaced so a clear walking path connects the entrance with each zone. Chairs are oriented so they can pivot between desk work and conversation.",
|
| 53 |
+
"success": true,
|
| 54 |
+
"out_of_bounds_volume": 0.9050602106538868,
|
| 55 |
+
"collision_volume": 0.005124490301960695,
|
| 56 |
+
"num_objects": 29,
|
| 57 |
+
"num_objects_processed": 29,
|
| 58 |
+
"error": null,
|
| 59 |
+
"failed_objects": [],
|
| 60 |
+
"collision_pairs": [
|
| 61 |
+
{
|
| 62 |
+
"object_a": "executive_desk-0 (study)",
|
| 63 |
+
"object_b": "document tray-0|executive_desk-0 (study)",
|
| 64 |
+
"volume": 0.00022536028668073937
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"object_a": "storage_cabinet-0 (study)",
|
| 68 |
+
"object_b": "stack of paper-1|storage_cabinet-0 (study)",
|
| 69 |
+
"volume": 0.0003482847446166591
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"object_a": "side_table-1 (study)",
|
| 73 |
+
"object_b": "coaster-0|side_table-1 (study)",
|
| 74 |
+
"volume": 1.622272171840107e-05
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"object_a": "side_table-1 (study)",
|
| 78 |
+
"object_b": "coaster-1|side_table-1 (study)",
|
| 79 |
+
"volume": 1.9478573116279605e-05
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"object_a": "wall_shelf-0 (study)",
|
| 83 |
+
"object_b": "book-2|wall_shelf-0 (study)",
|
| 84 |
+
"volume": 0.0003147838040009321
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"object_a": "book-0|side_table-0 (study)",
|
| 88 |
+
"object_b": "book-0|wall_shelf-0 (study)",
|
| 89 |
+
"volume": 0.0001453695485669837
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"object_a": "book-0|side_table-0 (study)",
|
| 93 |
+
"object_b": "book-0|wall_shelf-1 (study)",
|
| 94 |
+
"volume": 9.34382197055088e-05
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"object_a": "book-0|side_table-0 (study)",
|
| 98 |
+
"object_b": "book-1|wall_shelf-2 (study)",
|
| 99 |
+
"volume": 0.00034365642287623334
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"object_a": "coaster-0|side_table-1 (study)",
|
| 103 |
+
"object_b": "coaster-1|side_table-1 (study)",
|
| 104 |
+
"volume": 5.9825650331264735e-05
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"object_a": "book-0|wall_shelf-0 (study)",
|
| 108 |
+
"object_b": "book-0|wall_shelf-1 (study)",
|
| 109 |
+
"volume": 0.00017506428319034428
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"object_a": "book-0|wall_shelf-0 (study)",
|
| 113 |
+
"object_b": "book-1|wall_shelf-2 (study)",
|
| 114 |
+
"volume": 0.0002019097968876122
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"object_a": "book-2|wall_shelf-1 (study)",
|
| 118 |
+
"object_b": "book-2|wall_shelf-2 (study)",
|
| 119 |
+
"volume": 0.003084131793961507
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"object_a": "book-0|wall_shelf-1 (study)",
|
| 123 |
+
"object_b": "book-1|wall_shelf-2 (study)",
|
| 124 |
+
"volume": 9.696445630822976e-05
|
| 125 |
+
}
|
| 126 |
+
]
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"id": "scannet/scene0013_01:fine",
|
| 130 |
+
"prompt": "A compact collaboration zone that centers on a large white coffee table as a shared work surface. Position a bean bag on one corner of the arrangement for lounging, with a black armchair and a wooden sling chair forming the other sides of a loose square, and a swivel chair closing the circle. Maintain a simple, modern palette with a single sheet or packet of paper resting near the center of the table.",
|
| 131 |
+
"success": true,
|
| 132 |
+
"out_of_bounds_volume": 0.5260766971635265,
|
| 133 |
+
"collision_volume": 0.0032107067172957113,
|
| 134 |
+
"num_objects": 28,
|
| 135 |
+
"num_objects_processed": 26,
|
| 136 |
+
"error": null,
|
| 137 |
+
"failed_objects": [
|
| 138 |
+
{
|
| 139 |
+
"id": "coffee_table-0 (collaboration zone)",
|
| 140 |
+
"asset_id": "Coffee_Table_221_1",
|
| 141 |
+
"reason": "mesh_load_failed"
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"id": "small potted plant-1|coffee_table-0 (collaboration zone)",
|
| 145 |
+
"asset_id": "Houseplant_18",
|
| 146 |
+
"reason": "mesh_load_failed"
|
| 147 |
+
}
|
| 148 |
+
],
|
| 149 |
+
"collision_pairs": [
|
| 150 |
+
{
|
| 151 |
+
"object_a": "side_table-0 (collaboration zone)",
|
| 152 |
+
"object_b": "notebook-0|side_table-0 (collaboration zone)",
|
| 153 |
+
"volume": 0.0004373703228822327
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"object_a": "side_table-0 (collaboration zone)",
|
| 157 |
+
"object_b": "notebook-0|side_table-1 (collaboration zone)",
|
| 158 |
+
"volume": 0.0004920416132425117
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"object_a": "ottoman-0 (collaboration zone)",
|
| 162 |
+
"object_b": "magazine-1|ottoman-0 (collaboration zone)",
|
| 163 |
+
"volume": 0.00019287714759296854
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"object_a": "wall_shelf-0 (collaboration zone)",
|
| 167 |
+
"object_b": "framed photo-1|wall_shelf-0 (collaboration zone)",
|
| 168 |
+
"volume": 3.6686959760435366e-05
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"object_a": "book-0|coffee_table-0 (collaboration zone)",
|
| 172 |
+
"object_b": "coffee mug-0|coffee_table-0 (collaboration zone)",
|
| 173 |
+
"volume": 3.423914037810465e-06
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"object_a": "book-1|coffee_table-0 (collaboration zone)",
|
| 177 |
+
"object_b": "coffee mug-1|coffee_table-0 (collaboration zone)",
|
| 178 |
+
"volume": 7.662479604853592e-06
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"object_a": "book-1|coffee_table-0 (collaboration zone)",
|
| 182 |
+
"object_b": "book-0|bookshelf-0 (collaboration zone)",
|
| 183 |
+
"volume": 0.00013839174715333754
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"object_a": "coffee mug-1|coffee_table-0 (collaboration zone)",
|
| 187 |
+
"object_b": "book-0|bookshelf-0 (collaboration zone)",
|
| 188 |
+
"volume": 9.926447264393119e-06
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"object_a": "notebook-0|side_table-0 (collaboration zone)",
|
| 192 |
+
"object_b": "notebook-0|side_table-1 (collaboration zone)",
|
| 193 |
+
"volume": 0.0018923260857571685
|
| 194 |
+
}
|
| 195 |
+
]
|
| 196 |
+
}
|
| 197 |
+
],
|
| 198 |
+
"summary": {
|
| 199 |
+
"total_samples": 3,
|
| 200 |
+
"successful": 3,
|
| 201 |
+
"failed": 0,
|
| 202 |
+
"success_rate": 100.0,
|
| 203 |
+
"total_out_of_bounds_volume": 2.1513772136931335,
|
| 204 |
+
"total_collision_volume": 0.017412456767895684,
|
| 205 |
+
"avg_out_of_bounds_volume": 0.7171257378977112,
|
| 206 |
+
"avg_collision_volume": 0.005804152255965228
|
| 207 |
+
}
|
| 208 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_140603.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_151918.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T15:03:36.087109",
|
| 3 |
+
"num_samples": 2,
|
| 4 |
+
"num_workers": 1,
|
| 5 |
+
"individual_results": [
|
| 6 |
+
{
|
| 7 |
+
"id": "scannet/scene0003_02:coarse",
|
| 8 |
+
"success": true,
|
| 9 |
+
"out_of_bounds_volume": 1.7418448751751856,
|
| 10 |
+
"collision_volume": 0.001604383531253967,
|
| 11 |
+
"num_objects": 24,
|
| 12 |
+
"num_objects_processed": 22,
|
| 13 |
+
"error": null,
|
| 14 |
+
"failed_objects": [
|
| 15 |
+
{
|
| 16 |
+
"id": "rolling_cart-0 (compact home kitchen)",
|
| 17 |
+
"asset_id": "Side_Table_401_1",
|
| 18 |
+
"reason": "mesh_load_failed"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"id": "trash_bin-0 (compact home kitchen)",
|
| 22 |
+
"asset_id": "bin_21",
|
| 23 |
+
"reason": "mesh_load_failed"
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"collision_pairs": [
|
| 27 |
+
{
|
| 28 |
+
"object_a": "refrigerator-0 (compact home kitchen)",
|
| 29 |
+
"object_b": "wall_cabinet-1 (compact home kitchen)",
|
| 30 |
+
"volume": 6.178924577459264e-08
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"object_a": "pantry_cabinet-0 (compact home kitchen)",
|
| 34 |
+
"object_b": "jar of cookies-0|pantry_cabinet-0 (compact home kitchen)",
|
| 35 |
+
"volume": 8.336265022864905e-05
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"object_a": "pantry_cabinet-0 (compact home kitchen)",
|
| 39 |
+
"object_b": "jar of pasta-0|wall_shelf-1 (compact home kitchen)",
|
| 40 |
+
"volume": 8.263913463964502e-05
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"object_a": "pantry_cabinet-0 (compact home kitchen)",
|
| 44 |
+
"object_b": "jar of pasta-1|wall_shelf-1 (compact home kitchen)",
|
| 45 |
+
"volume": 8.235973697568602e-05
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"object_a": "wall_shelf-2 (compact home kitchen)",
|
| 49 |
+
"object_b": "decorative plate-2|wall_shelf-2 (compact home kitchen)",
|
| 50 |
+
"volume": 6.234662294948495e-05
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"object_a": "jar of cookies-0|pantry_cabinet-0 (compact home kitchen)",
|
| 54 |
+
"object_b": "jar of pasta-0|wall_shelf-1 (compact home kitchen)",
|
| 55 |
+
"volume": 0.00043108253361481575
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"object_a": "jar of cookies-0|pantry_cabinet-0 (compact home kitchen)",
|
| 59 |
+
"object_b": "jar of pasta-1|wall_shelf-1 (compact home kitchen)",
|
| 60 |
+
"volume": 0.0004387527806159273
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"object_a": "jar of pasta-0|wall_shelf-1 (compact home kitchen)",
|
| 64 |
+
"object_b": "jar of pasta-1|wall_shelf-1 (compact home kitchen)",
|
| 65 |
+
"volume": 0.00042377828298398437
|
| 66 |
+
}
|
| 67 |
+
],
|
| 68 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone."
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"id": "scannet/scene0005_01:fine",
|
| 72 |
+
"success": true,
|
| 73 |
+
"out_of_bounds_volume": 0.5177736499256494,
|
| 74 |
+
"collision_volume": 0.0004884548038244032,
|
| 75 |
+
"num_objects": 21,
|
| 76 |
+
"num_objects_processed": 21,
|
| 77 |
+
"error": null,
|
| 78 |
+
"failed_objects": [],
|
| 79 |
+
"collision_pairs": [
|
| 80 |
+
{
|
| 81 |
+
"object_a": "bookshelf-0 (study)",
|
| 82 |
+
"object_b": "decorative vase-1|bookshelf-0 (study)",
|
| 83 |
+
"volume": 0.00018876030670106445
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"object_a": "curved_workstation-0 (study)",
|
| 87 |
+
"object_b": "wall_shelf-0 (study)",
|
| 88 |
+
"volume": 6.839917193124254e-05
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"object_a": "small plant-0|wall_shelf-1 (study)",
|
| 92 |
+
"object_b": "small plant-1|wall_shelf-2 (study)",
|
| 93 |
+
"volume": 0.00023129532519209627
|
| 94 |
+
}
|
| 95 |
+
],
|
| 96 |
+
"prompt": "Study layout with circulation running diagonally from the door toward the central gap between the two main desks. The curved workstation, executive desk, and bench are spaced so a clear walking path connects the entrance with each zone. Chairs are oriented so they can pivot between desk work and conversation."
|
| 97 |
+
}
|
| 98 |
+
],
|
| 99 |
+
"summary": {
|
| 100 |
+
"total_samples": 2,
|
| 101 |
+
"successful": 2,
|
| 102 |
+
"failed": 0,
|
| 103 |
+
"success_rate": 100.0,
|
| 104 |
+
"total_out_of_bounds_volume": 2.259618525100835,
|
| 105 |
+
"total_collision_volume": 0.00209283833507837,
|
| 106 |
+
"avg_out_of_bounds_volume": 1.1298092625504175,
|
| 107 |
+
"avg_collision_volume": 0.001046419167539185
|
| 108 |
+
}
|
| 109 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_155907.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T15:53:45.028516",
|
| 3 |
+
"num_samples": 1,
|
| 4 |
+
"num_workers": 1,
|
| 5 |
+
"individual_results": [
|
| 6 |
+
{
|
| 7 |
+
"id": "scannet/scene0003_02:coarse",
|
| 8 |
+
"success": true,
|
| 9 |
+
"out_of_bounds_volume": 1.158564706133127,
|
| 10 |
+
"collision_volume": 0.0030910420485803763,
|
| 11 |
+
"num_objects": 23,
|
| 12 |
+
"num_objects_processed": 23,
|
| 13 |
+
"error": null,
|
| 14 |
+
"failed_objects": [],
|
| 15 |
+
"collision_pairs": [
|
| 16 |
+
{
|
| 17 |
+
"object_a": "kitchen_island-0 (compact home kitchen)",
|
| 18 |
+
"object_b": "fruit bowl-0|kitchen_island-0 (compact home kitchen)",
|
| 19 |
+
"volume": 0.001956357072226966
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"object_a": "wall-mounted_shelf-1 (compact home kitchen)",
|
| 23 |
+
"object_b": "small plant-0|wall-mounted_shelf-1 (compact home kitchen)",
|
| 24 |
+
"volume": 1.4455957824506063e-05
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"object_a": "placemat-2|dining_table-0 (compact home kitchen)",
|
| 28 |
+
"object_b": "cookbook-0|wall-mounted_shelf-0 (compact home kitchen)",
|
| 29 |
+
"volume": 0.0011202290185289045
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone."
|
| 33 |
+
}
|
| 34 |
+
],
|
| 35 |
+
"summary": {
|
| 36 |
+
"total_samples": 1,
|
| 37 |
+
"successful": 1,
|
| 38 |
+
"failed": 0,
|
| 39 |
+
"success_rate": 100.0,
|
| 40 |
+
"total_out_of_bounds_volume": 1.158564706133127,
|
| 41 |
+
"total_collision_volume": 0.0030910420485803763,
|
| 42 |
+
"avg_out_of_bounds_volume": 1.158564706133127,
|
| 43 |
+
"avg_collision_volume": 0.0030910420485803763
|
| 44 |
+
}
|
| 45 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251223_190818.json
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp": "2025-12-23T18:38:55.343624",
|
| 3 |
+
"num_samples": 5,
|
| 4 |
+
"num_workers": 1,
|
| 5 |
+
"individual_results": [
|
| 6 |
+
{
|
| 7 |
+
"id": "scannet/scene0003_02:coarse",
|
| 8 |
+
"success": true,
|
| 9 |
+
"out_of_bounds_volume": 0.5296685566167446,
|
| 10 |
+
"collision_volume": 0.0023254533229389984,
|
| 11 |
+
"num_objects": 17,
|
| 12 |
+
"num_objects_processed": 17,
|
| 13 |
+
"error": null,
|
| 14 |
+
"failed_objects": [],
|
| 15 |
+
"collision_pairs": [
|
| 16 |
+
{
|
| 17 |
+
"object_a": "kitchen_counter-0 (compact home kitchen)",
|
| 18 |
+
"object_b": "cutting board-0|kitchen_counter-0 (compact home kitchen)",
|
| 19 |
+
"volume": 0.0010878474663969582
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"object_a": "pantry_cabinet-0 (compact home kitchen)",
|
| 23 |
+
"object_b": "storage jars-0|pantry_cabinet-0 (compact home kitchen)",
|
| 24 |
+
"volume": 0.0002900016623149389
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"object_a": "kitchen_island-0 (compact home kitchen)",
|
| 28 |
+
"object_b": "rolling pin-0|kitchen_island-0 (compact home kitchen)",
|
| 29 |
+
"volume": 0.0009476041942271014
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"prompt": "Compact home kitchen featuring a clearly defined entry and utility strip separated from the main cooking zone."
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"id": "scannet/scene0005_01:fine",
|
| 36 |
+
"success": true,
|
| 37 |
+
"out_of_bounds_volume": 0.6747306789094204,
|
| 38 |
+
"collision_volume": 0.014299219732617866,
|
| 39 |
+
"num_objects": 20,
|
| 40 |
+
"num_objects_processed": 20,
|
| 41 |
+
"error": null,
|
| 42 |
+
"failed_objects": [],
|
| 43 |
+
"collision_pairs": [
|
| 44 |
+
{
|
| 45 |
+
"object_a": "curved_workstation-0 (study)",
|
| 46 |
+
"object_b": "notebook-2|curved_workstation-0 (study)",
|
| 47 |
+
"volume": 0.00010712051501169597
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"object_a": "executive_desk-0 (study)",
|
| 51 |
+
"object_b": "keyboard-0|executive_desk-0 (study)",
|
| 52 |
+
"volume": 0.0011212195838570748
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"object_a": "bookshelf-0 (study)",
|
| 56 |
+
"object_b": "photo frame-1|bookshelf-0 (study)",
|
| 57 |
+
"volume": 0.0014800206283327943
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"object_a": "bookshelf-0 (study)",
|
| 61 |
+
"object_b": "photo frame-2|bookshelf-1 (study)",
|
| 62 |
+
"volume": 0.0013813525864439416
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"object_a": "storage_cabinet-0 (study)",
|
| 66 |
+
"object_b": "stack of paper-0|storage_cabinet-0 (study)",
|
| 67 |
+
"volume": 0.0004222369316008335
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"object_a": "bench-0 (study)",
|
| 71 |
+
"object_b": "throw pillow-1|bench-0 (study)",
|
| 72 |
+
"volume": 0.002153835878455635
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"object_a": "wall_shelf-0 (study)",
|
| 76 |
+
"object_b": "book-1|wall_shelf-0 (study)",
|
| 77 |
+
"volume": 0.0003110363777628252
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"object_a": "wall_shelf-1 (study)",
|
| 81 |
+
"object_b": "book-2|wall_shelf-1 (study)",
|
| 82 |
+
"volume": 0.00029229924657229404
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"object_a": "photo frame-1|bookshelf-0 (study)",
|
| 86 |
+
"object_b": "photo frame-2|bookshelf-1 (study)",
|
| 87 |
+
"volume": 0.007030097984580773
|
| 88 |
+
}
|
| 89 |
+
],
|
| 90 |
+
"prompt": "Study layout with circulation running diagonally from the door toward the central gap between the two main desks. The curved workstation, executive desk, and bench are spaced so a clear walking path connects the entrance with each zone. Chairs are oriented so they can pivot between desk work and conversation."
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"id": "scannet/scene0013_01:fine",
|
| 94 |
+
"success": true,
|
| 95 |
+
"out_of_bounds_volume": 0.6250310409006989,
|
| 96 |
+
"collision_volume": 0.0007026338584083286,
|
| 97 |
+
"num_objects": 21,
|
| 98 |
+
"num_objects_processed": 21,
|
| 99 |
+
"error": null,
|
| 100 |
+
"failed_objects": [],
|
| 101 |
+
"collision_pairs": [
|
| 102 |
+
{
|
| 103 |
+
"object_a": "bookshelf-0 (collaboration zone)",
|
| 104 |
+
"object_b": "photo frame-1|bookshelf-0 (collaboration zone)",
|
| 105 |
+
"volume": 7.608173068287283e-05
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"object_a": "bookshelf-0 (collaboration zone)",
|
| 109 |
+
"object_b": "photo frame-0|wall_shelf-1 (collaboration zone)",
|
| 110 |
+
"volume": 0.00010272539309923252
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"object_a": "ottoman-0 (collaboration zone)",
|
| 114 |
+
"object_b": "magazine-1|ottoman-0 (collaboration zone)",
|
| 115 |
+
"volume": 4.0582985046410446e-05
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"object_a": "photo frame-1|bookshelf-0 (collaboration zone)",
|
| 119 |
+
"object_b": "photo frame-0|wall_shelf-1 (collaboration zone)",
|
| 120 |
+
"volume": 6.402097266913825e-05
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"object_a": "small plant-0|wall_shelf-0 (collaboration zone)",
|
| 124 |
+
"object_b": "small plant-0|wall_shelf-1 (collaboration zone)",
|
| 125 |
+
"volume": 0.00041922277691067465
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"prompt": "A compact collaboration zone that centers on a large white coffee table as a shared work surface. Position a bean bag on one corner of the arrangement for lounging, with a black armchair and a wooden sling chair forming the other sides of a loose square, and a swivel chair closing the circle. Maintain a simple, modern palette with a single sheet or packet of paper resting near the center of the table."
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"id": "scannet/scene0017_00:coarse",
|
| 132 |
+
"success": true,
|
| 133 |
+
"out_of_bounds_volume": 1.0334932955903897,
|
| 134 |
+
"collision_volume": 0.0011841988774989422,
|
| 135 |
+
"num_objects": 30,
|
| 136 |
+
"num_objects_processed": 30,
|
| 137 |
+
"error": null,
|
| 138 |
+
"failed_objects": [],
|
| 139 |
+
"collision_pairs": [
|
| 140 |
+
{
|
| 141 |
+
"object_a": "storage_cabinet-0 (study room)",
|
| 142 |
+
"object_b": "decorative vase-0|storage_cabinet-0 (study room)",
|
| 143 |
+
"volume": 3.765722559908379e-05
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"object_a": "storage_trunk-0 (study room)",
|
| 147 |
+
"object_b": "candle holder-0|storage_trunk-0 (study room)",
|
| 148 |
+
"volume": 0.00027027122115857994
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"object_a": "desk-0 (study room)",
|
| 152 |
+
"object_b": "notebook-0|desk-0 (study room)",
|
| 153 |
+
"volume": 7.410030832737849e-05
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"object_a": "desk-0 (study room)",
|
| 157 |
+
"object_b": "tablet-0|desk-0 (study room)",
|
| 158 |
+
"volume": 2.40146839108068e-06
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"object_a": "notebook-2|desk-0 (study room)",
|
| 162 |
+
"object_b": "book-2|bookshelf-0 (study room)",
|
| 163 |
+
"volume": 0.0002694814646763439
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"object_a": "notebook-2|desk-0 (study room)",
|
| 167 |
+
"object_b": "book-1|bookshelf-1 (study room)",
|
| 168 |
+
"volume": 0.0002482638597450459
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"object_a": "book-2|bookshelf-0 (study room)",
|
| 172 |
+
"object_b": "book-1|bookshelf-1 (study room)",
|
| 173 |
+
"volume": 0.0002622952922849747
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"object_a": "coaster-0|side_table-0 (study room)",
|
| 177 |
+
"object_b": "coaster-1|side_table-0 (study room)",
|
| 178 |
+
"volume": 1.9728037316454903e-05
|
| 179 |
+
}
|
| 180 |
+
],
|
| 181 |
+
"prompt": "I need a study room where a freestanding blackboard visually separates the main workstation from the rest of the space without enclosing it."
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"id": "scannet/scene0027_00:medium",
|
| 185 |
+
"success": true,
|
| 186 |
+
"out_of_bounds_volume": 0.35998228654267156,
|
| 187 |
+
"collision_volume": 0.009305056171199219,
|
| 188 |
+
"num_objects": 19,
|
| 189 |
+
"num_objects_processed": 19,
|
| 190 |
+
"error": null,
|
| 191 |
+
"failed_objects": [],
|
| 192 |
+
"collision_pairs": [
|
| 193 |
+
{
|
| 194 |
+
"object_a": "sofa-0 (creative living and practice room)",
|
| 195 |
+
"object_b": "throw pillow-1|sofa-0 (creative living and practice room)",
|
| 196 |
+
"volume": 0.006641522895069374
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"object_a": "bookshelf-0 (creative living and practice room)",
|
| 200 |
+
"object_b": "book-2|bookshelf-0 (creative living and practice room)",
|
| 201 |
+
"volume": 0.00015692909174463388
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"object_a": "desk-0 (creative living and practice room)",
|
| 205 |
+
"object_b": "laptop-0|desk-0 (creative living and practice room)",
|
| 206 |
+
"volume": 0.002405789144218036
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"object_a": "storage_stand-0 (creative living and practice room)",
|
| 210 |
+
"object_b": "photo frame-1|storage_stand-0 (creative living and practice room)",
|
| 211 |
+
"volume": 0.00010081504016717341
|
| 212 |
+
}
|
| 213 |
+
],
|
| 214 |
+
"prompt": "Creative living and practice room featuring a piano, ergonomic office chair, and practical storage stands, accented by modern graphic prints."
|
| 215 |
+
}
|
| 216 |
+
],
|
| 217 |
+
"summary": {
|
| 218 |
+
"total_samples": 5,
|
| 219 |
+
"successful": 5,
|
| 220 |
+
"failed": 0,
|
| 221 |
+
"success_rate": 100.0,
|
| 222 |
+
"total_out_of_bounds_volume": 3.222905858559925,
|
| 223 |
+
"total_collision_volume": 0.027816561962663355,
|
| 224 |
+
"avg_out_of_bounds_volume": 0.6445811717119849,
|
| 225 |
+
"avg_collision_volume": 0.005563312392532671
|
| 226 |
+
}
|
| 227 |
+
}
|
eval/Holodeck/data/evaluation/evaluation_results_20251224_215209.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/Holodeck/data/evaluation_layout_bench/gpt_eval_results.json
ADDED
|
@@ -0,0 +1,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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"summary": {
|
| 3 |
+
"total_samples": 22,
|
| 4 |
+
"successful_evaluations": 22,
|
| 5 |
+
"failed_evaluations": 0,
|
| 6 |
+
"avg_scores": {
|
| 7 |
+
"aesthetic_harmony": 3.6363636363636362,
|
| 8 |
+
"lived_in_realism": 2.590909090909091,
|
| 9 |
+
"structural_orchestration": 2.9545454545454546,
|
| 10 |
+
"geometric_grounding": 4.136363636363637,
|
| 11 |
+
"semantic_fidelity": 2.9545454545454546,
|
| 12 |
+
"functional_affordance": 2.772727272727273
|
| 13 |
+
},
|
| 14 |
+
"overall_avg_score": 3.1742424242424243
|
| 15 |
+
},
|
| 16 |
+
"results": [
|
| 17 |
+
{
|
| 18 |
+
"sample_name": "Visualize_a_technical_top-down-2025-12-29-08-13-59-316790",
|
| 19 |
+
"sample_path": "data/evaluation_layout_bench/Visualize_a_technical_top-down-2025-12-29-08-13-59-316790",
|
| 20 |
+
"prompt": "Visualize a technical top-down section of a rectangular open-plan bathroom where the long wall opposite the entry hosts the vanity and laundry appliances, while the shower zone and utility sink are aligned along the adjacent wall so that the simple box-like geometry supports a clear linear layout of wet, washing, and grooming functions without internal partitions.",
|
| 21 |
+
"evaluation": {
|
| 22 |
+
"perceptual": {
|
| 23 |
+
"aesthetic_harmony_score": 3,
|
| 24 |
+
"aesthetic_harmony_reason": "The scene lacks cohesive color coordination and style consistency; objects appear generic and disconnected, undermining overall visual appeal.",
|
| 25 |
+
"lived_in_realism_score": 2,
|
| 26 |
+
"lived_in_realism_reason": "The scene feels highly artificial with objects floating or misaligned and very sparse furnishing, making it implausible as a real lived-in bathroom."
|
| 27 |
+
},
|
| 28 |
+
"structural": {
|
| 29 |
+
"structural_orchestration_score": 2,
|
| 30 |
+
"structural_orchestration_reason": "Object arrangement appears random and scattered without clear groupings or logical layout; no distinct zones for wet, washing, or grooming functions are perceivable.",
|
| 31 |
+
"geometric_grounding_score": 1,
|
| 32 |
+
"geometric_grounding_reason": "Many objects are floating or not properly placed on floor or surfaces; significant geometric misalignments reduce the scene's grounding."
|
| 33 |
+
},
|
| 34 |
+
"semantic": {
|
| 35 |
+
"semantic_fidelity_score": 2,
|
| 36 |
+
"semantic_fidelity_reason": "The scene fails to clearly represent an open-plan bathroom or the required functional layout described — key elements like vanity, laundry appliances, shower, and utility sink are not distinguishable or correctly placed.",
|
| 37 |
+
"functional_affordance_score": 1,
|
| 38 |
+
"functional_affordance_reason": "Due to poor spatial logic and lack of realistic object placement, the scene is non-functional and would not support natural movement or use."
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene lacks cohesive color coordination and style consistency; objects appear generic and disconnected, undermining overall visual appeal.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene feels highly artificial with objects floating or misaligned and very sparse furnishing, making it implausible as a real lived-in bathroom.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"Object arrangement appears random and scattered without clear groupings or logical layout; no distinct zones for wet, washing, or grooming functions are perceivable.\",\n \"geometric_grounding_score\": 1,\n \"geometric_grounding_reason\": \"Many objects are floating or not properly placed on floor or surfaces; significant geometric misalignments reduce the scene's grounding.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 2,\n \"semantic_fidelity_reason\": \"The scene fails to clearly represent an open-plan bathroom or the required functional layout described — key elements like vanity, laundry appliances, shower, and utility sink are not distinguishable or correctly placed.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"Due to poor spatial logic and lack of realistic object placement, the scene is non-functional and would not support natural movement or use.\"\n }\n}\n```",
|
| 42 |
+
"error": null
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"sample_name": "Develop_a_single-space_layout_-2025-12-29-08-06-32-400514",
|
| 46 |
+
"sample_path": "data/evaluation_layout_bench/Develop_a_single-space_layout_-2025-12-29-08-06-32-400514",
|
| 47 |
+
"prompt": "Develop a single-space layout for a bathroom contained within a large, elongated rectangular perimeter where one corner is cut by a long diagonal wall segment, creating an irregular polygonal boundary that angles across the space.",
|
| 48 |
+
"evaluation": {
|
| 49 |
+
"perceptual": {
|
| 50 |
+
"aesthetic_harmony_score": 4,
|
| 51 |
+
"aesthetic_harmony_reason": "The scene shows a lack of cohesive style and the color palette is disjointed, with many different materials and furniture styles that do not blend well visually.",
|
| 52 |
+
"lived_in_realism_score": 3,
|
| 53 |
+
"lived_in_realism_reason": "Objects appear floating or misplaced, and the arrangement feels more like a display rather than a naturally used bathroom space."
|
| 54 |
+
},
|
| 55 |
+
"structural": {
|
| 56 |
+
"structural_orchestration_score": 2,
|
| 57 |
+
"structural_orchestration_reason": "Furniture and fixtures are scattered with no clear logical layout or grouping for a bathroom; no obvious pathways or functional zones are established.",
|
| 58 |
+
"geometric_grounding_score": 3,
|
| 59 |
+
"geometric_grounding_reason": "Several objects, such as the refrigerator and some cabinetry, are visibly floating, indicating poor grounding and placement on surfaces."
|
| 60 |
+
},
|
| 61 |
+
"semantic": {
|
| 62 |
+
"semantic_fidelity_score": 3,
|
| 63 |
+
"semantic_fidelity_reason": "The shape of the room matches the irregular polygonal boundary with a diagonal wall segment, but the scene lacks many typical bathroom elements and the overall look does not convincingly represent a bathroom.",
|
| 64 |
+
"functional_affordance_score": 2,
|
| 65 |
+
"functional_affordance_reason": "Due to scattered and floating furniture, the space is not functional as a bathroom; lacks accessible fixtures and clear user pathways."
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 4,\n \"aesthetic_harmony_reason\": \"The scene shows a lack of cohesive style and the color palette is disjointed, with many different materials and furniture styles that do not blend well visually.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"Objects appear floating or misplaced, and the arrangement feels more like a display rather than a naturally used bathroom space.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"Furniture and fixtures are scattered with no clear logical layout or grouping for a bathroom; no obvious pathways or functional zones are established.\",\n \"geometric_grounding_score\": 3,\n \"geometric_grounding_reason\": \"Several objects, such as the refrigerator and some cabinetry, are visibly floating, indicating poor grounding and placement on surfaces.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 3,\n \"semantic_fidelity_reason\": \"The shape of the room matches the irregular polygonal boundary with a diagonal wall segment, but the scene lacks many typical bathroom elements and the overall look does not convincingly represent a bathroom.\",\n \"functional_affordance_score\": 2,\n \"functional_affordance_reason\": \"Due to scattered and floating furniture, the space is not functional as a bathroom; lacks accessible fixtures and clear user pathways.\"\n }\n}\n```",
|
| 69 |
+
"error": null
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"sample_name": "Fitting_within_this_specific_f-2025-12-29-07-54-26-282479",
|
| 73 |
+
"sample_path": "data/evaluation_layout_bench/Fitting_within_this_specific_f-2025-12-29-07-54-26-282479",
|
| 74 |
+
"prompt": "Fitting within this specific floor outline, create a bathroom that matches the asset layout shown, with a freestanding bathtub in the center, one built-in bathtub in a tiled nook, one enclosed shower area, two wall-mounted vanities with sinks and mirrors, one toilet with a nearby waste bin, several wall-mounted towel holders and lamps, three rugs, and multiple potted and built-in planter greenery along the perimeter, resulting in a medium-to-densely furnished space.",
|
| 75 |
+
"evaluation": {
|
| 76 |
+
"perceptual": {
|
| 77 |
+
"aesthetic_harmony_score": 4,
|
| 78 |
+
"aesthetic_harmony_reason": "The scene uses consistent neutral colors but appears blocky and minimalistic with little textural or stylistic detail, reducing visual appeal and cohesion.",
|
| 79 |
+
"lived_in_realism_score": 3,
|
| 80 |
+
"lived_in_realism_reason": "The scene lacks realistic detail and materiality in objects. The simplistic block shapes and absence of finer details do not convincingly resemble a lived-in bathroom."
|
| 81 |
+
},
|
| 82 |
+
"structural": {
|
| 83 |
+
"structural_orchestration_score": 6,
|
| 84 |
+
"structural_orchestration_reason": "Object placements broadly follow logical spatial arrangements for a bathroom, with grouped elements and pathways, but the coarse block representation makes precise evaluation difficult.",
|
| 85 |
+
"geometric_grounding_score": 9,
|
| 86 |
+
"geometric_grounding_reason": "All objects appear properly grounded with no floating components and appropriate placements on floors and walls."
|
| 87 |
+
},
|
| 88 |
+
"semantic": {
|
| 89 |
+
"semantic_fidelity_score": 7,
|
| 90 |
+
"semantic_fidelity_reason": "The scene contains the main requested elements — a freestanding bathtub centrally placed, a built-in bathtub in a nook, shower area, twin vanities, toilet, and greenery along the perimeter — but lacks clear wall-mounted towel holders, lamps, and exactly three rugs.",
|
| 91 |
+
"functional_affordance_score": 6,
|
| 92 |
+
"functional_affordance_reason": "While the layout allows for circulation, the minimalist block shapes leave ambiguity about usability and access to fixtures, and the cluttered perimeter greenery may hinder mobility."
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 4,\n \"aesthetic_harmony_reason\": \"The scene uses consistent neutral colors but appears blocky and minimalistic with little textural or stylistic detail, reducing visual appeal and cohesion.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"The scene lacks realistic detail and materiality in objects. The simplistic block shapes and absence of finer details do not convincingly resemble a lived-in bathroom.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 6,\n \"structural_orchestration_reason\": \"Object placements broadly follow logical spatial arrangements for a bathroom, with grouped elements and pathways, but the coarse block representation makes precise evaluation difficult.\",\n \"geometric_grounding_score\": 9,\n \"geometric_grounding_reason\": \"All objects appear properly grounded with no floating components and appropriate placements on floors and walls.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 7,\n \"semantic_fidelity_reason\": \"The scene contains the main requested elements — a freestanding bathtub centrally placed, a built-in bathtub in a nook, shower area, twin vanities, toilet, and greenery along the perimeter — but lacks clear wall-mounted towel holders, lamps, and exactly three rugs.\",\n \"functional_affordance_score\": 6,\n \"functional_affordance_reason\": \"While the layout allows for circulation, the minimalist block shapes leave ambiguity about usability and access to fixtures, and the cluttered perimeter greenery may hinder mobility.\"\n }\n}\n```",
|
| 96 |
+
"error": null
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"sample_name": "A_clean_line-drawing_showing_t-2025-12-29-07-02-30-389325",
|
| 100 |
+
"sample_path": "data/evaluation_layout_bench/A_clean_line-drawing_showing_t-2025-12-29-07-02-30-389325",
|
| 101 |
+
"prompt": "A clean line-drawing showing the arrangement of a rectangular open-plan bathroom where the entry steps lead into a single continuous space fitted with a double-sink vanity and mirrors along one long wall, a toilet and bidet set against the back wall beside a slim storage table, a lounge chair and towel stand occupying the opposite corner, and numerous potted plants distributed around the perimeter to soften the simple box-like geometry.",
|
| 102 |
+
"evaluation": {
|
| 103 |
+
"perceptual": {
|
| 104 |
+
"aesthetic_harmony_score": 3,
|
| 105 |
+
"aesthetic_harmony_reason": "The scene lacks visual cohesion and style consistency, appearing more as a sparse block model than a clean line drawing of a bathroom. Colors and materials do not blend harmoniously, and there is little sense of a refined aesthetic.",
|
| 106 |
+
"lived_in_realism_score": 2,
|
| 107 |
+
"lived_in_realism_reason": "The space does not evoke a believable or realistic bathroom. The objects are minimal and abstract, with some items that do not clearly resemble bathroom fixtures or furniture. Overall, it doesn’t look like a natural or lived-in space."
|
| 108 |
+
},
|
| 109 |
+
"structural": {
|
| 110 |
+
"structural_orchestration_score": 4,
|
| 111 |
+
"structural_orchestration_reason": "Basic spatial relationships partially match the instruction (e.g. vanity along one wall, toilet set against back wall), but placements feel disjointed and lack logic or functional grouping characteristic of bathrooms.",
|
| 112 |
+
"geometric_grounding_score": 7,
|
| 113 |
+
"geometric_grounding_reason": "All objects appear to be placed on the floor or walls without floating or sinking issues. Heights and positioning are generally appropriate with no evident geometric placement errors."
|
| 114 |
+
},
|
| 115 |
+
"semantic": {
|
| 116 |
+
"semantic_fidelity_score": 3,
|
| 117 |
+
"semantic_fidelity_reason": "The scene only roughly matches the user’s textual description. While a vanity, toilet, and some furniture are present, key requested elements like the double-sink vanity with mirrors, bidet, slim storage table, lounge chair, towel stand, and numerous potted plants are either missing, unclear, or only partially represented.",
|
| 118 |
+
"functional_affordance_score": 3,
|
| 119 |
+
"functional_affordance_reason": "The layout does not clearly support usability or passage. It is hard to confirm walk-through space or accessible, usable object placement from the images. The arrangement does not function well as a bathroom space."
|
| 120 |
+
}
|
| 121 |
+
},
|
| 122 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene lacks visual cohesion and style consistency, appearing more as a sparse block model than a clean line drawing of a bathroom. Colors and materials do not blend harmoniously, and there is little sense of a refined aesthetic.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The space does not evoke a believable or realistic bathroom. The objects are minimal and abstract, with some items that do not clearly resemble bathroom fixtures or furniture. Overall, it doesn’t look like a natural or lived-in space.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 4,\n \"structural_orchestration_reason\": \"Basic spatial relationships partially match the instruction (e.g. vanity along one wall, toilet set against back wall), but placements feel disjointed and lack logic or functional grouping characteristic of bathrooms.\",\n \"geometric_grounding_score\": 7,\n \"geometric_grounding_reason\": \"All objects appear to be placed on the floor or walls without floating or sinking issues. Heights and positioning are generally appropriate with no evident geometric placement errors.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 3,\n \"semantic_fidelity_reason\": \"The scene only roughly matches the user’s textual description. While a vanity, toilet, and some furniture are present, key requested elements like the double-sink vanity with mirrors, bidet, slim storage table, lounge chair, towel stand, and numerous potted plants are either missing, unclear, or only partially represented.\",\n \"functional_affordance_score\": 3,\n \"functional_affordance_reason\": \"The layout does not clearly support usability or passage. It is hard to confirm walk-through space or accessible, usable object placement from the images. The arrangement does not function well as a bathroom space.\"\n }\n}\n```",
|
| 123 |
+
"error": null
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"sample_name": "I_want_to_see_a_layout_for_a_b-2025-12-29-07-27-07-320313",
|
| 127 |
+
"sample_path": "data/evaluation_layout_bench/I_want_to_see_a_layout_for_a_b-2025-12-29-07-27-07-320313",
|
| 128 |
+
"prompt": "I want to see a layout for a bathroom that’s one continuous room shaped like a wide rectangle with a slight notch around the central toilet area, where the left side forms a vanity and grooming zone with a large illuminated mirror, countertop sink, under-sink cabinet, and small decor items and plants, the middle top and center are used for the toilet zone with storage shelves, side table, toilet brush, bin, and accessories, and the large right side is an open walk-in shower area with a wall-mounted rain shower, handheld shower, linear drain, towel hooks, and floor-to-ceiling tiles, plus plants and small storage nooks placed along the perimeter so all these functional zones flow together without any internal walls.",
|
| 129 |
+
"evaluation": {
|
| 130 |
+
"perceptual": {
|
| 131 |
+
"aesthetic_harmony_score": 2,
|
| 132 |
+
"aesthetic_harmony_reason": "The scene lacks cohesive color coordination and style consistency; materials and object appearances seem generic and disconnected, reducing overall visual appeal.",
|
| 133 |
+
"lived_in_realism_score": 2,
|
| 134 |
+
"lived_in_realism_reason": "The room looks sparse with many items floating or improperly placed, and the arrangement does not look like a believable, functional bathroom space."
|
| 135 |
+
},
|
| 136 |
+
"structural": {
|
| 137 |
+
"structural_orchestration_score": 1,
|
| 138 |
+
"structural_orchestration_reason": "Objects are scattered with no clear zoning for vanity, toilet, or shower areas; inadequate layout logic and absence of distinct pathways or functional groupings.",
|
| 139 |
+
"geometric_grounding_score": 1,
|
| 140 |
+
"geometric_grounding_reason": "Many objects appear to float above the floor or walls due to missing geometry; key bathroom fixtures (sink, toilet, shower) are not positioned with realistic height or grounding."
|
| 141 |
+
},
|
| 142 |
+
"semantic": {
|
| 143 |
+
"semantic_fidelity_score": 1,
|
| 144 |
+
"semantic_fidelity_reason": "The scene does not reflect the user's detailed request: the specified zones (left vanity, middle toilet with notch, large open shower with specified fixtures) are missing or unrecognizable.",
|
| 145 |
+
"functional_affordance_score": 1,
|
| 146 |
+
"functional_affordance_reason": "The layout is not functional as a bathroom: no accessible or usable vanity, toilet, or shower area; objects lack placement for practical use and walking through."
|
| 147 |
+
}
|
| 148 |
+
},
|
| 149 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 2,\n \"aesthetic_harmony_reason\": \"The scene lacks cohesive color coordination and style consistency; materials and object appearances seem generic and disconnected, reducing overall visual appeal.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The room looks sparse with many items floating or improperly placed, and the arrangement does not look like a believable, functional bathroom space.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 1,\n \"structural_orchestration_reason\": \"Objects are scattered with no clear zoning for vanity, toilet, or shower areas; inadequate layout logic and absence of distinct pathways or functional groupings.\",\n \"geometric_grounding_score\": 1,\n \"geometric_grounding_reason\": \"Many objects appear to float above the floor or walls due to missing geometry; key bathroom fixtures (sink, toilet, shower) are not positioned with realistic height or grounding.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 1,\n \"semantic_fidelity_reason\": \"The scene does not reflect the user's detailed request: the specified zones (left vanity, middle toilet with notch, large open shower with specified fixtures) are missing or unrecognizable.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"The layout is not functional as a bathroom: no accessible or usable vanity, toilet, or shower area; objects lack placement for practical use and walking through.\"\n }\n}\n```",
|
| 150 |
+
"error": null
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"sample_name": "Draft_a_layout_with_no_partiti-2025-12-29-08-12-28-590801",
|
| 154 |
+
"sample_path": "data/evaluation_layout_bench/Draft_a_layout_with_no_partiti-2025-12-29-08-12-28-590801",
|
| 155 |
+
"prompt": "Draft a layout with no partitions for a bathroom that matches this elongated rectangular floor plan, placing a central vanity and mirror with a toilet and small storage unit aligned below it along one long wall, while the opposite long side is dedicated to a spacious open shower area that transitions from a plain-tiled zone with a wall-mounted rain shower into a slightly raised, grid-tiled wet zone with a second shower and window, and the remaining end of the room is densely furnished with built-in cabinetry, shelving, and utility fixtures (including washer/dryer and sink-like elements) arranged to form clear grooming, toilet, showering, and utility zones entirely within one continuous open volume.",
|
| 156 |
+
"evaluation": {
|
| 157 |
+
"perceptual": {
|
| 158 |
+
"aesthetic_harmony_score": 4,
|
| 159 |
+
"aesthetic_harmony_reason": "The scene uses a limited and muted color palette but lacks refinement and detail, resulting in a somewhat stark, unfinished look that reduces overall visual appeal and cohesion.",
|
| 160 |
+
"lived_in_realism_score": 3,
|
| 161 |
+
"lived_in_realism_reason": "The space feels more like a rough draft or schematic than a lived-in bathroom, with oversized or misplaced furniture elements and no nuanced details or textures that contribute to a natural, believable environment."
|
| 162 |
+
},
|
| 163 |
+
"structural": {
|
| 164 |
+
"structural_orchestration_score": 4,
|
| 165 |
+
"structural_orchestration_reason": "While the objects are loosely distributed along the long walls, the arrangement lacks clear zoning and fluid connections between grooming, toilet, shower, and utility areas, making the layout feel disjointed.",
|
| 166 |
+
"geometric_grounding_score": 7,
|
| 167 |
+
"geometric_grounding_reason": "Most objects appear properly grounded without floating or clipping, although some pieces look simplified or blocky, but there are no obvious placement errors or height inconsistencies."
|
| 168 |
+
},
|
| 169 |
+
"semantic": {
|
| 170 |
+
"semantic_fidelity_score": 5,
|
| 171 |
+
"semantic_fidelity_reason": "The scene roughly aligns with the instruction regarding bathroom zones and object types but misses key elements such as the detailed tiled shower transition, clear positioning of the vanity and mirror centered on one wall, and more defined built-in cabinetry.",
|
| 172 |
+
"functional_affordance_score": 4,
|
| 173 |
+
"functional_affordance_reason": "The open layout allows basic navigation, but limited clarity in zone definition and object usability, combined with overly sparse furnishing, reduces practical functionality for grooming, showering, and utility tasks."
|
| 174 |
+
}
|
| 175 |
+
},
|
| 176 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 4,\n \"aesthetic_harmony_reason\": \"The scene uses a limited and muted color palette but lacks refinement and detail, resulting in a somewhat stark, unfinished look that reduces overall visual appeal and cohesion.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"The space feels more like a rough draft or schematic than a lived-in bathroom, with oversized or misplaced furniture elements and no nuanced details or textures that contribute to a natural, believable environment.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 4,\n \"structural_orchestration_reason\": \"While the objects are loosely distributed along the long walls, the arrangement lacks clear zoning and fluid connections between grooming, toilet, shower, and utility areas, making the layout feel disjointed.\",\n \"geometric_grounding_score\": 7,\n \"geometric_grounding_reason\": \"Most objects appear properly grounded without floating or clipping, although some pieces look simplified or blocky, but there are no obvious placement errors or height inconsistencies.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 5,\n \"semantic_fidelity_reason\": \"The scene roughly aligns with the instruction regarding bathroom zones and object types but misses key elements such as the detailed tiled shower transition, clear positioning of the vanity and mirror centered on one wall, and more defined built-in cabinetry.\",\n \"functional_affordance_score\": 4,\n \"functional_affordance_reason\": \"The open layout allows basic navigation, but limited clarity in zone definition and object usability, combined with overly sparse furnishing, reduces practical functionality for grooming, showering, and utility tasks.\"\n }\n}\n```",
|
| 177 |
+
"error": null
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"sample_name": "Draft_a_precise_architectural_-2025-12-29-07-25-23-319822",
|
| 181 |
+
"sample_path": "data/evaluation_layout_bench/Draft_a_precise_architectural_-2025-12-29-07-25-23-319822",
|
| 182 |
+
"prompt": "Draft a precise architectural drawing of a single large bathroom whose outer perimeter forms a long, horizontally oriented rectangle with slightly recessed interior niches but no internal structural partitions, maintaining one continuous volumetric space.",
|
| 183 |
+
"evaluation": {
|
| 184 |
+
"perceptual": {
|
| 185 |
+
"aesthetic_harmony_score": 3,
|
| 186 |
+
"aesthetic_harmony_reason": "The scene lacks visual cohesion and harmony, with a disorganized assortment of objects that do not share a consistent style or color palette, making the overall image appear fragmented and cluttered rather than visually pleasing.",
|
| 187 |
+
"lived_in_realism_score": 2,
|
| 188 |
+
"lived_in_realism_reason": "The scene does not resemble a realistic or believable bathroom; many objects seem randomly placed and unrelated to bathroom use, with elements like benches, framed pictures, and cluttered shelving that contradict typical bathroom spatial logic."
|
| 189 |
+
},
|
| 190 |
+
"structural": {
|
| 191 |
+
"structural_orchestration_score": 2,
|
| 192 |
+
"structural_orchestration_reason": "Object placement lacks sensible layout or grouping relevant to a bathroom setting; the scene feels scattered without defined pathways or logical spatial relationships for a single continuous volumetric bathroom space.",
|
| 193 |
+
"geometric_grounding_score": 6,
|
| 194 |
+
"geometric_grounding_reason": "Most objects appear grounded without floating, and heights are roughly appropriate though some elements look misplaced relative to expected bathroom fixture heights. Wall recesses and niches are not clearly defined."
|
| 195 |
+
},
|
| 196 |
+
"semantic": {
|
| 197 |
+
"semantic_fidelity_score": 1,
|
| 198 |
+
"semantic_fidelity_reason": "The generated scene does not match the text instruction. The scene appears cluttered with mixed-use objects and furnishings, and it lacks a clear single large bathroom with recessed niches or a horizontally oriented rectangular perimeter without partitions.",
|
| 199 |
+
"functional_affordance_score": 2,
|
| 200 |
+
"functional_affordance_reason": "The layout provides little functional use as a bathroom; objects are not arranged for usability or accessibility in a typical bathroom setting, and the scene's mixed and unclear functions impair practical affordance."
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene lacks visual cohesion and harmony, with a disorganized assortment of objects that do not share a consistent style or color palette, making the overall image appear fragmented and cluttered rather than visually pleasing.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene does not resemble a realistic or believable bathroom; many objects seem randomly placed and unrelated to bathroom use, with elements like benches, framed pictures, and cluttered shelving that contradict typical bathroom spatial logic.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"Object placement lacks sensible layout or grouping relevant to a bathroom setting; the scene feels scattered without defined pathways or logical spatial relationships for a single continuous volumetric bathroom space.\",\n \"geometric_grounding_score\": 6,\n \"geometric_grounding_reason\": \"Most objects appear grounded without floating, and heights are roughly appropriate though some elements look misplaced relative to expected bathroom fixture heights. Wall recesses and niches are not clearly defined.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 1,\n \"semantic_fidelity_reason\": \"The generated scene does not match the text instruction. The scene appears cluttered with mixed-use objects and furnishings, and it lacks a clear single large bathroom with recessed niches or a horizontally oriented rectangular perimeter without partitions.\",\n \"functional_affordance_score\": 2,\n \"functional_affordance_reason\": \"The layout provides little functional use as a bathroom; objects are not arranged for usability or accessibility in a typical bathroom setting, and the scene's mixed and unclear functions impair practical affordance.\"\n }\n}\n```",
|
| 204 |
+
"error": null
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"sample_name": "A_flat-shaded_architectural_pl-2025-12-29-07-49-42-727362",
|
| 208 |
+
"sample_path": "data/evaluation_layout_bench/A_flat-shaded_architectural_pl-2025-12-29-07-49-42-727362",
|
| 209 |
+
"prompt": "A flat-shaded architectural plan of a single open-plan bathroom with a simple rectangular footprint, where the entrance side wall is partially cut away to reveal distinct functional zones including a freestanding tub and plant corner by a window, an adjacent open shower area defined only by a tiled floor patch and glass screen, a central relaxation zone with two rugs and a low coffee table, and a grooming/storage zone along the opposite wall featuring a vanity with sink and mirror, two tall shelving units filled with folded towels and boxes, a side table with lamp, wall hooks with hanging towel, plus various small accessories like bottles, soap dispensers, and decor items arranged densely but neatly throughout the space.",
|
| 210 |
+
"evaluation": {
|
| 211 |
+
"perceptual": {
|
| 212 |
+
"aesthetic_harmony_score": 6,
|
| 213 |
+
"aesthetic_harmony_reason": "The scene uses consistent flat-shaded style and simple colors, which suits an architectural plan. However, the colors and materials are quite minimal and subdued, lacking strong warmth or contrast, giving a somewhat sterile appearance rather than a visually cozy or rich aesthetic harmony.",
|
| 214 |
+
"lived_in_realism_score": 4,
|
| 215 |
+
"lived_in_realism_reason": "While the scene shows clear zones and plausible object types, the minimal flat-shaded visual style and the apparent disconnection of some pieces with the floor and walls limit realism. The space feels more schematic than lived-in, with an absence of natural wear, texture, or organic variation."
|
| 216 |
+
},
|
| 217 |
+
"structural": {
|
| 218 |
+
"structural_orchestration_score": 7,
|
| 219 |
+
"structural_orchestration_reason": "The functional zones from the text are distinctly separated as requested, and furniture groupings make logical sense. The open shower with glass screen, rug areas, and grooming zone are clearly defined, showing good spatial planning. The dense arrangement is somewhat tight but does not appear cluttered or blocking pathways.",
|
| 220 |
+
"geometric_grounding_score": 5,
|
| 221 |
+
"geometric_grounding_reason": "Many objects are grounded well on the floor, but some elements appear to float or are not fully integrated with the floor plane (e.g., the glass shower screen and some accessories). Heights appear roughly appropriate but lack detailed placement precision, weakening the spatial believability."
|
| 222 |
+
},
|
| 223 |
+
"semantic": {
|
| 224 |
+
"semantic_fidelity_score": 8,
|
| 225 |
+
"semantic_fidelity_reason": "All major requested elements are present: freestanding tub with plant corner by window, tiled shower area with glass, central relaxation zone with rugs and table, vanity with mirror, tall shelving units, side table with lamp, wall hooks with towels, and various small decor/accessories. The open-plan bathroom with rectangular footprint and cutaway entrance wall is clearly realized.",
|
| 226 |
+
"functional_affordance_score": 6,
|
| 227 |
+
"functional_affordance_reason": "The scene’s layout suggests the intended usage zones and walking paths, and seating and storage are accessible. However, the schematic flat-shaded style and some spatial detachment of objects reduce the sense of actual functional usability. Some clearances seem tight or minimal for real movement."
|
| 228 |
+
}
|
| 229 |
+
},
|
| 230 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 6,\n \"aesthetic_harmony_reason\": \"The scene uses consistent flat-shaded style and simple colors, which suits an architectural plan. However, the colors and materials are quite minimal and subdued, lacking strong warmth or contrast, giving a somewhat sterile appearance rather than a visually cozy or rich aesthetic harmony.\",\n \"lived_in_realism_score\": 4,\n \"lived_in_realism_reason\": \"While the scene shows clear zones and plausible object types, the minimal flat-shaded visual style and the apparent disconnection of some pieces with the floor and walls limit realism. The space feels more schematic than lived-in, with an absence of natural wear, texture, or organic variation.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 7,\n \"structural_orchestration_reason\": \"The functional zones from the text are distinctly separated as requested, and furniture groupings make logical sense. The open shower with glass screen, rug areas, and grooming zone are clearly defined, showing good spatial planning. The dense arrangement is somewhat tight but does not appear cluttered or blocking pathways.\",\n \"geometric_grounding_score\": 5,\n \"geometric_grounding_reason\": \"Many objects are grounded well on the floor, but some elements appear to float or are not fully integrated with the floor plane (e.g., the glass shower screen and some accessories). Heights appear roughly appropriate but lack detailed placement precision, weakening the spatial believability.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 8,\n \"semantic_fidelity_reason\": \"All major requested elements are present: freestanding tub with plant corner by window, tiled shower area with glass, central relaxation zone with rugs and table, vanity with mirror, tall shelving units, side table with lamp, wall hooks with towels, and various small decor/accessories. The open-plan bathroom with rectangular footprint and cutaway entrance wall is clearly realized.\",\n \"functional_affordance_score\": 6,\n \"functional_affordance_reason\": \"The scene’s layout suggests the intended usage zones and walking paths, and seating and storage are accessible. However, the schematic flat-shaded style and some spatial detachment of objects reduce the sense of actual functional usability. Some clearances seem tight or minimal for real movement.\"\n }\n}\n```",
|
| 231 |
+
"error": null
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"sample_name": "Show_me_how_to_fit_furniture_i-2025-12-29-08-00-01-869218",
|
| 235 |
+
"sample_path": "data/evaluation_layout_bench/Show_me_how_to_fit_furniture_i-2025-12-29-08-00-01-869218",
|
| 236 |
+
"prompt": "Show me how to fit furniture into a bathroom like this with two sink vanities and mirrors, one toilet, a couple of small trash bins, a wall towel ring and toilet paper holder, a potted plant, large curtained windows and doors, all arranged in a fairly sparsely furnished open space.",
|
| 237 |
+
"evaluation": {
|
| 238 |
+
"perceptual": {
|
| 239 |
+
"aesthetic_harmony_score": 6,
|
| 240 |
+
"aesthetic_harmony_reason": "The furniture and objects generally share a neutral palette and simple style, but the large transparent objects and the random stool in the middle diminish overall cohesiveness and visual appeal.",
|
| 241 |
+
"lived_in_realism_score": 5,
|
| 242 |
+
"lived_in_realism_reason": "While the scene includes bathroom-specific elements, the stool's placement and the unusual large transparent panels create an unnatural and unrealistic bathroom environment."
|
| 243 |
+
},
|
| 244 |
+
"structural": {
|
| 245 |
+
"structural_orchestration_score": 5,
|
| 246 |
+
"structural_orchestration_reason": "The two sink vanities are aligned properly, but the stool is oddly placed without clear purpose; the open space is sparse but lacks logical flow, and the large panels disrupt natural circulation.",
|
| 247 |
+
"geometric_grounding_score": 8,
|
| 248 |
+
"geometric_grounding_reason": "All objects appear properly placed on surfaces with no floating elements; however, positioning is basic and straightforward without creative grounding."
|
| 249 |
+
},
|
| 250 |
+
"semantic": {
|
| 251 |
+
"semantic_fidelity_score": 7,
|
| 252 |
+
"semantic_fidelity_reason": "Most user-requested items are present: two sink vanities with mirrors, a toilet, trash bins, a towel ring, toilet paper holder, potted plant, and large windows/doors with curtains. Some items are hard to visually confirm (curtains are minimal, towel ring placement is unclear).",
|
| 253 |
+
"functional_affordance_score": 6,
|
| 254 |
+
"functional_affordance_reason": "While the bathroom is mostly usable and open, the stool obstructs potential clear pathways and large transparent panels reduce intuitive access and flow."
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 6,\n \"aesthetic_harmony_reason\": \"The furniture and objects generally share a neutral palette and simple style, but the large transparent objects and the random stool in the middle diminish overall cohesiveness and visual appeal.\",\n \"lived_in_realism_score\": 5,\n \"lived_in_realism_reason\": \"While the scene includes bathroom-specific elements, the stool's placement and the unusual large transparent panels create an unnatural and unrealistic bathroom environment.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 5,\n \"structural_orchestration_reason\": \"The two sink vanities are aligned properly, but the stool is oddly placed without clear purpose; the open space is sparse but lacks logical flow, and the large panels disrupt natural circulation.\",\n \"geometric_grounding_score\": 8,\n \"geometric_grounding_reason\": \"All objects appear properly placed on surfaces with no floating elements; however, positioning is basic and straightforward without creative grounding.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 7,\n \"semantic_fidelity_reason\": \"Most user-requested items are present: two sink vanities with mirrors, a toilet, trash bins, a towel ring, toilet paper holder, potted plant, and large windows/doors with curtains. Some items are hard to visually confirm (curtains are minimal, towel ring placement is unclear).\",\n \"functional_affordance_score\": 6,\n \"functional_affordance_reason\": \"While the bathroom is mostly usable and open, the stool obstructs potential clear pathways and large transparent panels reduce intuitive access and flow.\"\n }\n}\n```",
|
| 258 |
+
"error": null
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"sample_name": "A_flat-shaded_architectural_pl-2025-12-29-07-23-25-976761",
|
| 262 |
+
"sample_path": "data/evaluation_layout_bench/A_flat-shaded_architectural_pl-2025-12-29-07-23-25-976761",
|
| 263 |
+
"prompt": "A flat-shaded architectural plan of a single open-plan bathroom with a simple rectangular footprint, where the entrance side wall is partially cut away to reveal distinct functional zones including a freestanding tub and plant corner by a window, an adjacent open shower area defined only by a tiled floor patch and glass screen, a central relaxation zone with two rugs and a low coffee table, and a grooming/storage zone along the opposite wall featuring a vanity with sink and mirror, two tall shelving units filled with folded towels and boxes, a side table with lamp, wall hooks with hanging towel, plus various small accessories like bottles, soap dispensers, and decor items arranged densely but neatly throughout the space.",
|
| 264 |
+
"evaluation": {
|
| 265 |
+
"perceptual": {
|
| 266 |
+
"aesthetic_harmony_score": 3,
|
| 267 |
+
"aesthetic_harmony_reason": "The color scheme and styles of the objects are inconsistent, with many mismatched materials and finishes that break visual cohesion. The presence of lighting, painting, and other decor feels random and not visually harmonious as a bathroom space.",
|
| 268 |
+
"lived_in_realism_score": 2,
|
| 269 |
+
"lived_in_realism_reason": "The scene lacks realistic floor contact for many elements and the spatial configuration feels more like a product display than a usable bathroom. Some objects float or are misaligned, reducing realism and believability."
|
| 270 |
+
},
|
| 271 |
+
"structural": {
|
| 272 |
+
"structural_orchestration_score": 2,
|
| 273 |
+
"structural_orchestration_reason": "The layout is confusing and does not convey logical zoned areas as requested. Key functional zones like the shower or plant corner are not clearly defined or organized. Objects appear scattered without clear grouping or spatial flow.",
|
| 274 |
+
"geometric_grounding_score": 2,
|
| 275 |
+
"geometric_grounding_reason": "Several objects (including shelving, a chair, and a picture) float above the floor or lack proper alignment and contact with surfaces. The half wall and glass screen are misplaced or incomplete, affecting grounding."
|
| 276 |
+
},
|
| 277 |
+
"semantic": {
|
| 278 |
+
"semantic_fidelity_score": 2,
|
| 279 |
+
"semantic_fidelity_reason": "The scene does not match the instruction of a flat-shaded, open-plan bathroom with distinct zones. There is no clear entrance cutaway, no visible freestanding tub by a window with plant, no open shower with tiled floor patch, no grooming/storage zones with towels on shelves or wall hooks, and no dense arrangement of small accessories.",
|
| 280 |
+
"functional_affordance_score": 2,
|
| 281 |
+
"functional_affordance_reason": "The space is not functional as a bathroom; zones are unclear and many objects appear inaccessible or ill-placed, with no clear circulation path or usability. The floating objects further reduce functional realism."
|
| 282 |
+
}
|
| 283 |
+
},
|
| 284 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The color scheme and styles of the objects are inconsistent, with many mismatched materials and finishes that break visual cohesion. The presence of lighting, painting, and other decor feels random and not visually harmonious as a bathroom space.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene lacks realistic floor contact for many elements and the spatial configuration feels more like a product display than a usable bathroom. Some objects float or are misaligned, reducing realism and believability.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"The layout is confusing and does not convey logical zoned areas as requested. Key functional zones like the shower or plant corner are not clearly defined or organized. Objects appear scattered without clear grouping or spatial flow.\",\n \"geometric_grounding_score\": 2,\n \"geometric_grounding_reason\": \"Several objects (including shelving, a chair, and a picture) float above the floor or lack proper alignment and contact with surfaces. The half wall and glass screen are misplaced or incomplete, affecting grounding.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 2,\n \"semantic_fidelity_reason\": \"The scene does not match the instruction of a flat-shaded, open-plan bathroom with distinct zones. There is no clear entrance cutaway, no visible freestanding tub by a window with plant, no open shower with tiled floor patch, no grooming/storage zones with towels on shelves or wall hooks, and no dense arrangement of small accessories.\",\n \"functional_affordance_score\": 2,\n \"functional_affordance_reason\": \"The space is not functional as a bathroom; zones are unclear and many objects appear inaccessible or ill-placed, with no clear circulation path or usability. The floating objects further reduce functional realism.\"\n }\n}\n```",
|
| 285 |
+
"error": null
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"sample_name": "Given_the_specific_boundary_sh-2025-12-29-07-56-10-525598",
|
| 289 |
+
"sample_path": "data/evaluation_layout_bench/Given_the_specific_boundary_sh-2025-12-29-07-56-10-525598",
|
| 290 |
+
"prompt": "Given the specific boundary shape, design a single open-plan bathroom where the elongated main volume holds a vanity zone with sink, mirror, upper cabinets, and plants along one wall, a stacked washer-dryer laundry zone opposite, and a toilet and shower area arranged at the tapered end so that all fixtures and storage units are efficiently grouped without internal partitions.",
|
| 291 |
+
"evaluation": {
|
| 292 |
+
"perceptual": {
|
| 293 |
+
"aesthetic_harmony_score": 2,
|
| 294 |
+
"aesthetic_harmony_reason": "The scene lacks cohesive style, color coordination, and integration of elements, appearing sparse and disconnected with inconsistent materials and color choices.",
|
| 295 |
+
"lived_in_realism_score": 1,
|
| 296 |
+
"lived_in_realism_reason": "The scene looks highly unrealistic with objects floating in space, missing walls and floor boundaries, and an absence of natural placement and scale that would be expected in a real indoor bathroom."
|
| 297 |
+
},
|
| 298 |
+
"structural": {
|
| 299 |
+
"structural_orchestration_score": 1,
|
| 300 |
+
"structural_orchestration_reason": "Objects are unrelated in placement and do not follow logical spatial groupings or pathways expected for an open-plan bathroom; the layout is scattered and inefficient.",
|
| 301 |
+
"geometric_grounding_score": 1,
|
| 302 |
+
"geometric_grounding_reason": "Many objects appear to be floating or misaligned with floor surfaces; no proper grounding or consistent support visible."
|
| 303 |
+
},
|
| 304 |
+
"semantic": {
|
| 305 |
+
"semantic_fidelity_score": 1,
|
| 306 |
+
"semantic_fidelity_reason": "The scene does not match the user's instructions: no clear vanity zone with sink, mirror, upper cabinets, or plants is present; no visible stacked washer-dryer laundry zone; no distinct toilet and shower area at a tapered end; the room type is unclear.",
|
| 307 |
+
"functional_affordance_score": 1,
|
| 308 |
+
"functional_affordance_reason": "The space is not functional as a bathroom or laundry area; no accessible or usable object groupings; no clear walkable pathways or practical arrangement of fixtures."
|
| 309 |
+
}
|
| 310 |
+
},
|
| 311 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 2,\n \"aesthetic_harmony_reason\": \"The scene lacks cohesive style, color coordination, and integration of elements, appearing sparse and disconnected with inconsistent materials and color choices.\",\n \"lived_in_realism_score\": 1,\n \"lived_in_realism_reason\": \"The scene looks highly unrealistic with objects floating in space, missing walls and floor boundaries, and an absence of natural placement and scale that would be expected in a real indoor bathroom.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 1,\n \"structural_orchestration_reason\": \"Objects are unrelated in placement and do not follow logical spatial groupings or pathways expected for an open-plan bathroom; the layout is scattered and inefficient.\",\n \"geometric_grounding_score\": 1,\n \"geometric_grounding_reason\": \"Many objects appear to be floating or misaligned with floor surfaces; no proper grounding or consistent support visible.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 1,\n \"semantic_fidelity_reason\": \"The scene does not match the user's instructions: no clear vanity zone with sink, mirror, upper cabinets, or plants is present; no visible stacked washer-dryer laundry zone; no distinct toilet and shower area at a tapered end; the room type is unclear.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"The space is not functional as a bathroom or laundry area; no accessible or usable object groupings; no clear walkable pathways or practical arrangement of fixtures.\"\n }\n}\n```",
|
| 312 |
+
"error": null
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"sample_name": "A_high-quality_2D_rendering_sh-2025-12-29-07-19-20-126407",
|
| 316 |
+
"sample_path": "data/evaluation_layout_bench/A_high-quality_2D_rendering_sh-2025-12-29-07-19-20-126407",
|
| 317 |
+
"prompt": "A high-quality 2D rendering showing a spacious single-room bathroom where the central freestanding tub forms a main bathing zone, a vanity and toilet line one side to create a grooming and sanitary area, a fully open shower corner defines a wet zone, and seating, plants, and storage elements along the perimeter subtly carve out relaxing and dressing areas without any interior walls.",
|
| 318 |
+
"evaluation": {
|
| 319 |
+
"perceptual": {
|
| 320 |
+
"aesthetic_harmony_score": 4,
|
| 321 |
+
"aesthetic_harmony_reason": "The scene has some matching color tones in wood and neutral shades, but the overall visual composition lacks refinement and seems sparse and incomplete, reducing visual appeal.",
|
| 322 |
+
"lived_in_realism_score": 3,
|
| 323 |
+
"lived_in_realism_reason": "The scene does not look like a realistically inhabited bathroom. Objects appear disjointed and floating, and the spatial arrangement lacks natural placement and proportionality for a believable space."
|
| 324 |
+
},
|
| 325 |
+
"structural": {
|
| 326 |
+
"structural_orchestration_score": 2,
|
| 327 |
+
"structural_orchestration_reason": "The layout is highly fragmented with furniture and fixtures scattered loosely without clear zones or logical groupings. The main bathroom zones from the instruction are not well defined or properly segmented.",
|
| 328 |
+
"geometric_grounding_score": 1,
|
| 329 |
+
"geometric_grounding_reason": "Many objects are floating above the floor or not properly aligned with surfaces, including fixtures like the toilet, bidet, vanity, and seating, which breaks the grounding and scale consistency."
|
| 330 |
+
},
|
| 331 |
+
"semantic": {
|
| 332 |
+
"semantic_fidelity_score": 2,
|
| 333 |
+
"semantic_fidelity_reason": "The scene does not clearly fulfill the user's instruction: a central freestanding tub is completely missing, there is no obvious open shower corner, and the vanity and toilet are not organized along one side as requested.",
|
| 334 |
+
"functional_affordance_score": 2,
|
| 335 |
+
"functional_affordance_reason": "The layout is not functional for a bathroom setup. Key areas are missing or not accessible, and there is no clear walking path or usability of elements given the scattering and floating objects."
|
| 336 |
+
}
|
| 337 |
+
},
|
| 338 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 4,\n \"aesthetic_harmony_reason\": \"The scene has some matching color tones in wood and neutral shades, but the overall visual composition lacks refinement and seems sparse and incomplete, reducing visual appeal.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"The scene does not look like a realistically inhabited bathroom. Objects appear disjointed and floating, and the spatial arrangement lacks natural placement and proportionality for a believable space.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"The layout is highly fragmented with furniture and fixtures scattered loosely without clear zones or logical groupings. The main bathroom zones from the instruction are not well defined or properly segmented.\",\n \"geometric_grounding_score\": 1,\n \"geometric_grounding_reason\": \"Many objects are floating above the floor or not properly aligned with surfaces, including fixtures like the toilet, bidet, vanity, and seating, which breaks the grounding and scale consistency.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 2,\n \"semantic_fidelity_reason\": \"The scene does not clearly fulfill the user's instruction: a central freestanding tub is completely missing, there is no obvious open shower corner, and the vanity and toilet are not organized along one side as requested.\",\n \"functional_affordance_score\": 2,\n \"functional_affordance_reason\": \"The layout is not functional for a bathroom setup. Key areas are missing or not accessible, and there is no clear walking path or usability of elements given the scattering and floating objects.\"\n }\n}\n```",
|
| 339 |
+
"error": null
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"sample_name": "A_high-quality_2D_rendering_sh-2025-12-29-07-11-26-839939",
|
| 343 |
+
"sample_path": "data/evaluation_layout_bench/A_high-quality_2D_rendering_sh-2025-12-29-07-11-26-839939",
|
| 344 |
+
"prompt": "A high-quality 2D rendering showing a spacious single-room bathroom where the central freestanding tub forms a main bathing zone, a vanity and toilet line one side to create a grooming and sanitary area, a fully open shower corner defines a wet zone, and seating, plants, and storage elements along the perimeter subtly carve out relaxing and dressing areas without any interior walls.",
|
| 345 |
+
"evaluation": {
|
| 346 |
+
"perceptual": {
|
| 347 |
+
"aesthetic_harmony_score": 2,
|
| 348 |
+
"aesthetic_harmony_reason": "The scene lacks visual cohesion with inconsistent textures and colors making it visually confusing rather than pleasing.",
|
| 349 |
+
"lived_in_realism_score": 1,
|
| 350 |
+
"lived_in_realism_reason": "The setup does not resemble a realistic bathroom; objects are oddly oriented and clustered with no clear visual flow or real-world practicality."
|
| 351 |
+
},
|
| 352 |
+
"structural": {
|
| 353 |
+
"structural_orchestration_score": 1,
|
| 354 |
+
"structural_orchestration_reason": "There is no logical spatial arrangement; key items like the tub, toilet, vanity, and shower are not visible or identifiable in a spatially meaningful layout.",
|
| 355 |
+
"geometric_grounding_score": 3,
|
| 356 |
+
"geometric_grounding_reason": "Many objects appear to float or are stacked in unrealistic ways; some objects sit on surfaces but most seem ungrounded without proper placement."
|
| 357 |
+
},
|
| 358 |
+
"semantic": {
|
| 359 |
+
"semantic_fidelity_score": 1,
|
| 360 |
+
"semantic_fidelity_reason": "The scene does not match the user's description of a spacious single-room bathroom with specific zones and furniture; the intended objects and zones are missing or unrecognizable.",
|
| 361 |
+
"functional_affordance_score": 1,
|
| 362 |
+
"functional_affordance_reason": "The scene lacks functionality as a bathroom; no clear paths or usable furniture arrangements are present."
|
| 363 |
+
}
|
| 364 |
+
},
|
| 365 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 2,\n \"aesthetic_harmony_reason\": \"The scene lacks visual cohesion with inconsistent textures and colors making it visually confusing rather than pleasing.\",\n \"lived_in_realism_score\": 1,\n \"lived_in_realism_reason\": \"The setup does not resemble a realistic bathroom; objects are oddly oriented and clustered with no clear visual flow or real-world practicality.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 1,\n \"structural_orchestration_reason\": \"There is no logical spatial arrangement; key items like the tub, toilet, vanity, and shower are not visible or identifiable in a spatially meaningful layout.\",\n \"geometric_grounding_score\": 3,\n \"geometric_grounding_reason\": \"Many objects appear to float or are stacked in unrealistic ways; some objects sit on surfaces but most seem ungrounded without proper placement.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 1,\n \"semantic_fidelity_reason\": \"The scene does not match the user's description of a spacious single-room bathroom with specific zones and furniture; the intended objects and zones are missing or unrecognizable.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"The scene lacks functionality as a bathroom; no clear paths or usable furniture arrangements are present.\"\n }\n}\n```",
|
| 366 |
+
"error": null
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"sample_name": "Based_on_the_provided_hull_sha-2025-12-29-07-51-43-103657",
|
| 370 |
+
"sample_path": "data/evaluation_layout_bench/Based_on_the_provided_hull_sha-2025-12-29-07-51-43-103657",
|
| 371 |
+
"prompt": "Based on the provided hull shape, generate a single spacious bathroom that follows the wide rectangular outline with a central circulation spine, placing a large corner bathtub with surrounding decking and plants at one end, a walk-in shower and toilet cluster along one long side, and a vanity with sink, storage cabinets, and decorative plants along the opposite side so that the sanitary fixtures and greenery clearly organize the open volume without internal walls.",
|
| 372 |
+
"evaluation": {
|
| 373 |
+
"perceptual": {
|
| 374 |
+
"aesthetic_harmony_score": 3,
|
| 375 |
+
"aesthetic_harmony_reason": "The scene lacks cohesive style or color coordination; materials and colors appear randomly assigned, and the components look disconnected and unfinished with no clear design aesthetic.",
|
| 376 |
+
"lived_in_realism_score": 2,
|
| 377 |
+
"lived_in_realism_reason": "The objects do not realistically represent a functioning bathroom; key requested fixtures are missing or floating, and the environment does not feel like a real or plausible living space."
|
| 378 |
+
},
|
| 379 |
+
"structural": {
|
| 380 |
+
"structural_orchestration_score": 1,
|
| 381 |
+
"structural_orchestration_reason": "The furniture and fixtures are scattered irregularly without logical grouping or clear pathways; the layout does not follow the instruction of a central circulation spine or functional zoning.",
|
| 382 |
+
"geometric_grounding_score": 1,
|
| 383 |
+
"geometric_grounding_reason": "Most objects appear to be floating or incorrectly placed above the floor surface with no realistic grounding or proper spatial alignment."
|
| 384 |
+
},
|
| 385 |
+
"semantic": {
|
| 386 |
+
"semantic_fidelity_score": 1,
|
| 387 |
+
"semantic_fidelity_reason": "The scene does not reflect the text instruction: there is no large corner bathtub with decking and plants, no clear walk-in shower and toilet cluster, and no vanity with sink or storage cabinets arranged as requested; the room is not identifiable as a bathroom.",
|
| 388 |
+
"functional_affordance_score": 1,
|
| 389 |
+
"functional_affordance_reason": "The scene is non-functional as a bathroom; the scattered and floating objects prevent practical use and movement, with no accessible sanitary fixtures or coherent organization."
|
| 390 |
+
}
|
| 391 |
+
},
|
| 392 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene lacks cohesive style or color coordination; materials and colors appear randomly assigned, and the components look disconnected and unfinished with no clear design aesthetic.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The objects do not realistically represent a functioning bathroom; key requested fixtures are missing or floating, and the environment does not feel like a real or plausible living space.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 1,\n \"structural_orchestration_reason\": \"The furniture and fixtures are scattered irregularly without logical grouping or clear pathways; the layout does not follow the instruction of a central circulation spine or functional zoning.\",\n \"geometric_grounding_score\": 1,\n \"geometric_grounding_reason\": \"Most objects appear to be floating or incorrectly placed above the floor surface with no realistic grounding or proper spatial alignment.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 1,\n \"semantic_fidelity_reason\": \"The scene does not reflect the text instruction: there is no large corner bathtub with decking and plants, no clear walk-in shower and toilet cluster, and no vanity with sink or storage cabinets arranged as requested; the room is not identifiable as a bathroom.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"The scene is non-functional as a bathroom; the scattered and floating objects prevent practical use and movement, with no accessible sanitary fixtures or coherent organization.\"\n }\n}\n```",
|
| 393 |
+
"error": null
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"sample_name": "Pack_a_high_density_of_furnitu-2025-12-29-07-13-14-510642",
|
| 397 |
+
"sample_path": "data/evaluation_layout_bench/Pack_a_high_density_of_furnitu-2025-12-29-07-13-14-510642",
|
| 398 |
+
"prompt": "Pack a high density of furniture into a long rectangular bathroom whose perimeter stretches lengthwise with a narrow width, straight outer walls, and a slightly inset tiled section along one side.",
|
| 399 |
+
"evaluation": {
|
| 400 |
+
"perceptual": {
|
| 401 |
+
"aesthetic_harmony_score": 3,
|
| 402 |
+
"aesthetic_harmony_reason": "The scene lacks visual cohesion and harmony; the objects and textures appear mismatched and disconnected, with inconsistent materials and colors that do not create a pleasing or unified look.",
|
| 403 |
+
"lived_in_realism_score": 2,
|
| 404 |
+
"lived_in_realism_reason": "The scene does not resemble a realistic or believable bathroom; objects that typically characterize a bathroom are missing, and the space feels empty and artificial rather than naturally lived-in."
|
| 405 |
+
},
|
| 406 |
+
"structural": {
|
| 407 |
+
"structural_orchestration_score": 2,
|
| 408 |
+
"structural_orchestration_reason": "Objects are randomly placed along the narrow rectangular floor with no clear functional clusters or logical pathways; the spatial arrangement feels arbitrary and disorganized.",
|
| 409 |
+
"geometric_grounding_score": 7,
|
| 410 |
+
"geometric_grounding_reason": "While objects appear to be generally grounded and resting on the floor, the unusual shapes and absence of recognizable bathroom fixtures limit the evaluation; there are no obvious floating objects."
|
| 411 |
+
},
|
| 412 |
+
"semantic": {
|
| 413 |
+
"semantic_fidelity_score": 1,
|
| 414 |
+
"semantic_fidelity_reason": "The scene does not match the user instruction; there is no evidence of a packed bathroom with high furniture density, no visible tiling inset section, and the objects present do not correspond to bathroom furniture or fixtures.",
|
| 415 |
+
"functional_affordance_score": 1,
|
| 416 |
+
"functional_affordance_reason": "The space is not functional as a bathroom due to lack of key furniture and fixtures, and the random object placement would not support typical bathroom use or easy movement."
|
| 417 |
+
}
|
| 418 |
+
},
|
| 419 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene lacks visual cohesion and harmony; the objects and textures appear mismatched and disconnected, with inconsistent materials and colors that do not create a pleasing or unified look.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene does not resemble a realistic or believable bathroom; objects that typically characterize a bathroom are missing, and the space feels empty and artificial rather than naturally lived-in.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"Objects are randomly placed along the narrow rectangular floor with no clear functional clusters or logical pathways; the spatial arrangement feels arbitrary and disorganized.\",\n \"geometric_grounding_score\": 7,\n \"geometric_grounding_reason\": \"While objects appear to be generally grounded and resting on the floor, the unusual shapes and absence of recognizable bathroom fixtures limit the evaluation; there are no obvious floating objects.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 1,\n \"semantic_fidelity_reason\": \"The scene does not match the user instruction; there is no evidence of a packed bathroom with high furniture density, no visible tiling inset section, and the objects present do not correspond to bathroom furniture or fixtures.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"The space is not functional as a bathroom due to lack of key furniture and fixtures, and the random object placement would not support typical bathroom use or easy movement.\"\n }\n}\n```",
|
| 420 |
+
"error": null
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"sample_name": "Generate_a_vector-style_layout-2025-12-29-07-37-47-361384",
|
| 424 |
+
"sample_path": "data/evaluation_layout_bench/Generate_a_vector-style_layout-2025-12-29-07-37-47-361384",
|
| 425 |
+
"prompt": "Generate a vector-style layout for a compact rectangular bathroom with clean, straight perimeter walls, tiled floor grid, and two clearly defined functional zones: a washing zone on the left featuring a wall-mounted rectangular sink with visible faucet and drain, and a toilet zone on the right with a close-coupled toilet (tank and bowl) aligned parallel to the long walls, ensuring accurate proportions, spacing between fixtures, realistic object scales, and a minimal asset set limited to these sanitary elements without additional furniture.",
|
| 426 |
+
"evaluation": {
|
| 427 |
+
"perceptual": {
|
| 428 |
+
"aesthetic_harmony_score": 4,
|
| 429 |
+
"aesthetic_harmony_reason": "The scene lacks cohesive style with mismatched colors and materials; the wooden cabinet is out of place in a minimal, vector-style bathroom meant to have a clean, tiled floor and minimal furniture.",
|
| 430 |
+
"lived_in_realism_score": 3,
|
| 431 |
+
"lived_in_realism_reason": "The layout is cluttered with floating elements like the cabinet and lack of natural placement; objects like the sink and faucet are not clearly visible or detailed, reducing realistic feel."
|
| 432 |
+
},
|
| 433 |
+
"structural": {
|
| 434 |
+
"structural_orchestration_score": 4,
|
| 435 |
+
"structural_orchestration_reason": "The toilet and sink are placed on opposite sides as requested, but the arrangement is cramped with unnecessary objects (wooden cabinet) disrupting logical spatial flow.",
|
| 436 |
+
"geometric_grounding_score": 3,
|
| 437 |
+
"geometric_grounding_reason": "Several objects appear to float or are not grounded properly (the cabinet is floating); the toilet is reasonably placed on the floor, but the clarity of faucet/drain placement on the sink is poor."
|
| 438 |
+
},
|
| 439 |
+
"semantic": {
|
| 440 |
+
"semantic_fidelity_score": 4,
|
| 441 |
+
"semantic_fidelity_reason": "The two zones (washing and toilet) are roughly defined left and right, but the sink is not clearly wall-mounted rectangular with visible faucet and drain; a wooden cabinet and other non-sanitary objects are present, which contradicts the instruction for a minimal asset set.",
|
| 442 |
+
"functional_affordance_score": 5,
|
| 443 |
+
"functional_affordance_reason": "There is walkable floor space, but accessibility and usability of fixtures are questionable due to clutter and unclear sink features; the toilet placement is reasonable but overall function is compromised by extra objects."
|
| 444 |
+
}
|
| 445 |
+
},
|
| 446 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 4,\n \"aesthetic_harmony_reason\": \"The scene lacks cohesive style with mismatched colors and materials; the wooden cabinet is out of place in a minimal, vector-style bathroom meant to have a clean, tiled floor and minimal furniture.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"The layout is cluttered with floating elements like the cabinet and lack of natural placement; objects like the sink and faucet are not clearly visible or detailed, reducing realistic feel.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 4,\n \"structural_orchestration_reason\": \"The toilet and sink are placed on opposite sides as requested, but the arrangement is cramped with unnecessary objects (wooden cabinet) disrupting logical spatial flow.\",\n \"geometric_grounding_score\": 3,\n \"geometric_grounding_reason\": \"Several objects appear to float or are not grounded properly (the cabinet is floating); the toilet is reasonably placed on the floor, but the clarity of faucet/drain placement on the sink is poor.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 4,\n \"semantic_fidelity_reason\": \"The two zones (washing and toilet) are roughly defined left and right, but the sink is not clearly wall-mounted rectangular with visible faucet and drain; a wooden cabinet and other non-sanitary objects are present, which contradicts the instruction for a minimal asset set.\",\n \"functional_affordance_score\": 5,\n \"functional_affordance_reason\": \"There is walkable floor space, but accessibility and usability of fixtures are questionable due to clutter and unclear sink features; the toilet placement is reasonable but overall function is compromised by extra objects.\"\n }\n}\n```",
|
| 447 |
+
"error": null
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"sample_name": "Make_a_detailed_room_design_fo-2025-12-29-07-36-20-740491",
|
| 451 |
+
"sample_path": "data/evaluation_layout_bench/Make_a_detailed_room_design_fo-2025-12-29-07-36-20-740491",
|
| 452 |
+
"prompt": "Make a detailed room design for a spacious open-plan bathroom where different functional zones are arranged within one large volume, including a central freestanding bathtub with floor-mounted faucets and nearby lounge chairs, a grooming area with a vanity, sink, and mirror, a toilet corner beside storage cabinets and shelves, and additional relaxation spaces furnished with sofas, armchairs, side tables, rugs, plants, and soft lighting to create a spa-like atmosphere.",
|
| 453 |
+
"evaluation": {
|
| 454 |
+
"perceptual": {
|
| 455 |
+
"aesthetic_harmony_score": 6,
|
| 456 |
+
"aesthetic_harmony_reason": "The color palette is somewhat cohesive with warm tones in the seating, but the mix of furniture styles and colors (such as black tables, gray cabinets, and pink chairs) disrupts overall harmony, detracting from a fully unified visual appeal.",
|
| 457 |
+
"lived_in_realism_score": 5,
|
| 458 |
+
"lived_in_realism_reason": "While the scene has many realistic elements like furniture and plants, the open-plan layout with a lounge area directly adjacent to a bathtub in a large undefined volume feels artificial for a bathroom. Also, some furniture choices (e.g., sofas and couches) typically do not belong in a bathroom, impacting realism."
|
| 459 |
+
},
|
| 460 |
+
"structural": {
|
| 461 |
+
"structural_orchestration_score": 5,
|
| 462 |
+
"structural_orchestration_reason": "Zones are vaguely separated but lack clear functional grouping and natural flow. The lounge seating is near the bathtub, but the toilet corner is only partially represented and not easily identifiable. Storage and shelving feel randomly placed and disconnected from related functional areas.",
|
| 463 |
+
"geometric_grounding_score": 8,
|
| 464 |
+
"geometric_grounding_reason": "All objects appear properly placed on the floor without floating or incorrect heights. The bathtub has appropriate floor-mounted faucet, and chairs and tables are grounded realistically."
|
| 465 |
+
},
|
| 466 |
+
"semantic": {
|
| 467 |
+
"semantic_fidelity_score": 4,
|
| 468 |
+
"semantic_fidelity_reason": "The scene includes a central freestanding bathtub with floor-mounted faucets and lounge chairs nearby, but the grooming area with vanity, sink, and mirror is missing or not visible. The toilet corner is unclear or absent, and storage cabinets and shelves are scattered without clear association. Some requested features like rugs, soft lighting, and clear spa-like atmosphere are not evident.",
|
| 469 |
+
"functional_affordance_score": 5,
|
| 470 |
+
"functional_affordance_reason": "The space is large and uncluttered for walking, but usage of functional zones is compromised. Accessibility to essential bathroom areas such as the toilet and grooming zones is limited or unclear, and the presence of typical bathroom features is insufficient for functional use."
|
| 471 |
+
}
|
| 472 |
+
},
|
| 473 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 6,\n \"aesthetic_harmony_reason\": \"The color palette is somewhat cohesive with warm tones in the seating, but the mix of furniture styles and colors (such as black tables, gray cabinets, and pink chairs) disrupts overall harmony, detracting from a fully unified visual appeal.\",\n \"lived_in_realism_score\": 5,\n \"lived_in_realism_reason\": \"While the scene has many realistic elements like furniture and plants, the open-plan layout with a lounge area directly adjacent to a bathtub in a large undefined volume feels artificial for a bathroom. Also, some furniture choices (e.g., sofas and couches) typically do not belong in a bathroom, impacting realism.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 5,\n \"structural_orchestration_reason\": \"Zones are vaguely separated but lack clear functional grouping and natural flow. The lounge seating is near the bathtub, but the toilet corner is only partially represented and not easily identifiable. Storage and shelving feel randomly placed and disconnected from related functional areas.\",\n \"geometric_grounding_score\": 8,\n \"geometric_grounding_reason\": \"All objects appear properly placed on the floor without floating or incorrect heights. The bathtub has appropriate floor-mounted faucet, and chairs and tables are grounded realistically.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 4,\n \"semantic_fidelity_reason\": \"The scene includes a central freestanding bathtub with floor-mounted faucets and lounge chairs nearby, but the grooming area with vanity, sink, and mirror is missing or not visible. The toilet corner is unclear or absent, and storage cabinets and shelves are scattered without clear association. Some requested features like rugs, soft lighting, and clear spa-like atmosphere are not evident.\",\n \"functional_affordance_score\": 5,\n \"functional_affordance_reason\": \"The space is large and uncluttered for walking, but usage of functional zones is compromised. Accessibility to essential bathroom areas such as the toilet and grooming zones is limited or unclear, and the presence of typical bathroom features is insufficient for functional use.\"\n }\n}\n```",
|
| 474 |
+
"error": null
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"sample_name": "Configure_the_interior_arrange-2025-12-29-06-32-52-940975",
|
| 478 |
+
"sample_path": "data/evaluation_layout_bench/Configure_the_interior_arrange-2025-12-29-06-32-52-940975",
|
| 479 |
+
"prompt": "Configure the interior arrangement of a single, open-plan bathroom that follows this rectangular layout with a slightly recessed corner for a cozy seating area, dividing the space into clear functional zones without interior walls: place a large corner glass shower enclosure with black fixtures in the far right corner of the long back wall, a modern toilet centered along the same wall between two windows, and a freestanding vanity with an under-sink cabinet, round mirror, and countertop toiletries along the right wall beside another window; along the left wall install an open shelving console with neatly arranged towels, bottles, and baskets, flanked by tall plants and wall lighting, while the front-left corner hosts a low partition that backs a compact L-shaped sofa facing inward to a round coffee table on a rug, complemented by a side table and scattered plants; in the middle-right of the room set a round low table and nearby armchair with ottoman or chaise-style lounge to create a relaxation zone, and distribute additional potted plants, decorative accessories, and curtains on all windows so the whole bathroom reads as a luxurious spa-like lounge and wash space within one continuous volume.",
|
| 480 |
+
"evaluation": {
|
| 481 |
+
"perceptual": {
|
| 482 |
+
"aesthetic_harmony_score": 5,
|
| 483 |
+
"aesthetic_harmony_reason": "The scene shows a variety of colors and furniture styles, but the overall aesthetic feels disjointed and lacks cohesive color coordination or design language that would reinforce a spa-like bathroom atmosphere.",
|
| 484 |
+
"lived_in_realism_score": 3,
|
| 485 |
+
"lived_in_realism_reason": "The scene appears almost sparse with floating or improperly placed objects like the toilet and vanity not integrated naturally with the space. The presence of multiple seating areas and lounge furniture is unusual for a bathroom, reducing believability."
|
| 486 |
+
},
|
| 487 |
+
"structural": {
|
| 488 |
+
"structural_orchestration_score": 4,
|
| 489 |
+
"structural_orchestration_reason": "The room layout loosely groups some furniture and plants but lacks clear functional zoning as requested. The seating zones appear isolated without effective low partitions; the bathroom fixtures are placed distant from each other and windows inconsistently.",
|
| 490 |
+
"geometric_grounding_score": 4,
|
| 491 |
+
"geometric_grounding_reason": "Some objects appear to be floating or not properly aligned with the floor, notably the toilet and vanity seem elevated. The low partition and other furniture placement also create awkward spatial relationships indicating poor grounding."
|
| 492 |
+
},
|
| 493 |
+
"semantic": {
|
| 494 |
+
"semantic_fidelity_score": 3,
|
| 495 |
+
"semantic_fidelity_reason": "Key features such as the large corner glass shower enclosure with black fixtures and the freestanding vanity with round mirror are missing or not clearly identifiable. The room type is ambiguous as the mix of lounge furniture dominates over the bathroom fixtures.",
|
| 496 |
+
"functional_affordance_score": 3,
|
| 497 |
+
"functional_affordance_reason": "The space does not support effective use as a bathroom or spa lounge due to lack of clear pathways, functional bathroom elements, and accessible layout. The scattered objects and poor zoning hinder navigation and usability."
|
| 498 |
+
}
|
| 499 |
+
},
|
| 500 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 5,\n \"aesthetic_harmony_reason\": \"The scene shows a variety of colors and furniture styles, but the overall aesthetic feels disjointed and lacks cohesive color coordination or design language that would reinforce a spa-like bathroom atmosphere.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"The scene appears almost sparse with floating or improperly placed objects like the toilet and vanity not integrated naturally with the space. The presence of multiple seating areas and lounge furniture is unusual for a bathroom, reducing believability.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 4,\n \"structural_orchestration_reason\": \"The room layout loosely groups some furniture and plants but lacks clear functional zoning as requested. The seating zones appear isolated without effective low partitions; the bathroom fixtures are placed distant from each other and windows inconsistently.\",\n \"geometric_grounding_score\": 4,\n \"geometric_grounding_reason\": \"Some objects appear to be floating or not properly aligned with the floor, notably the toilet and vanity seem elevated. The low partition and other furniture placement also create awkward spatial relationships indicating poor grounding.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 3,\n \"semantic_fidelity_reason\": \"Key features such as the large corner glass shower enclosure with black fixtures and the freestanding vanity with round mirror are missing or not clearly identifiable. The room type is ambiguous as the mix of lounge furniture dominates over the bathroom fixtures.\",\n \"functional_affordance_score\": 3,\n \"functional_affordance_reason\": \"The space does not support effective use as a bathroom or spa lounge due to lack of clear pathways, functional bathroom elements, and accessible layout. The scattered objects and poor zoning hinder navigation and usability.\"\n }\n}\n```",
|
| 501 |
+
"error": null
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"sample_name": "Generate_a_top-down_view_of_a_-2025-12-29-08-22-32-890275",
|
| 505 |
+
"sample_path": "data/evaluation_layout_bench/Generate_a_top-down_view_of_a_-2025-12-29-08-22-32-890275",
|
| 506 |
+
"prompt": "Generate a top-down view of a bathroom where the toilet area is grouped along one wall, the sink and grooming zone are organized along the opposite wall near the entrance niche, and the remaining central floor space is kept open to support easy circulation and flexible use without any internal partitions.",
|
| 507 |
+
"evaluation": {
|
| 508 |
+
"perceptual": {
|
| 509 |
+
"aesthetic_harmony_score": 3,
|
| 510 |
+
"aesthetic_harmony_reason": "The materials and colors lack consistency and visual cohesion; wood textures are mixed with unrelated objects and finishes, resulting in a visually fragmented scene.",
|
| 511 |
+
"lived_in_realism_score": 2,
|
| 512 |
+
"lived_in_realism_reason": "The scene is highly unrealistic with objects floating or disconnected, inappropriate furniture types, and no coherent spatial definition of a bathroom. It does not resemble a believable or natural bathroom environment."
|
| 513 |
+
},
|
| 514 |
+
"structural": {
|
| 515 |
+
"structural_orchestration_score": 2,
|
| 516 |
+
"structural_orchestration_reason": "The arrangement is disjointed with major objects floating, no clear grouping of the toilet area as described, no visible sink or grooming zone near the entrance, and an overall lack of logical spatial flow or pathways.",
|
| 517 |
+
"geometric_grounding_score": 1,
|
| 518 |
+
"geometric_grounding_reason": "Many objects appear to be floating or not fully resting on floors or surfaces, including cabinets and chairs, violating fundamental geometric grounding principles."
|
| 519 |
+
},
|
| 520 |
+
"semantic": {
|
| 521 |
+
"semantic_fidelity_score": 2,
|
| 522 |
+
"semantic_fidelity_reason": "The scene does not clearly match the user's instruction; the toilet area is not grouped along one wall, sink and grooming zone are not identifiable near an entrance niche, and the floor space is cluttered rather than open.",
|
| 523 |
+
"functional_affordance_score": 1,
|
| 524 |
+
"functional_affordance_reason": "The scene is non-functional as a bathroom; key fixtures are missing or mislocated, making accessibility and use impossible, and circulation is hindered by floating, misplaced furniture."
|
| 525 |
+
}
|
| 526 |
+
},
|
| 527 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The materials and colors lack consistency and visual cohesion; wood textures are mixed with unrelated objects and finishes, resulting in a visually fragmented scene.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene is highly unrealistic with objects floating or disconnected, inappropriate furniture types, and no coherent spatial definition of a bathroom. It does not resemble a believable or natural bathroom environment.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"The arrangement is disjointed with major objects floating, no clear grouping of the toilet area as described, no visible sink or grooming zone near the entrance, and an overall lack of logical spatial flow or pathways.\",\n \"geometric_grounding_score\": 1,\n \"geometric_grounding_reason\": \"Many objects appear to be floating or not fully resting on floors or surfaces, including cabinets and chairs, violating fundamental geometric grounding principles.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 2,\n \"semantic_fidelity_reason\": \"The scene does not clearly match the user's instruction; the toilet area is not grouped along one wall, sink and grooming zone are not identifiable near an entrance niche, and the floor space is cluttered rather than open.\",\n \"functional_affordance_score\": 1,\n \"functional_affordance_reason\": \"The scene is non-functional as a bathroom; key fixtures are missing or mislocated, making accessibility and use impossible, and circulation is hindered by floating, misplaced furniture.\"\n }\n}\n```",
|
| 528 |
+
"error": null
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"sample_name": "A_clean_line-drawing_showing_t-2025-12-29-07-42-19-406572",
|
| 532 |
+
"sample_path": "data/evaluation_layout_bench/A_clean_line-drawing_showing_t-2025-12-29-07-42-19-406572",
|
| 533 |
+
"prompt": "A clean line-drawing showing the arrangement of a rectangular open-plan bathroom where the entry steps lead into a single continuous space fitted with a double-sink vanity and mirrors along one long wall, a toilet and bidet set against the back wall beside a slim storage table, a lounge chair and towel stand occupying the opposite corner, and numerous potted plants distributed around the perimeter to soften the simple box-like geometry.",
|
| 534 |
+
"evaluation": {
|
| 535 |
+
"perceptual": {
|
| 536 |
+
"aesthetic_harmony_score": 4,
|
| 537 |
+
"aesthetic_harmony_reason": "The scene lacks cohesive color coordination and style consistency. Objects appear randomly chosen and placed with no unifying visual theme, and the scene does not feel aesthetically harmonious.",
|
| 538 |
+
"lived_in_realism_score": 3,
|
| 539 |
+
"lived_in_realism_reason": "The space does not feel lived-in or realistic: many objects are sparsely placed, some are misplaced for a bathroom setting, and the overall environment lacks natural object placement or typical bathroom accessories."
|
| 540 |
+
},
|
| 541 |
+
"structural": {
|
| 542 |
+
"structural_orchestration_score": 3,
|
| 543 |
+
"structural_orchestration_reason": "The layout is disorganized and does not establish a clear spatial relationship or logical grouping. Key furniture and fixtures like the double-sink vanity, toilet, bidet, lounge chair, and towel stand are either missing or not positioned according to the given instruction.",
|
| 544 |
+
"geometric_grounding_score": 6,
|
| 545 |
+
"geometric_grounding_reason": "Most objects appear grounded on the floor with no noticeable floating. However, some smaller objects' positioning is unclear, and the scene geometry does not fully support a believable arrangement."
|
| 546 |
+
},
|
| 547 |
+
"semantic": {
|
| 548 |
+
"semantic_fidelity_score": 2,
|
| 549 |
+
"semantic_fidelity_reason": "The generated scene fails to include many requested elements: the double-sink vanity and mirrors along one wall are absent, as are a toilet, bidet, and slim storage table in the specified position. Lounge chair and towel stand placement is also inaccurate, and the scene lacks the open-plan rectangular bathroom layout described.",
|
| 550 |
+
"functional_affordance_score": 3,
|
| 551 |
+
"functional_affordance_reason": "Due to poor object placement and missing key functional bathroom elements, the scene does not afford practical usage or natural walk-through. Many objects appear isolated with unclear purpose within the space."
|
| 552 |
+
}
|
| 553 |
+
},
|
| 554 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 4,\n \"aesthetic_harmony_reason\": \"The scene lacks cohesive color coordination and style consistency. Objects appear randomly chosen and placed with no unifying visual theme, and the scene does not feel aesthetically harmonious.\",\n \"lived_in_realism_score\": 3,\n \"lived_in_realism_reason\": \"The space does not feel lived-in or realistic: many objects are sparsely placed, some are misplaced for a bathroom setting, and the overall environment lacks natural object placement or typical bathroom accessories.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 3,\n \"structural_orchestration_reason\": \"The layout is disorganized and does not establish a clear spatial relationship or logical grouping. Key furniture and fixtures like the double-sink vanity, toilet, bidet, lounge chair, and towel stand are either missing or not positioned according to the given instruction.\",\n \"geometric_grounding_score\": 6,\n \"geometric_grounding_reason\": \"Most objects appear grounded on the floor with no noticeable floating. However, some smaller objects' positioning is unclear, and the scene geometry does not fully support a believable arrangement.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 2,\n \"semantic_fidelity_reason\": \"The generated scene fails to include many requested elements: the double-sink vanity and mirrors along one wall are absent, as are a toilet, bidet, and slim storage table in the specified position. Lounge chair and towel stand placement is also inaccurate, and the scene lacks the open-plan rectangular bathroom layout described.\",\n \"functional_affordance_score\": 3,\n \"functional_affordance_reason\": \"Due to poor object placement and missing key functional bathroom elements, the scene does not afford practical usage or natural walk-through. Many objects appear isolated with unclear purpose within the space.\"\n }\n}\n```",
|
| 555 |
+
"error": null
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"sample_name": "For_this_particular_irregular_-2025-12-29-06-25-05-298042",
|
| 559 |
+
"sample_path": "data/evaluation_layout_bench/For_this_particular_irregular_-2025-12-29-06-25-05-298042",
|
| 560 |
+
"prompt": "For this particular irregular footprint, plan a bathroom where the long main span is organized into distinct open zones for grooming along one side, toilet and shower activities grouped together near the windows, and a relaxing bathing and lounge area defined by interior screens toward the front, all separated purely by fixture alignment and partial partitions rather than full walls.",
|
| 561 |
+
"evaluation": {
|
| 562 |
+
"perceptual": {
|
| 563 |
+
"aesthetic_harmony_score": 3,
|
| 564 |
+
"aesthetic_harmony_reason": "The scene has a mismatched style and materials that lack cohesion; materials appear flat and some object finishes (e.g., wood screen vs. gray tub) clash, reducing overall visual appeal.",
|
| 565 |
+
"lived_in_realism_score": 2,
|
| 566 |
+
"lived_in_realism_reason": "The scene looks more like a sparse mockup or fragmentary assembly than a lived-in bathroom. The presence of a cabinet and two unusual wooden partitions without clear functional context undermines realism."
|
| 567 |
+
},
|
| 568 |
+
"structural": {
|
| 569 |
+
"structural_orchestration_score": 3,
|
| 570 |
+
"structural_orchestration_reason": "The spatial layout is unclear and objects are oddly dispersed. Key bathroom zones are not clearly defined or logically grouped. For instance, toilet and shower zones near windows are missing.",
|
| 571 |
+
"geometric_grounding_score": 5,
|
| 572 |
+
"geometric_grounding_reason": "Objects mostly rest on the floor properly, but some elements (like the bench and screens) appear to float or are placed offset awkwardly. Overall grounding is uneven."
|
| 573 |
+
},
|
| 574 |
+
"semantic": {
|
| 575 |
+
"semantic_fidelity_score": 2,
|
| 576 |
+
"semantic_fidelity_reason": "The instruction to create distinct open zones for grooming, toilet/shower near windows, and bathing/lounge with partial partitions is not fulfilled. No toilet or shower fixture is present, only a bathtub and unrelated screens.",
|
| 577 |
+
"functional_affordance_score": 3,
|
| 578 |
+
"functional_affordance_reason": "The scene is non-functional as a bathroom due to missing essential fixtures (toilet, shower) and poor layout; pathways and usability around objects are limited."
|
| 579 |
+
}
|
| 580 |
+
},
|
| 581 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene has a mismatched style and materials that lack cohesion; materials appear flat and some object finishes (e.g., wood screen vs. gray tub) clash, reducing overall visual appeal.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene looks more like a sparse mockup or fragmentary assembly than a lived-in bathroom. The presence of a cabinet and two unusual wooden partitions without clear functional context undermines realism.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 3,\n \"structural_orchestration_reason\": \"The spatial layout is unclear and objects are oddly dispersed. Key bathroom zones are not clearly defined or logically grouped. For instance, toilet and shower zones near windows are missing.\",\n \"geometric_grounding_score\": 5,\n \"geometric_grounding_reason\": \"Objects mostly rest on the floor properly, but some elements (like the bench and screens) appear to float or are placed offset awkwardly. Overall grounding is uneven.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 2,\n \"semantic_fidelity_reason\": \"The instruction to create distinct open zones for grooming, toilet/shower near windows, and bathing/lounge with partial partitions is not fulfilled. No toilet or shower fixture is present, only a bathtub and unrelated screens.\",\n \"functional_affordance_score\": 3,\n \"functional_affordance_reason\": \"The scene is non-functional as a bathroom due to missing essential fixtures (toilet, shower) and poor layout; pathways and usability around objects are limited.\"\n }\n}\n```",
|
| 582 |
+
"error": null
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"sample_name": "Furnish_a_single_open_space_to-2025-12-29-07-37-15-130593",
|
| 586 |
+
"sample_path": "data/evaluation_layout_bench/Furnish_a_single_open_space_to-2025-12-29-07-37-15-130593",
|
| 587 |
+
"prompt": "Furnish a single open space to create a bathroom where one side forms a bathing and vanity zone with tub, sink, and mirror, while the opposite side is organized as a toilet and shower zone, keeping clear circulation through the center and visually separating wet and dry areas using fixture placement.",
|
| 588 |
+
"evaluation": {
|
| 589 |
+
"perceptual": {
|
| 590 |
+
"aesthetic_harmony_score": 3,
|
| 591 |
+
"aesthetic_harmony_reason": "The scene shows a cluttered aesthetic with inconsistent styles and finishes; the materials and colors of objects do not harmonize well and there is an overall disjointed visual impression.",
|
| 592 |
+
"lived_in_realism_score": 2,
|
| 593 |
+
"lived_in_realism_reason": "The scene does not look like a realistic bathroom, with objects such as shelves floating on the wall without realistic mounting, an incongruous mix of items (like a skateboard on the floor), and lack of typical bathroom finishes."
|
| 594 |
+
},
|
| 595 |
+
"structural": {
|
| 596 |
+
"structural_orchestration_score": 2,
|
| 597 |
+
"structural_orchestration_reason": "The spatial layout is confusing and illogical; objects are not organized into clear zones as requested. The toilet is placed adjacent to the vanity but lacks clear shower placement on the opposite side. Circulation through the center is blocked by several objects, and there is no clear division of wet and dry zones.",
|
| 598 |
+
"geometric_grounding_score": 2,
|
| 599 |
+
"geometric_grounding_reason": "Multiple objects such as shelves appear to float on the wall without clear mounting or support, and some pieces like the skateboard are placed on the floor but seem out of place. Object placement in general lacks proper contact and alignment with floor and walls."
|
| 600 |
+
},
|
| 601 |
+
"semantic": {
|
| 602 |
+
"semantic_fidelity_score": 3,
|
| 603 |
+
"semantic_fidelity_reason": "The scene includes some requested elements such as tub, toilet, and sink, but is missing a clear shower and mirror. The requested room type as a bathroom is mostly identifiable but key instruction details about zoning and circulation are not fulfilled.",
|
| 604 |
+
"functional_affordance_score": 2,
|
| 605 |
+
"functional_affordance_reason": "The cluttered and disorganized layout prevents clear walkways and functional use of the space. The lack of a shower and the presence of unrelated items reduce the bathroom's usability and accessibility."
|
| 606 |
+
}
|
| 607 |
+
},
|
| 608 |
+
"raw_response": "```json\n{\n \"perceptual\": {\n \"aesthetic_harmony_score\": 3,\n \"aesthetic_harmony_reason\": \"The scene shows a cluttered aesthetic with inconsistent styles and finishes; the materials and colors of objects do not harmonize well and there is an overall disjointed visual impression.\",\n \"lived_in_realism_score\": 2,\n \"lived_in_realism_reason\": \"The scene does not look like a realistic bathroom, with objects such as shelves floating on the wall without realistic mounting, an incongruous mix of items (like a skateboard on the floor), and lack of typical bathroom finishes.\"\n },\n \"structural\": {\n \"structural_orchestration_score\": 2,\n \"structural_orchestration_reason\": \"The spatial layout is confusing and illogical; objects are not organized into clear zones as requested. The toilet is placed adjacent to the vanity but lacks clear shower placement on the opposite side. Circulation through the center is blocked by several objects, and there is no clear division of wet and dry zones.\",\n \"geometric_grounding_score\": 2,\n \"geometric_grounding_reason\": \"Multiple objects such as shelves appear to float on the wall without clear mounting or support, and some pieces like the skateboard are placed on the floor but seem out of place. Object placement in general lacks proper contact and alignment with floor and walls.\"\n },\n \"semantic\": {\n \"semantic_fidelity_score\": 3,\n \"semantic_fidelity_reason\": \"The scene includes some requested elements such as tub, toilet, and sink, but is missing a clear shower and mirror. The requested room type as a bathroom is mostly identifiable but key instruction details about zoning and circulation are not fulfilled.\",\n \"functional_affordance_score\": 2,\n \"functional_affordance_reason\": \"The cluttered and disorganized layout prevents clear walkways and functional use of the space. The lack of a shower and the presence of unrelated items reduce the bathroom's usability and accessibility.\"\n }\n}\n```",
|
| 609 |
+
"error": null
|
| 610 |
+
}
|
| 611 |
+
]
|
| 612 |
+
}
|
eval/Holodeck/data/layout_instr_bench_test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/Holodeck/data/layout_instr_bench_v2.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/Holodeck/data/pipeline_outputs/Aiming_for_a_multiuse_living_s-2026-01-04-12-09-40-462092/evaluation_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"success": true,
|
| 3 |
+
"out_of_bounds_volume": 1.1783816299386296,
|
| 4 |
+
"collision_volume": 0.010210601449664906,
|
| 5 |
+
"num_objects": 48,
|
| 6 |
+
"num_objects_processed": 48,
|
| 7 |
+
"error": null
|
| 8 |
+
}
|
eval/Holodeck/data/pipeline_outputs/Aiming_for_a_multiuse_living_s-2026-01-04-12-09-40-462092/pipeline_results.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompt": "Aiming for a multiuse living space that smoothly combines kitchen cabinets and appliances, dining and work tables, couches, stools, bins, and small decor pieces into one open room.",
|
| 3 |
+
"output_dir": "data/pipeline_outputs/Aiming_for_a_multiuse_living_s-2026-01-04-12-09-40-462092",
|
| 4 |
+
"timestamp": "2026-01-04-12-09-40-462092",
|
| 5 |
+
"generation": {
|
| 6 |
+
"success": true,
|
| 7 |
+
"error": null
|
| 8 |
+
},
|
| 9 |
+
"evaluation": {
|
| 10 |
+
"success": true,
|
| 11 |
+
"out_of_bounds_volume": 1.1783816299386296,
|
| 12 |
+
"collision_volume": 0.010210601449664906,
|
| 13 |
+
"num_objects": 48,
|
| 14 |
+
"num_objects_processed": 48,
|
| 15 |
+
"error": null
|
| 16 |
+
},
|
| 17 |
+
"rendering": null
|
| 18 |
+
}
|
eval/Holodeck/data/pipeline_outputs/Design_a_bathroom_that_integra-2026-01-04-16-30-48-174650/evaluation_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"success": true,
|
| 3 |
+
"out_of_bounds_volume": 0.32311950181246984,
|
| 4 |
+
"collision_volume": 0.0005535532914655169,
|
| 5 |
+
"num_objects": 12,
|
| 6 |
+
"num_objects_processed": 12,
|
| 7 |
+
"error": null
|
| 8 |
+
}
|
eval/Holodeck/data/pipeline_outputs/Design_a_bathroom_that_integra-2026-01-04-16-30-48-174650/pipeline_results.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompt": "Design a bathroom that integrates a heating element near the toilet area within a narrow side of the room.",
|
| 3 |
+
"output_dir": "data/pipeline_outputs/Design_a_bathroom_that_integra-2026-01-04-16-30-48-174650",
|
| 4 |
+
"timestamp": "2026-01-04-16-30-48-174650",
|
| 5 |
+
"generation": {
|
| 6 |
+
"success": true,
|
| 7 |
+
"error": null
|
| 8 |
+
},
|
| 9 |
+
"evaluation": {
|
| 10 |
+
"success": true,
|
| 11 |
+
"out_of_bounds_volume": 0.32311950181246984,
|
| 12 |
+
"collision_volume": 0.0005535532914655169,
|
| 13 |
+
"num_objects": 12,
|
| 14 |
+
"num_objects_processed": 12,
|
| 15 |
+
"error": null
|
| 16 |
+
},
|
| 17 |
+
"rendering": null
|
| 18 |
+
}
|
eval/Holodeck/data/pipeline_outputs/I_want_an_inviting_entry_stora-2026-01-04-18-28-24-469019/pipeline_results.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompt": "I want an inviting entry storage area with a wardrobe and hall tree that provide both closed storage and open hooks and shelves in warm wood tones.",
|
| 3 |
+
"output_dir": "data/pipeline_outputs/I_want_an_inviting_entry_stora-2026-01-04-18-28-24-469019",
|
| 4 |
+
"timestamp": "2026-01-04-18-28-24-469019",
|
| 5 |
+
"generation": {
|
| 6 |
+
"success": true,
|
| 7 |
+
"error": null
|
| 8 |
+
},
|
| 9 |
+
"evaluation": {
|
| 10 |
+
"success": true,
|
| 11 |
+
"out_of_bounds_volume": 1.367848916555565,
|
| 12 |
+
"collision_volume": 0.008510442773858028,
|
| 13 |
+
"num_objects": 18,
|
| 14 |
+
"num_objects_processed": 18,
|
| 15 |
+
"error": null
|
| 16 |
+
},
|
| 17 |
+
"rendering": null
|
| 18 |
+
}
|
eval/Holodeck/data/pipeline_outputs/I_want_the_zone_to_feel_slight-2026-01-04-18-10-34-660446/evaluation_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"success": true,
|
| 3 |
+
"out_of_bounds_volume": 0.6307179508431163,
|
| 4 |
+
"collision_volume": 0.025761961354099274,
|
| 5 |
+
"num_objects": 46,
|
| 6 |
+
"num_objects_processed": 46,
|
| 7 |
+
"error": null
|
| 8 |
+
}
|
eval/Holodeck/data/pipeline_outputs/I_want_the_zone_to_feel_slight-2026-01-04-18-10-34-660446/pipeline_results.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompt": "I want the zone to feel slightly industrial, with metal-framed chairs, a wooden table, a tall bookcase, and a graphic pendant fixture.",
|
| 3 |
+
"output_dir": "data/pipeline_outputs/I_want_the_zone_to_feel_slight-2026-01-04-18-10-34-660446",
|
| 4 |
+
"timestamp": "2026-01-04-18-10-34-660446",
|
| 5 |
+
"generation": {
|
| 6 |
+
"success": true,
|
| 7 |
+
"error": null
|
| 8 |
+
},
|
| 9 |
+
"evaluation": {
|
| 10 |
+
"success": true,
|
| 11 |
+
"out_of_bounds_volume": 0.6307179508431163,
|
| 12 |
+
"collision_volume": 0.025761961354099274,
|
| 13 |
+
"num_objects": 46,
|
| 14 |
+
"num_objects_processed": 46,
|
| 15 |
+
"error": null
|
| 16 |
+
},
|
| 17 |
+
"rendering": null
|
| 18 |
+
}
|
eval/LayoutGPT/batch_render_bench.py
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""批量渲染bench_vs_baselines的各个case"""
|
| 3 |
+
import os
|
| 4 |
+
import subprocess
|
| 5 |
+
import glob
|
| 6 |
+
|
| 7 |
+
CASES_DIR = "/home/v-meiszhang/amlt-project/acl-style-files/img/bench_vs_baselines"
|
| 8 |
+
LAYOUTS_DIR = "/home/v-meiszhang/amlt-project/LayoutGPT/output_instr_bench/layouts"
|
| 9 |
+
RENDER_SCRIPT = "/home/v-meiszhang/amlt-project/LayoutGPT/visualize_zones_blender.py"
|
| 10 |
+
|
| 11 |
+
# Case搜索关键词
|
| 12 |
+
case_queries = {
|
| 13 |
+
"case1": "six chairs",
|
| 14 |
+
"case2": "two facing sofas",
|
| 15 |
+
"case3": "large bed centered",
|
| 16 |
+
"case4": "L-shaped sectional",
|
| 17 |
+
"case5": "four main workstation",
|
| 18 |
+
"case6": "irregular polygonal bedroom",
|
| 19 |
+
"case7": "pentagonal living",
|
| 20 |
+
"case8": "polygonal shell",
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
def find_layout(query):
|
| 24 |
+
"""在layouts目录中查找匹配的layout文件"""
|
| 25 |
+
for layout_file in glob.glob(f"{LAYOUTS_DIR}/*.json"):
|
| 26 |
+
try:
|
| 27 |
+
with open(layout_file, 'r') as f:
|
| 28 |
+
content = f.read()
|
| 29 |
+
if query.lower() in content.lower():
|
| 30 |
+
return layout_file
|
| 31 |
+
except:
|
| 32 |
+
continue
|
| 33 |
+
return None
|
| 34 |
+
|
| 35 |
+
def render_case(case_name, layout_file, output_dir):
|
| 36 |
+
"""渲染单个case"""
|
| 37 |
+
output_file = os.path.join(output_dir, "layoutgpt_render.png")
|
| 38 |
+
cmd = [
|
| 39 |
+
"python", RENDER_SCRIPT,
|
| 40 |
+
"--layout_json", layout_file,
|
| 41 |
+
"--output", output_file,
|
| 42 |
+
"--render",
|
| 43 |
+
"--view", "diagonal"
|
| 44 |
+
]
|
| 45 |
+
print(f"渲染 {case_name}: {os.path.basename(layout_file)}")
|
| 46 |
+
result = subprocess.run(cmd, capture_output=True, text=True)
|
| 47 |
+
if result.returncode != 0:
|
| 48 |
+
print(f" 错误: {result.stderr[-300:] if result.stderr else 'unknown'}")
|
| 49 |
+
return result.returncode == 0
|
| 50 |
+
|
| 51 |
+
def main():
|
| 52 |
+
for case_name, query in case_queries.items():
|
| 53 |
+
case_dir = os.path.join(CASES_DIR, case_name)
|
| 54 |
+
if not os.path.exists(case_dir):
|
| 55 |
+
print(f"跳过 {case_name}: 目录不存在")
|
| 56 |
+
continue
|
| 57 |
+
|
| 58 |
+
layout_file = find_layout(query)
|
| 59 |
+
if not layout_file:
|
| 60 |
+
print(f"跳过 {case_name}: 找不到layout (query: {query})")
|
| 61 |
+
continue
|
| 62 |
+
|
| 63 |
+
if render_case(case_name, layout_file, case_dir):
|
| 64 |
+
print(f"完成 {case_name}")
|
| 65 |
+
else:
|
| 66 |
+
print(f"失败 {case_name}")
|
| 67 |
+
|
| 68 |
+
if __name__ == "__main__":
|
| 69 |
+
main()
|
eval/LayoutGPT/eval_scene_layout.py
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import os.path as op
|
| 3 |
+
import sys
|
| 4 |
+
import numpy as np
|
| 5 |
+
from numpy import *
|
| 6 |
+
import json
|
| 7 |
+
from tqdm import tqdm
|
| 8 |
+
import copy
|
| 9 |
+
import argparse
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
parser = argparse.ArgumentParser("Scene layout evaluation")
|
| 13 |
+
parser.add_argument("-f", "--file", type=str)
|
| 14 |
+
parser.add_argument("-r", "--room", type=str)
|
| 15 |
+
parser.add_argument('--dataset_dir', type=str)
|
| 16 |
+
parser.add_argument("--is_atiss", action='store_true')
|
| 17 |
+
args = parser.parse_args()
|
| 18 |
+
|
| 19 |
+
dataset_prefix = args.dataset_dir
|
| 20 |
+
with open(os.path.join(dataset_prefix, "dataset_stats.txt"), "r") as fin:
|
| 21 |
+
stats = json.load(fin)
|
| 22 |
+
splits = json.load(open(f"./dataset/3D/{args.room}_splits.json", "r"))
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def load_room_boxes(prefix, id, stats):
|
| 26 |
+
data = np.load(op.join(prefix, id, 'boxes.npz'))
|
| 27 |
+
x_c, y_c = data['floor_plan_centroid'][0], data['floor_plan_centroid'][2]
|
| 28 |
+
x_offset = min(data['floor_plan_vertices'][:,0])
|
| 29 |
+
y_offset = min(data['floor_plan_vertices'][:,2])
|
| 30 |
+
room_length = max(data['floor_plan_vertices'][:,0]) - min(data['floor_plan_vertices'][:,0])
|
| 31 |
+
room_width = max(data['floor_plan_vertices'][:,2]) - min(data['floor_plan_vertices'][:,2])
|
| 32 |
+
vertices = np.stack((data['floor_plan_vertices'][:,0]-x_offset, data['floor_plan_vertices'][:,2]-y_offset), axis=1)
|
| 33 |
+
vertices = np.asarray([list(nxy) for nxy in set(tuple(xy) for xy in vertices)])
|
| 34 |
+
vertices = [f'({v[0]:.2f}, {v[1]:.2f})' for v in vertices]
|
| 35 |
+
|
| 36 |
+
objects = []
|
| 37 |
+
for label, size, angle, loc in zip(data['class_labels'], data['sizes'], data['angles'], data['translations']):
|
| 38 |
+
label_idx = np.where(label)[0][0]
|
| 39 |
+
if label_idx >= len(stats['object_types']):
|
| 40 |
+
continue
|
| 41 |
+
cat = stats['object_types'][label_idx]
|
| 42 |
+
length, height, width = size
|
| 43 |
+
orientation = round(angle[0] / 3.1415926 * 180)
|
| 44 |
+
dx,dz,dy = loc
|
| 45 |
+
objects.append([cat, length, width, height, dx+x_c-x_offset, dy+y_c-y_offset, dz, angle])
|
| 46 |
+
return room_length, room_width, objects
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def roty(t):
|
| 50 |
+
c = np.cos(t)
|
| 51 |
+
s = np.sin(t)
|
| 52 |
+
return np.array([[c, s],
|
| 53 |
+
[-s,c]])
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def invalid_object_size(output, stats, normalized=False, pixel=False, margin=0.1):
|
| 57 |
+
invalid_objects = []
|
| 58 |
+
counter = 0
|
| 59 |
+
invalid_scenes = []
|
| 60 |
+
for out in output:
|
| 61 |
+
invalid_scene = False
|
| 62 |
+
rl, rw, _ = load_room_boxes(dataset_prefix, out['query_id'], stats)
|
| 63 |
+
data = np.load(op.join(dataset_prefix, out['query_id'], 'boxes.npz'))
|
| 64 |
+
x_c, y_c = data['floor_plan_centroid'][0], data['floor_plan_centroid'][2]
|
| 65 |
+
|
| 66 |
+
pred_objects = copy.deepcopy(out['object_list'])
|
| 67 |
+
|
| 68 |
+
norm = 1
|
| 69 |
+
if pixel:
|
| 70 |
+
norm = min(rl, rw) / 256.
|
| 71 |
+
else:
|
| 72 |
+
if normalized:
|
| 73 |
+
norm = min(rl, rw)
|
| 74 |
+
|
| 75 |
+
for _, box in pred_objects:
|
| 76 |
+
for k,v in box.items():
|
| 77 |
+
if k == 'orientation': continue
|
| 78 |
+
box[k] = v*norm
|
| 79 |
+
|
| 80 |
+
for cat, box in pred_objects:
|
| 81 |
+
R = roty(box['orientation']/180*pi)
|
| 82 |
+
box_vertices = np.asarray([[-box['length']/2, -box['width']/2],
|
| 83 |
+
[box['length']/2, -box['width']/2],
|
| 84 |
+
[-box['length']/2, box['width']/2],
|
| 85 |
+
[box['length']/2, box['width']/2]])
|
| 86 |
+
box_vertices = box_vertices@R
|
| 87 |
+
box_vertices += np.asarray([[box['left'], box['top']]])
|
| 88 |
+
|
| 89 |
+
# if box['left'] + box['length']/2 > rl + 0.1 or box['top'] + box['width']/2 > rw + 0.1 or box['left'] - box['length']/2 < -0.1 or box['top'] - box['width']/2 < -0.1:
|
| 90 |
+
if max(box_vertices[:, 0]) > rl+margin or min(box_vertices[:, 0]) < -margin or max(box_vertices[:, 1]) > rw+margin or min(box_vertices[:, 1]) < -margin:
|
| 91 |
+
invalid_objects.append([out['query_id'], cat,
|
| 92 |
+
max(box['left'] + box['length']/2 - rl, box['top'] + box['width']/2 - rw,
|
| 93 |
+
(box['left'] - box['length']/2)*-1, (box['top'] - box['width']/2)*-1)])
|
| 94 |
+
invalid_scene = True
|
| 95 |
+
counter += 1
|
| 96 |
+
if invalid_scene:
|
| 97 |
+
invalid_scenes.append(out['query_id'])
|
| 98 |
+
|
| 99 |
+
return len(invalid_objects) / counter, invalid_scenes, invalid_objects
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def categorical_kl(p, q):
|
| 103 |
+
return (p * (np.log(p + 1e-6) - np.log(q + 1e-6))).sum()
|
| 104 |
+
|
| 105 |
+
def object_category_KL_divergence(output, gt_data, stats):
|
| 106 |
+
all_categories = stats['object_types']
|
| 107 |
+
gt_label_freq = {c: 0 for c in all_categories}
|
| 108 |
+
pred_label_freq = {c: 0 for c in all_categories}
|
| 109 |
+
|
| 110 |
+
for d in gt_data.values():
|
| 111 |
+
for obj in d[2]:
|
| 112 |
+
gt_label_freq[obj[0]] += 1
|
| 113 |
+
gt_label_freq = np.asarray([gt_label_freq[k]/sum(list(gt_label_freq.values())) for k in sorted(all_categories)])
|
| 114 |
+
|
| 115 |
+
for out in output:
|
| 116 |
+
for obj in out['object_list']:
|
| 117 |
+
if obj[0] not in all_categories: continue
|
| 118 |
+
pred_label_freq[obj[0]] += 1
|
| 119 |
+
pred_label_freq = np.asarray([pred_label_freq[k]/sum(list(pred_label_freq.values())) for k in sorted(all_categories)])
|
| 120 |
+
|
| 121 |
+
kl_div = categorical_kl(gt_label_freq, pred_label_freq)
|
| 122 |
+
|
| 123 |
+
return kl_div, gt_label_freq, pred_label_freq, sorted(all_categories)
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
def postprocess_atiss(output):
|
| 127 |
+
id2full = {x.split("_")[-1]:x for x in splits['test']}
|
| 128 |
+
for o in output:
|
| 129 |
+
o['query_id'] = id2full[o['id']]
|
| 130 |
+
|
| 131 |
+
regular_output = []
|
| 132 |
+
for out in output:
|
| 133 |
+
if out['query_id'] in splits['rect_test']:
|
| 134 |
+
data = np.load(os.path.join(dataset_prefix, out['query_id'], 'boxes.npz'))
|
| 135 |
+
x_c, y_c = data['floor_plan_centroid'][0], data['floor_plan_centroid'][2]
|
| 136 |
+
x_offset = min(data['floor_plan_vertices'][:,0])
|
| 137 |
+
y_offset = min(data['floor_plan_vertices'][:,2])
|
| 138 |
+
for _, o in out['object_list']:
|
| 139 |
+
for k in ['length', 'width', 'height']:
|
| 140 |
+
o[k] = o[k]*2
|
| 141 |
+
o['left'] = o['left'] + x_c - x_offset
|
| 142 |
+
o['top'] = o['top'] + y_c - y_offset
|
| 143 |
+
o['orientation'] = round((o['orientation']/np.pi) * 180)
|
| 144 |
+
regular_output.append(out)
|
| 145 |
+
return regular_output
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
if __name__ == '__main__':
|
| 149 |
+
test_ids_regular = splits['rect_test']
|
| 150 |
+
test_data_regular = {id:load_room_boxes(dataset_prefix, id, stats) for id in tqdm(test_ids_regular)}
|
| 151 |
+
output = json.load(open(args.file))
|
| 152 |
+
if args.is_atiss:
|
| 153 |
+
output = postprocess_atiss(output)
|
| 154 |
+
|
| 155 |
+
invalid_objs, invalid_scenes, laa = invalid_object_size(output, stats,
|
| 156 |
+
normalized=True, pixel=True,
|
| 157 |
+
margin=0.1)
|
| 158 |
+
print("Out-of-bound rate: ", len(invalid_scenes)/len(output))
|
| 159 |
+
|
| 160 |
+
KL_divergence, a, b, cats = object_category_KL_divergence(output, {k:v for k, v in test_data_regular.items() if k in splits['rect_test']}, stats)
|
| 161 |
+
print("KL Divergence: ", KL_divergence)
|
eval/LayoutGPT/gpt_eval_instr_bench.log
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nohup: ignoring input
|
| 2 |
+
Found 700 samples to evaluate
|
| 3 |
+
|
| 4 |
+
Worker 3: API retry 1 for H-shaped_03_007718_1766288118559261
|
| 5 |
+
|
| 6 |
+
========== GPT Evaluation Summary ==========
|
| 7 |
+
Total samples: 700
|
| 8 |
+
Successful: 700
|
| 9 |
+
Failed: 0
|
| 10 |
+
|
| 11 |
+
Average Scores:
|
| 12 |
+
aesthetic_harmony: 4.51
|
| 13 |
+
lived_in_realism: 1.71
|
| 14 |
+
structural_orchestration: 2.26
|
| 15 |
+
geometric_grounding: 3.85
|
| 16 |
+
semantic_fidelity: 3.39
|
| 17 |
+
functional_affordance: 3.04
|
| 18 |
+
|
| 19 |
+
Overall Average: 3.13
|
| 20 |
+
|
| 21 |
+
Results saved to: instr_bench_gpt_eval.json
|
eval/LayoutGPT/run_instr_bench_v2.log
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nohup: ignoring input
|
| 2 |
+
Warning: CLIP not installed, k-similar disabled
|
| 3 |
+
加载 824 个测试样本
|
| 4 |
+
3D-FRONT bedroom 训练集: 3397 个
|
| 5 |
+
|
| 6 |
+
成功加载 200 个 bedroom ICL 示例
|
| 7 |
+
3D-FRONT livingroom 训练集: 690 个
|
| 8 |
+
|
| 9 |
+
成功加载 200 个 livingroom ICL 示例
|
| 10 |
+
总共 400 个 ICL 示例
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
完成! 成功: 824/824 (跳过已存在: 0)
|
| 14 |
+
结果保存到: ./output_instr_bench_v2
|
eval/LayoutGPT/run_layoutgpt_2d.py
ADDED
|
@@ -0,0 +1,386 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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6 |
+
import torch
|
| 7 |
+
import numpy as np
|
| 8 |
+
from tqdm import tqdm
|
| 9 |
+
import time
|
| 10 |
+
import random
|
| 11 |
+
import argparse
|
| 12 |
+
import openai
|
| 13 |
+
from transformers import GPT2TokenizerFast, LlamaForCausalLM, LlamaTokenizer
|
| 14 |
+
import transformers
|
| 15 |
+
from utils import *
|
| 16 |
+
|
| 17 |
+
openai.organization = ""
|
| 18 |
+
openai.api_key = ""
|
| 19 |
+
|
| 20 |
+
# GPT-3 Type
|
| 21 |
+
llm_name2id = {
|
| 22 |
+
'llama-7b': 'meta-llama/Llama-2-7b-hf',
|
| 23 |
+
'llama-13b': 'meta-llama/Llama-2-13b-hf',
|
| 24 |
+
'llama-70b': 'meta-llama/Llama-2-70b-hf',
|
| 25 |
+
'gpt3.5': 'text-davinci-003',
|
| 26 |
+
'gpt3.5-chat': 'gpt-3.5-turbo',
|
| 27 |
+
'gpt4': 'gpt-4',
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
parser = argparse.ArgumentParser(prog='LayoutGPT: text-based image layout planning', description='Use LayoutGPT to generate image layouts.')
|
| 31 |
+
parser.add_argument('--input_info_dir', type=str, default='./dataset/NSR-1K')
|
| 32 |
+
parser.add_argument('--base_output_dir', type=str, default='./llm_output')
|
| 33 |
+
parser.add_argument('--setting', type=str, default='counting', choices=['counting', 'spatial'])
|
| 34 |
+
parser.add_argument('--matching_content_type', type=str, default='visual')
|
| 35 |
+
parser.add_argument('--llm_type', type=str, default='gpt4', choices=list(llm_name2id.keys()))
|
| 36 |
+
parser.add_argument('--icl_type', type=str, default='k-similar', choices=['fixed-random', 'k-similar'])
|
| 37 |
+
parser.add_argument('--K', type=int, default=8)
|
| 38 |
+
parser.add_argument('--gpt_input_length_limit', type=int, default=3000)
|
| 39 |
+
parser.add_argument('--canvas_size', type=int, default=256)
|
| 40 |
+
parser.add_argument("--n_iter", type=int, default=1)
|
| 41 |
+
parser.add_argument("--test", action='store_true')
|
| 42 |
+
parser.add_argument('--verbose', default=False, action='store_true')
|
| 43 |
+
args = parser.parse_args()
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
if args.icl_type == 'k-similar':
|
| 47 |
+
# Load CLIP model
|
| 48 |
+
clip_feature_name = 'ViT-L/14'.lower().replace('/', '-')
|
| 49 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 50 |
+
clip_model, preprocess = clip.load('ViT-L/14', device=device)
|
| 51 |
+
clip_model = clip_model.to(device)
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def load_features(content):
|
| 55 |
+
"""Load visual/text features from npz file"""
|
| 56 |
+
np_filename = os.path.join(
|
| 57 |
+
args.input_info_dir, args.setting,
|
| 58 |
+
f'train.{args.setting}.{clip_feature_name}.{content}.npz',
|
| 59 |
+
)
|
| 60 |
+
feature_list = np.load(np_filename)['feature_list']
|
| 61 |
+
features = torch.HalfTensor(feature_list).to(device)
|
| 62 |
+
features /= features.norm(dim=-1, keepdim=True)
|
| 63 |
+
return features
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def create_exemplar_prompt(caption, object_list, canvas_size, is_chat=False):
|
| 67 |
+
if is_chat:
|
| 68 |
+
prompt = ''
|
| 69 |
+
else:
|
| 70 |
+
prompt = f'\nPrompt: {caption}\nLayout:\n'
|
| 71 |
+
|
| 72 |
+
for obj_info in object_list:
|
| 73 |
+
category, bbox = obj_info
|
| 74 |
+
coord_list = [int(i*canvas_size) for i in bbox]
|
| 75 |
+
x, y, w, h = coord_list
|
| 76 |
+
prompt += f'{category} {{height: {h}px; width: {w}px; top: {y}px; left: {x}px; }}\n'
|
| 77 |
+
return prompt
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
def form_prompt_for_chatgpt(text_input, top_k, tokenizer, supporting_examples=None, features=None):
|
| 81 |
+
message_list = []
|
| 82 |
+
system_prompt = 'Instruction: Given a sentence prompt that will be used to generate an image, plan the layout of the image.' \
|
| 83 |
+
'The generated layout should follow the CSS style, where each line starts with the object description ' \
|
| 84 |
+
'and is followed by its absolute position. ' \
|
| 85 |
+
'Formally, each line should be like "object {{width: ?px; height: ?px; left: ?px; top: ?px; }}". ' \
|
| 86 |
+
'The image is {}px wide and {}px high. ' \
|
| 87 |
+
'Therefore, all properties of the positions should not exceed {}px, ' \
|
| 88 |
+
'including the addition of left and width and the addition of top and height. \n'.format(args.canvas_size, args.canvas_size, args.canvas_size)
|
| 89 |
+
message_list.append({'role': 'system', 'content': system_prompt})
|
| 90 |
+
final_prompt = f'Prompt: {text_input}\nLayout:'
|
| 91 |
+
total_length = len(tokenizer(system_prompt + final_prompt)['input_ids'])
|
| 92 |
+
|
| 93 |
+
if args.icl_type == 'k-similar':
|
| 94 |
+
# find most related supporting examples
|
| 95 |
+
text_inputs = clip.tokenize(text_input, truncate=True).to(device)
|
| 96 |
+
text_features = clip_model.encode_text(text_inputs)
|
| 97 |
+
text_features /= text_features.norm(dim=-1, keepdim=True)
|
| 98 |
+
similarity = (100.0 * text_features @ features.T).softmax(dim=-1)
|
| 99 |
+
_, indices = similarity[0].topk(top_k)
|
| 100 |
+
supporting_examples = [supporting_examples[idx] for idx in indices]
|
| 101 |
+
|
| 102 |
+
# loop through the related supporting examples, check if the prompt length exceed limit
|
| 103 |
+
for supporting_example in supporting_examples:
|
| 104 |
+
user_prompt = f'Prompt: {supporting_example["prompt"]}\nLayout:'
|
| 105 |
+
if args.setting == 'counting':
|
| 106 |
+
answer = create_exemplar_prompt(
|
| 107 |
+
caption=supporting_example['prompt'],
|
| 108 |
+
object_list=supporting_example['object_list'],
|
| 109 |
+
canvas_size=args.canvas_size,
|
| 110 |
+
is_chat=True
|
| 111 |
+
)
|
| 112 |
+
else:
|
| 113 |
+
answer = create_exemplar_prompt(
|
| 114 |
+
caption=supporting_example['prompt'],
|
| 115 |
+
object_list=[supporting_example['obj1'], supporting_example['obj2']],
|
| 116 |
+
canvas_size=args.canvas_size,
|
| 117 |
+
is_chat=True
|
| 118 |
+
)
|
| 119 |
+
|
| 120 |
+
cur_len = len(tokenizer(user_prompt+answer)['input_ids'])
|
| 121 |
+
if total_length + cur_len > args.gpt_input_length_limit: # won't take the input that is too long
|
| 122 |
+
break
|
| 123 |
+
total_length += cur_len
|
| 124 |
+
|
| 125 |
+
cur_messages = [
|
| 126 |
+
{'role': 'user', 'content': user_prompt},
|
| 127 |
+
{'role': 'assistant', 'content': answer},
|
| 128 |
+
]
|
| 129 |
+
message_list = message_list[:1] + cur_messages + message_list[1:]
|
| 130 |
+
|
| 131 |
+
# add final question
|
| 132 |
+
message_list.append({'role': 'user', 'content': final_prompt})
|
| 133 |
+
|
| 134 |
+
return message_list
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
def form_prompt_for_gpt3(text_input, top_k, tokenizer, supporting_examples=None, features=None):
|
| 138 |
+
rtn_prompt = 'Instruction: Given a sentence prompt that will be used to generate an image, plan the layout of the image.' \
|
| 139 |
+
'The generated layout should follow the CSS style, where each line starts with the object description ' \
|
| 140 |
+
'and is followed by its absolute position. ' \
|
| 141 |
+
'Formally, each line should be like "object {{width: ?px; height: ?px; left: ?px; top: ?px; }}". ' \
|
| 142 |
+
'The image is {}px wide and {}px high. ' \
|
| 143 |
+
'Therefore, all properties of the positions should not exceed {}px, ' \
|
| 144 |
+
'including the addition of left and width and the addition of top and height. \n'.format(args.canvas_size, args.canvas_size, args.canvas_size)
|
| 145 |
+
last_example = f'\nPrompt: {text_input}\nLayout:'
|
| 146 |
+
prompting_examples = ''
|
| 147 |
+
total_length = len(tokenizer(rtn_prompt + last_example)['input_ids'])
|
| 148 |
+
|
| 149 |
+
if args.icl_type == 'k-similar':
|
| 150 |
+
# find most related supporting examples
|
| 151 |
+
text_inputs = clip.tokenize(text_input, truncate=True).to(device)
|
| 152 |
+
text_features = clip_model.encode_text(text_inputs)
|
| 153 |
+
text_features /= text_features.norm(dim=-1, keepdim=True)
|
| 154 |
+
similarity = (100.0 * text_features @ features.T).softmax(dim=-1)
|
| 155 |
+
_, indices = similarity[0].topk(top_k)
|
| 156 |
+
supporting_examples = [supporting_examples[idx] for idx in indices]
|
| 157 |
+
|
| 158 |
+
# loop through the related supporting examples, check if the prompt length exceed limit
|
| 159 |
+
for supporting_example in supporting_examples:
|
| 160 |
+
if args.setting == 'counting':
|
| 161 |
+
current_prompting_example = create_exemplar_prompt(
|
| 162 |
+
caption=supporting_example['prompt'],
|
| 163 |
+
object_list=supporting_example['object_list'],
|
| 164 |
+
canvas_size=args.canvas_size,
|
| 165 |
+
)
|
| 166 |
+
else:
|
| 167 |
+
current_prompting_example = create_exemplar_prompt(
|
| 168 |
+
caption=supporting_example['prompt'],
|
| 169 |
+
object_list=[supporting_example['obj1'], supporting_example['obj2']],
|
| 170 |
+
canvas_size=args.canvas_size,
|
| 171 |
+
)
|
| 172 |
+
|
| 173 |
+
cur_len = len(tokenizer(current_prompting_example)['input_ids'])
|
| 174 |
+
if total_length + cur_len > args.gpt_input_length_limit: # won't take the input that is too long
|
| 175 |
+
break
|
| 176 |
+
prompting_examples = current_prompting_example + prompting_examples # most similar example appear first
|
| 177 |
+
total_length += cur_len
|
| 178 |
+
|
| 179 |
+
# concatename prompts
|
| 180 |
+
prompting_examples += last_example
|
| 181 |
+
rtn_prompt += prompting_examples
|
| 182 |
+
|
| 183 |
+
return rtn_prompt
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
class StoppingCriteriaICL(transformers.StoppingCriteria):
|
| 187 |
+
def __init__(self, stops=[],) -> None:
|
| 188 |
+
super().__init__()
|
| 189 |
+
self.stops = [s.to('cuda') for s in stops]
|
| 190 |
+
|
| 191 |
+
def __call__(self, input_ids, scores, **kwargs):
|
| 192 |
+
for stop in self.stops:
|
| 193 |
+
if torch.all(stop == input_ids[0][-len(stop):]):
|
| 194 |
+
return True
|
| 195 |
+
return False
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
def llama_generation(prompt_for_llama, model, args, eos_token_id=2, stop_criteria=None):
|
| 199 |
+
# can't make stopping criteria apply to each sample
|
| 200 |
+
# can't do sampling using logits processor
|
| 201 |
+
responses = []
|
| 202 |
+
for _ in range(args.n_iter):
|
| 203 |
+
responses += model(
|
| 204 |
+
prompt_for_llama,
|
| 205 |
+
do_sample=True,
|
| 206 |
+
num_return_sequences=1,
|
| 207 |
+
eos_token_id=eos_token_id,
|
| 208 |
+
temperature=0.7,
|
| 209 |
+
)
|
| 210 |
+
response_text = [r['generated_text'] for r in responses]
|
| 211 |
+
|
| 212 |
+
return response_text, responses
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def gpt_generation(prompt_for_gpt, f_gpt_create, args, **kwargs):
|
| 216 |
+
input_kwargs = {
|
| 217 |
+
"model": args.llm_id,
|
| 218 |
+
"temperature": 0.7,
|
| 219 |
+
"max_tokens": 256,
|
| 220 |
+
"top_p": 1.0,
|
| 221 |
+
"frequency_penalty": 0.0,
|
| 222 |
+
"presence_penalty": 0.0,
|
| 223 |
+
"stop": "Prompt:",
|
| 224 |
+
"n": args.n_iter,
|
| 225 |
+
}
|
| 226 |
+
if args.llm_type == 'gpt3.5':
|
| 227 |
+
input_kwargs["prompt"] = prompt_for_gpt
|
| 228 |
+
else:
|
| 229 |
+
input_kwargs["messages"] = prompt_for_gpt
|
| 230 |
+
response = f_gpt_create(**input_kwargs)
|
| 231 |
+
|
| 232 |
+
if args.llm_type == 'gpt3.5':
|
| 233 |
+
response_text = [r["text"] for r in response.choices]
|
| 234 |
+
else:
|
| 235 |
+
response_text = [r["message"]["content"] for r in response.choices]
|
| 236 |
+
|
| 237 |
+
return response_text, response
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
def _main(args):
|
| 241 |
+
# check if have been processed
|
| 242 |
+
args.output_dir = os.path.join(args.base_output_dir, args.setting)
|
| 243 |
+
os.makedirs(args.output_dir, exist_ok=True)
|
| 244 |
+
output_filename = os.path.join(args.output_dir, f'{args.llm_type}.{args.setting}.{args.icl_type}.k_{args.K}.px_{args.canvas_size}.json')
|
| 245 |
+
if os.path.exists(output_filename):
|
| 246 |
+
print(f'{output_filename} have been processed.')
|
| 247 |
+
return
|
| 248 |
+
|
| 249 |
+
# load val examples
|
| 250 |
+
val_example_files = os.path.join(
|
| 251 |
+
args.input_info_dir, args.setting,
|
| 252 |
+
f'{args.setting}.val.json',
|
| 253 |
+
)
|
| 254 |
+
val_example_list = json.load(open(val_example_files))
|
| 255 |
+
if args.test:
|
| 256 |
+
val_example_list = val_example_list[:3]
|
| 257 |
+
|
| 258 |
+
# load all training examples
|
| 259 |
+
train_example_files = os.path.join(
|
| 260 |
+
args.input_info_dir, args.setting,
|
| 261 |
+
f'{args.setting}.train.json',
|
| 262 |
+
)
|
| 263 |
+
train_examples = json.load(open(train_example_files))
|
| 264 |
+
if args.icl_type == 'fixed-random':
|
| 265 |
+
random.seed(42)
|
| 266 |
+
random.shuffle(train_examples)
|
| 267 |
+
supporting_examples = train_examples[:args.K]
|
| 268 |
+
features = None
|
| 269 |
+
elif args.icl_type == 'k-similar':
|
| 270 |
+
supporting_examples = train_examples
|
| 271 |
+
features = load_features(args.matching_content_type)
|
| 272 |
+
|
| 273 |
+
# GPT/LLAMA prediction process
|
| 274 |
+
args.llm_id = llm_name2id[args.llm_type]
|
| 275 |
+
all_prediction_list = []
|
| 276 |
+
all_responses = []
|
| 277 |
+
|
| 278 |
+
if 'llama' in args.llm_type:
|
| 279 |
+
f_form_prompt = form_prompt_for_gpt3
|
| 280 |
+
|
| 281 |
+
tokenizer = LlamaTokenizer.from_pretrained(args.llm_id)
|
| 282 |
+
stop_ids = [tokenizer(w, return_tensors="pt", add_special_tokens=False).input_ids.squeeze()[1:] for w in ["\n\n"]] # tokenization issue
|
| 283 |
+
stop_criteria = transformers.StoppingCriteriaList([StoppingCriteriaICL(stop_ids)])
|
| 284 |
+
|
| 285 |
+
model = transformers.pipeline(
|
| 286 |
+
"text-generation",
|
| 287 |
+
model=args.llm_id,
|
| 288 |
+
torch_dtype=torch.float16,
|
| 289 |
+
device_map="auto",
|
| 290 |
+
max_new_tokens=512,
|
| 291 |
+
return_full_text=False,
|
| 292 |
+
stopping_criteria=stop_criteria
|
| 293 |
+
)
|
| 294 |
+
f_llm_generation = llama_generation
|
| 295 |
+
elif 'gpt' in args.llm_type:
|
| 296 |
+
tokenizer = GPT2TokenizerFast.from_pretrained("gpt2")
|
| 297 |
+
|
| 298 |
+
if args.llm_type == 'gpt3.5':
|
| 299 |
+
f_form_prompt = form_prompt_for_gpt3
|
| 300 |
+
model = openai.Completion.create
|
| 301 |
+
else:
|
| 302 |
+
f_form_prompt = form_prompt_for_chatgpt
|
| 303 |
+
model = openai.ChatCompletion.create
|
| 304 |
+
|
| 305 |
+
f_llm_generation = gpt_generation
|
| 306 |
+
else:
|
| 307 |
+
raise NotImplementedError
|
| 308 |
+
|
| 309 |
+
for val_example in tqdm(val_example_list, total=len(val_example_list), desc='test'):
|
| 310 |
+
top_k = args.K
|
| 311 |
+
prompt_for_gpt = f_form_prompt(
|
| 312 |
+
text_input=val_example['prompt'],
|
| 313 |
+
top_k=top_k,
|
| 314 |
+
tokenizer=tokenizer,
|
| 315 |
+
supporting_examples=supporting_examples,
|
| 316 |
+
features=features
|
| 317 |
+
)
|
| 318 |
+
if args.verbose:
|
| 319 |
+
print(prompt_for_gpt)
|
| 320 |
+
print('\n' + '-'*30)
|
| 321 |
+
|
| 322 |
+
while True:
|
| 323 |
+
try:
|
| 324 |
+
response, raw_response = f_llm_generation(prompt_for_gpt, model, args, eos_token_id=tokenizer.eos_token_id)
|
| 325 |
+
break
|
| 326 |
+
except openai.error.ServiceUnavailableError:
|
| 327 |
+
print('OpenAI ServiceUnavailableError.\tWill try again in 5 seconds.')
|
| 328 |
+
time.sleep(5)
|
| 329 |
+
except openai.error.RateLimitError:
|
| 330 |
+
print('OpenAI RateLimitError.\tWill try again in 5 seconds.')
|
| 331 |
+
time.sleep(5)
|
| 332 |
+
except openai.error.InvalidRequestError as e:
|
| 333 |
+
print(e)
|
| 334 |
+
print('Input too long. Will shrink the prompting examples.')
|
| 335 |
+
top_k -= 1
|
| 336 |
+
prompt_for_gpt = f_form_prompt(
|
| 337 |
+
text_input=val_example['prompt'],
|
| 338 |
+
top_k=top_k,
|
| 339 |
+
supporting_examples=supporting_examples,
|
| 340 |
+
features=features
|
| 341 |
+
)
|
| 342 |
+
except RuntimeError as e:
|
| 343 |
+
if "out of memeory" in str(e):
|
| 344 |
+
top_k -= 1
|
| 345 |
+
prompt_for_gpt = f_form_prompt(
|
| 346 |
+
text_input=val_example['prompt'],
|
| 347 |
+
top_k=top_k,
|
| 348 |
+
tokenizer=tokenizer,
|
| 349 |
+
supporting_examples=supporting_examples,
|
| 350 |
+
features=features
|
| 351 |
+
)
|
| 352 |
+
else:
|
| 353 |
+
raise e
|
| 354 |
+
|
| 355 |
+
all_responses.append(response)
|
| 356 |
+
for i_iter in range(args.n_iter):
|
| 357 |
+
# parse output
|
| 358 |
+
predicted_object_list = []
|
| 359 |
+
line_list = response[i_iter].split('\n')
|
| 360 |
+
|
| 361 |
+
for line in line_list:
|
| 362 |
+
if line == '':
|
| 363 |
+
continue
|
| 364 |
+
try:
|
| 365 |
+
selector_text, bbox = parse_layout(line, canvas_size=args.canvas_size)
|
| 366 |
+
if selector_text == None:
|
| 367 |
+
print(line)
|
| 368 |
+
continue
|
| 369 |
+
predicted_object_list.append([selector_text, bbox])
|
| 370 |
+
except ValueError as e:
|
| 371 |
+
pass
|
| 372 |
+
all_prediction_list.append({
|
| 373 |
+
'query_id': val_example['id'],
|
| 374 |
+
'iter': i_iter,
|
| 375 |
+
'prompt': val_example['prompt'],
|
| 376 |
+
'object_list': predicted_object_list,
|
| 377 |
+
})
|
| 378 |
+
|
| 379 |
+
# save output
|
| 380 |
+
with open(output_filename, 'w') as fout:
|
| 381 |
+
json.dump(all_prediction_list, fout, indent=4, sort_keys=True)
|
| 382 |
+
print(f'LayoutGPT ({args.llm_type}) prediction results written to {output_filename}')
|
| 383 |
+
|
| 384 |
+
|
| 385 |
+
if __name__ == '__main__':
|
| 386 |
+
_main(args)
|
eval/LayoutGPT/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import os.path as op
|
| 3 |
+
import json
|
| 4 |
+
import pdb
|
| 5 |
+
import clip
|
| 6 |
+
import torch
|
| 7 |
+
import numpy as np
|
| 8 |
+
from tqdm import tqdm
|
| 9 |
+
import time
|
| 10 |
+
import random
|
| 11 |
+
from PIL import Image
|
| 12 |
+
import argparse
|
| 13 |
+
import openai
|
| 14 |
+
from utils import *
|
| 15 |
+
|
| 16 |
+
from transformers import GPT2TokenizerFast
|
| 17 |
+
|
| 18 |
+
from parse_llm_output import parse_3D_layout
|
| 19 |
+
|
| 20 |
+
openai.organization = ""
|
| 21 |
+
openai.api_key = ""
|
| 22 |
+
tokenizer = GPT2TokenizerFast.from_pretrained("gpt2")
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
parser = argparse.ArgumentParser(prog='LayoutGPT for scene synthesis', description='Use GPTs to predict 3D layout for indoor scenes.')
|
| 26 |
+
parser.add_argument('--room', type=str, default='bedroom', choices=['bedroom','livingroom'])
|
| 27 |
+
parser.add_argument('--dataset_dir', type=str)
|
| 28 |
+
parser.add_argument('--gpt_type', type=str, default='gpt4', choices=['gpt3.5', 'gpt3.5-chat', 'gpt4'])
|
| 29 |
+
parser.add_argument('--icl_type', type=str, default='k-similar', choices=['fixed-random', 'k-similar'])
|
| 30 |
+
parser.add_argument('--base_output_dir', type=str, default='./llm_output/3D/')
|
| 31 |
+
parser.add_argument('--K', type=int, default=8)
|
| 32 |
+
parser.add_argument('--gpt_input_length_limit', type=int, default=7000)
|
| 33 |
+
parser.add_argument('--unit', type=str, choices=['px', 'm', ''], default='px')
|
| 34 |
+
parser.add_argument("--n_iter", type=int, default=1)
|
| 35 |
+
parser.add_argument("--test", action='store_true')
|
| 36 |
+
parser.add_argument('--verbose', default=False, action='store_true')
|
| 37 |
+
parser.add_argument("--suffix", type=str, default="")
|
| 38 |
+
parser.add_argument("--normalize", action='store_true')
|
| 39 |
+
parser.add_argument("--regular_floor_plan", action='store_true')
|
| 40 |
+
parser.add_argument("--temperature", type=float, default=0.7)
|
| 41 |
+
args = parser.parse_args()
|
| 42 |
+
|
| 43 |
+
# GPT Type
|
| 44 |
+
gpt_name = {
|
| 45 |
+
'gpt3.5': 'text-davinci-003',
|
| 46 |
+
'gpt3.5-chat': 'gpt-3.5-turbo',
|
| 47 |
+
'gpt4': 'gpt-4',
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def load_room_boxes(prefix, id, stats, unit):
|
| 52 |
+
data = np.load(op.join(prefix, id, 'boxes.npz'))
|
| 53 |
+
x_c, y_c = data['floor_plan_centroid'][0], data['floor_plan_centroid'][2]
|
| 54 |
+
x_offset = min(data['floor_plan_vertices'][:,0])
|
| 55 |
+
y_offset = min(data['floor_plan_vertices'][:,2])
|
| 56 |
+
room_length = max(data['floor_plan_vertices'][:,0]) - min(data['floor_plan_vertices'][:,0])
|
| 57 |
+
room_width = max(data['floor_plan_vertices'][:,2]) - min(data['floor_plan_vertices'][:,2])
|
| 58 |
+
vertices = np.stack((data['floor_plan_vertices'][:,0]-x_offset, data['floor_plan_vertices'][:,2]-y_offset), axis=1)
|
| 59 |
+
vertices = np.asarray([list(nxy) for nxy in set(tuple(xy) for xy in vertices)])
|
| 60 |
+
|
| 61 |
+
# normalize
|
| 62 |
+
if args.normalize:
|
| 63 |
+
norm = min(room_length, room_width)
|
| 64 |
+
room_length, room_width = room_length/norm, room_width/norm
|
| 65 |
+
vertices /= norm
|
| 66 |
+
if unit in ['px', '']:
|
| 67 |
+
scale_factor = 256
|
| 68 |
+
room_length, room_width = int(room_length*scale_factor), int(room_width*scale_factor)
|
| 69 |
+
|
| 70 |
+
vertices = [f'({v[0]:.2f}, {v[1]:.2f})' for v in vertices]
|
| 71 |
+
|
| 72 |
+
if unit in ['px', '']:
|
| 73 |
+
condition = f"Condition:\n"
|
| 74 |
+
if args.room == 'livingroom':
|
| 75 |
+
if 'dining' in id.lower():
|
| 76 |
+
condition += f"Room Type: living room & dining room\n"
|
| 77 |
+
else:
|
| 78 |
+
condition += f"Room Type: living room\n"
|
| 79 |
+
else:
|
| 80 |
+
condition += f"Room Type: {args.room}\n"
|
| 81 |
+
condition += f"Room Size: max length {room_length}{unit}, max width {room_width}{unit}\n"
|
| 82 |
+
else:
|
| 83 |
+
condition = f"Condition:\n" \
|
| 84 |
+
f"Room Type: {args.room}\n" \
|
| 85 |
+
f"Room Size: max length {room_length:.2f}{unit}, max width {room_width:.2f}{unit}\n"
|
| 86 |
+
|
| 87 |
+
layout = 'Layout:\n'
|
| 88 |
+
for label, size, angle, loc in zip(data['class_labels'], data['sizes'], data['angles'], data['translations']):
|
| 89 |
+
label_idx = np.where(label)[0][0]
|
| 90 |
+
if label_idx >= len(stats['object_types']): # NOTE:
|
| 91 |
+
continue
|
| 92 |
+
cat = stats['object_types'][label_idx]
|
| 93 |
+
|
| 94 |
+
length, height, width = size # NOTE: half the actual size
|
| 95 |
+
length, height, width = length*2, height*2, width*2
|
| 96 |
+
orientation = round(angle[0] / 3.1415926 * 180)
|
| 97 |
+
dx,dz,dy = loc # NOTE: center point
|
| 98 |
+
dx = dx+x_c-x_offset
|
| 99 |
+
dy = dy+y_c-y_offset
|
| 100 |
+
|
| 101 |
+
# normalize
|
| 102 |
+
if args.normalize:
|
| 103 |
+
length, width, height = length/norm, width/norm, height/norm
|
| 104 |
+
dx, dy, dz = dx/norm, dy/norm, dz/norm
|
| 105 |
+
if unit in ['px', '']:
|
| 106 |
+
length, width, height = int(length*scale_factor), int(width*scale_factor), int(height*scale_factor)
|
| 107 |
+
dx, dy, dz = int(dx*scale_factor), int(dy*scale_factor), int(dz*scale_factor)
|
| 108 |
+
|
| 109 |
+
if unit in ['px', '']:
|
| 110 |
+
layout += f"{cat} {{length: {length}{unit}; " \
|
| 111 |
+
f"width: {width}{unit}; " \
|
| 112 |
+
f"height: {height}{unit}; " \
|
| 113 |
+
f"left: {dx}{unit}; " \
|
| 114 |
+
f"top: {dy}{unit}; " \
|
| 115 |
+
f"depth: {dz}{unit};" \
|
| 116 |
+
f"orientation: {orientation} degrees;}}\n"
|
| 117 |
+
else:
|
| 118 |
+
layout += f"{cat} {{length: {length:.2f}{unit}; " \
|
| 119 |
+
f"height: {height:.2f}{unit}; " \
|
| 120 |
+
f"width: {width:.2f}{unit}; " \
|
| 121 |
+
f"orientation: {orientation} degrees; " \
|
| 122 |
+
f"left: {dx:.2f}{unit}; " \
|
| 123 |
+
f"top: {dy:.2f}{unit}; " \
|
| 124 |
+
f"depth: {dz:.2f}{unit};}}\n"
|
| 125 |
+
|
| 126 |
+
return condition, layout, dict(data)
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def load_set(prefix, ids, stats, unit):
|
| 130 |
+
id2prompt = {}
|
| 131 |
+
meta_data = {}
|
| 132 |
+
for id in tqdm(ids):
|
| 133 |
+
condition, layout, data = load_room_boxes(prefix, id, stats, unit)
|
| 134 |
+
id2prompt[id] = [condition, layout]
|
| 135 |
+
meta_data[id] = data
|
| 136 |
+
return id2prompt, meta_data
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def load_features(meta_data, floor_plan=True):
|
| 140 |
+
features = {}
|
| 141 |
+
for id, data in meta_data.items():
|
| 142 |
+
if floor_plan:
|
| 143 |
+
features[id] = np.asarray(Image.fromarray(data['room_layout'].squeeze()).resize((64,64)))
|
| 144 |
+
else:
|
| 145 |
+
room_length = max(data['floor_plan_vertices'][:,0]) - min(data['floor_plan_vertices'][:,0])
|
| 146 |
+
room_width = max(data['floor_plan_vertices'][:,2]) - min(data['floor_plan_vertices'][:,2])
|
| 147 |
+
features[id] = np.asarray([room_length, room_width])
|
| 148 |
+
return features
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
def get_closest_room(train_features, val_feature):
|
| 152 |
+
'''
|
| 153 |
+
train_features
|
| 154 |
+
'''
|
| 155 |
+
distances = [[id, ((feat-val_feature)**2).mean()] for id, feat in train_features.items()]
|
| 156 |
+
distances = sorted(distances, key=lambda x: x[1])
|
| 157 |
+
sorted_ids, _ = zip(*distances)
|
| 158 |
+
return sorted_ids
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
def create_prompt(sample):
|
| 162 |
+
return sample[0] + sample[1] + "\n\n"
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
def form_prompt_for_gpt3(text_input, top_k, stats, supporting_examples,
|
| 166 |
+
train_features=None, val_feature=None):
|
| 167 |
+
unit_name = 'pixel' if args.unit in ['px', ''] else 'meters'
|
| 168 |
+
class_freq = [f"{obj}: {round(stats['class_frequencies'][obj], 4)}" for obj in stats['object_types']]
|
| 169 |
+
rtn_prompt = 'Instruction: synthesize the 3D layout of an indoor scene. ' \
|
| 170 |
+
'The generated 3D layout should follow the CSS style, where each line starts with the furniture category ' \
|
| 171 |
+
'and is followed by the 3D size, orientation and absolute position. ' \
|
| 172 |
+
"Formally, each line should follow the template: \n" \
|
| 173 |
+
f"FURNITURE {{length: ?{args.unit}: width: ?{args.unit}; height: ?{args.unit}; left: ?{args.unit}; top: ?{args.unit}; depth: ?{args.unit}; orientation: ? degrees;}}\n" \
|
| 174 |
+
f'All values are in {unit_name} but the orientation angle is in degrees.\n\n' \
|
| 175 |
+
f"Available furnitures: {', '.join(stats['object_types'])} \n" \
|
| 176 |
+
f"Overall furniture frequencies: ({'; '.join(class_freq)})\n\n"
|
| 177 |
+
|
| 178 |
+
last_example = f'{text_input[0]}Layout:\n'
|
| 179 |
+
prompting_examples = ''
|
| 180 |
+
total_length = len(tokenizer(rtn_prompt + last_example)['input_ids'])
|
| 181 |
+
|
| 182 |
+
if args.icl_type == 'k-similar':
|
| 183 |
+
assert train_features is not None
|
| 184 |
+
sorted_ids = get_closest_room(train_features, val_feature)
|
| 185 |
+
supporting_examples = [supporting_examples[id] for id in sorted_ids[:top_k]]
|
| 186 |
+
if args.test:
|
| 187 |
+
print("retrieved examples:")
|
| 188 |
+
print("\n".join(sorted_ids[:top_k]))
|
| 189 |
+
pdb.set_trace()
|
| 190 |
+
|
| 191 |
+
# loop through the related supporting examples, check if the prompt length exceed limit
|
| 192 |
+
for i, supporting_example in enumerate(supporting_examples[:top_k]):
|
| 193 |
+
current_prompting_example = create_prompt(supporting_example)
|
| 194 |
+
cur_len = len(tokenizer(current_prompting_example)['input_ids'])
|
| 195 |
+
if total_length + cur_len > args.gpt_input_length_limit: # won't take the input that is too long
|
| 196 |
+
print(f"{i+1}th exemplar exceed max length")
|
| 197 |
+
break
|
| 198 |
+
prompting_examples = current_prompting_example + prompting_examples
|
| 199 |
+
total_length += cur_len
|
| 200 |
+
|
| 201 |
+
prompting_examples += last_example
|
| 202 |
+
rtn_prompt += prompting_examples
|
| 203 |
+
|
| 204 |
+
return rtn_prompt
|
| 205 |
+
|
| 206 |
+
|
| 207 |
+
def form_prompt_for_chatgpt(text_input, top_k, stats, supporting_examples,
|
| 208 |
+
train_features=None, val_feature=None):
|
| 209 |
+
message_list = []
|
| 210 |
+
unit_name = 'pixel' if args.unit in ['px', ''] else 'meters'
|
| 211 |
+
class_freq = [f"{obj}: {round(stats['class_frequencies'][obj], 4)}" for obj in stats['object_types']]
|
| 212 |
+
rtn_prompt = 'You are a 3D indoor scene designer. \nInstruction: synthesize the 3D layout of an indoor scene. ' \
|
| 213 |
+
'The generated 3D layout should follow the CSS style, where each line starts with the furniture category ' \
|
| 214 |
+
'and is followed by the 3D size, orientation and absolute position. ' \
|
| 215 |
+
"Formally, each line should follow the template: \n" \
|
| 216 |
+
f"FURNITURE {{length: ?{args.unit}: width: ?{args.unit}; height: ?{args.unit}; orientation: ? degrees; left: ?{args.unit}; top: ?{args.unit}; depth: ?{args.unit};}}\n" \
|
| 217 |
+
f'All values are in {unit_name} but the orientation angle is in degrees.\n\n' \
|
| 218 |
+
f"Available furnitures: {', '.join(stats['object_types'])} \n" \
|
| 219 |
+
f"Overall furniture frequencies: ({'; '.join(class_freq)})\n\n"
|
| 220 |
+
|
| 221 |
+
message_list.append({'role': 'system', 'content': rtn_prompt})
|
| 222 |
+
last_example = f'{text_input[0]}Layout:\n'
|
| 223 |
+
total_length = len(tokenizer(rtn_prompt + last_example)['input_ids'])
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
if args.icl_type == 'k-similar':
|
| 227 |
+
assert train_features is not None
|
| 228 |
+
sorted_ids = get_closest_room(train_features, val_feature)
|
| 229 |
+
supporting_examples = [supporting_examples[id] for id in sorted_ids[:top_k]]
|
| 230 |
+
if args.test:
|
| 231 |
+
print("retrieved examples:")
|
| 232 |
+
print("\n".join(sorted_ids[:top_k]))
|
| 233 |
+
|
| 234 |
+
# loop through the related supporting examples, check if the prompt length exceed limit
|
| 235 |
+
for i, supporting_example in enumerate(supporting_examples[:top_k]):
|
| 236 |
+
cur_len = len(tokenizer(supporting_example[0]+supporting_example[1])['input_ids'])
|
| 237 |
+
if total_length + cur_len > args.gpt_input_length_limit: # won't take the input that is too long
|
| 238 |
+
print(f"{i+1}th exemplar exceed max length")
|
| 239 |
+
break
|
| 240 |
+
total_length += cur_len
|
| 241 |
+
|
| 242 |
+
current_messages = [
|
| 243 |
+
{'role': 'user', 'content': supporting_example[0]+"Layout:\n"},
|
| 244 |
+
{'role': 'assistant', 'content': supporting_example[1].lstrip("Layout:\n")},
|
| 245 |
+
]
|
| 246 |
+
message_list = message_list + current_messages
|
| 247 |
+
|
| 248 |
+
# concatename prompts for gpt4
|
| 249 |
+
message_list.append({'role': 'user', 'content': last_example})
|
| 250 |
+
|
| 251 |
+
return message_list
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
def _main(args):
|
| 255 |
+
dataset_prefix = f"{args.dataset_dir}/{args.room}"
|
| 256 |
+
with open(f"dataset/3D/{args.room}_splits.json", "r") as file:
|
| 257 |
+
splits = json.load(file)
|
| 258 |
+
|
| 259 |
+
with open(f"{dataset_prefix}/dataset_stats.txt", "r") as file:
|
| 260 |
+
stats = json.load(file)
|
| 261 |
+
|
| 262 |
+
if args.regular_floor_plan:
|
| 263 |
+
args.suffix += '_regular'
|
| 264 |
+
|
| 265 |
+
# check if have been processed
|
| 266 |
+
args.output_dir = args.base_output_dir
|
| 267 |
+
os.makedirs(args.output_dir, exist_ok=True)
|
| 268 |
+
output_filename = os.path.join(args.output_dir, f'{args.gpt_type}.{args.room}.{args.icl_type}.k_{args.K}.{args.unit}{args.suffix}.json')
|
| 269 |
+
os.makedirs(os.path.join(args.output_dir, 'raw'), exist_ok=True)
|
| 270 |
+
raw_output_filename = os.path.join(args.output_dir, 'raw', f'raw_{args.gpt_type}.{args.room}.{args.icl_type}.k_{args.K}.{args.unit}{args.suffix}.json')
|
| 271 |
+
|
| 272 |
+
# load train examples
|
| 273 |
+
train_ids = splits['rect_train'] if args.regular_floor_plan else splits['train']
|
| 274 |
+
train_data, meta_train_data = load_set(dataset_prefix, train_ids, stats, args.unit)
|
| 275 |
+
|
| 276 |
+
# load val examples
|
| 277 |
+
val_ids = splits['rect_test'] if args.regular_floor_plan else splits['test']
|
| 278 |
+
val_data, meta_val_data = load_set(dataset_prefix, val_ids, stats, args.unit)
|
| 279 |
+
val_features = load_features(meta_val_data)
|
| 280 |
+
print(f"Loaded {len(train_data)} train samples and {len(val_data)} validation samples")
|
| 281 |
+
|
| 282 |
+
if args.test:
|
| 283 |
+
val_data = {k:v for k, v in list(val_data.items())[:5]}
|
| 284 |
+
args.verbose = True
|
| 285 |
+
args.n_iter = 1
|
| 286 |
+
|
| 287 |
+
if args.icl_type == 'fixed-random':
|
| 288 |
+
# load fixed supporting examples
|
| 289 |
+
all_supporting_examples = list(train_data.values())
|
| 290 |
+
supporting_examples = all_supporting_examples[:args.K]
|
| 291 |
+
train_features = None
|
| 292 |
+
elif args.icl_type == 'k-similar':
|
| 293 |
+
supporting_examples = train_data
|
| 294 |
+
train_features = load_features(meta_train_data)
|
| 295 |
+
|
| 296 |
+
# GPT-3 prediction process
|
| 297 |
+
args.gpt_name = gpt_name[args.gpt_type]
|
| 298 |
+
all_prediction_list = []
|
| 299 |
+
all_responses = []
|
| 300 |
+
top_k = args.K
|
| 301 |
+
|
| 302 |
+
n_lines = []
|
| 303 |
+
n_furnitures = []
|
| 304 |
+
for val_id, val_example in tqdm(val_data.items(), total=len(val_data), desc='gpt3'):
|
| 305 |
+
# predict
|
| 306 |
+
while True:
|
| 307 |
+
if args.gpt_type == 'gpt3.5':
|
| 308 |
+
prompt_for_gpt3 = form_prompt_for_gpt3(
|
| 309 |
+
text_input=val_example,
|
| 310 |
+
top_k=top_k,
|
| 311 |
+
stats=stats,
|
| 312 |
+
supporting_examples=supporting_examples,
|
| 313 |
+
train_features=train_features,
|
| 314 |
+
val_feature=val_features[val_id]
|
| 315 |
+
)
|
| 316 |
+
elif args.gpt_type in ['gpt3.5-chat', 'gpt4']:
|
| 317 |
+
prompt_for_gpt3 = form_prompt_for_chatgpt(
|
| 318 |
+
text_input=val_example,
|
| 319 |
+
top_k=top_k,
|
| 320 |
+
stats=stats,
|
| 321 |
+
supporting_examples=supporting_examples,
|
| 322 |
+
train_features=train_features,
|
| 323 |
+
val_feature=val_features[val_id]
|
| 324 |
+
)
|
| 325 |
+
else:
|
| 326 |
+
raise NotImplementedError
|
| 327 |
+
|
| 328 |
+
if args.verbose:
|
| 329 |
+
print(val_id)
|
| 330 |
+
print(prompt_for_gpt3)
|
| 331 |
+
print('\n' + '-'*30)
|
| 332 |
+
pdb.set_trace()
|
| 333 |
+
|
| 334 |
+
if op.exists(op.join(args.output_dir, 'tmp', args.gpt_type, f"{val_id}.json")):
|
| 335 |
+
response = json.load(open(op.join(args.output_dir, 'tmp', args.gpt_type, f"{val_id}.json")))
|
| 336 |
+
break
|
| 337 |
+
|
| 338 |
+
try:
|
| 339 |
+
if args.gpt_type == 'gpt3.5':
|
| 340 |
+
response = openai.Completion.create( # use openai.ChatCompletion for GPT-4
|
| 341 |
+
model=args.gpt_name,
|
| 342 |
+
prompt=prompt_for_gpt3,
|
| 343 |
+
temperature=args.temperature,
|
| 344 |
+
max_tokens=1024 if args.room=='livingroom' else 512,
|
| 345 |
+
top_p=1.0,
|
| 346 |
+
frequency_penalty=0.0,
|
| 347 |
+
presence_penalty=0.0,
|
| 348 |
+
stop="Condition:",
|
| 349 |
+
n=args.n_iter,
|
| 350 |
+
)
|
| 351 |
+
elif args.gpt_type in ['gpt3.5', 'gpt4']:
|
| 352 |
+
response = openai.ChatCompletion.create(
|
| 353 |
+
model=args.gpt_name,
|
| 354 |
+
messages=prompt_for_gpt3,
|
| 355 |
+
temperature=0.7,
|
| 356 |
+
max_tokens=1024 if args.room=='livingroom' else 512,
|
| 357 |
+
top_p=1.0,
|
| 358 |
+
frequency_penalty=0.0,
|
| 359 |
+
presence_penalty=0.0,
|
| 360 |
+
stop="Condition:",
|
| 361 |
+
n=args.n_iter,
|
| 362 |
+
)
|
| 363 |
+
else:
|
| 364 |
+
raise NotImplementedError
|
| 365 |
+
break
|
| 366 |
+
except openai.error.ServiceUnavailableError:
|
| 367 |
+
print('OpenAI ServiceUnavailableError.\tWill try again in 5 seconds.')
|
| 368 |
+
time.sleep(5)
|
| 369 |
+
except openai.error.RateLimitError:
|
| 370 |
+
print('OpenAI RateLimitError.\tWill try again in 5 seconds.')
|
| 371 |
+
time.sleep(5)
|
| 372 |
+
except openai.error.InvalidRequestError as e:
|
| 373 |
+
print(e)
|
| 374 |
+
print('Input too long. Will shrink the prompting examples.')
|
| 375 |
+
top_k -= 1
|
| 376 |
+
except openai.error.APIError as e:
|
| 377 |
+
print('OpenAI Bad Gateway Error.\tWill try again in 5 seconds.')
|
| 378 |
+
time.sleep(5)
|
| 379 |
+
|
| 380 |
+
os.makedirs(op.join(args.output_dir, 'tmp', args.gpt_type), exist_ok=True)
|
| 381 |
+
write_json(op.join(args.output_dir, 'tmp', args.gpt_type, f"{val_id}.json"), response)
|
| 382 |
+
response['prompt'] = prompt_for_gpt3
|
| 383 |
+
all_responses.append(response)
|
| 384 |
+
|
| 385 |
+
for i_iter in range(args.n_iter):
|
| 386 |
+
# parse output
|
| 387 |
+
if args.verbose:
|
| 388 |
+
try:
|
| 389 |
+
print(response['choices'][i_iter]['text'])
|
| 390 |
+
except:
|
| 391 |
+
print(response['choices'][i_iter]['message']['content'])
|
| 392 |
+
|
| 393 |
+
predicted_object_list = []
|
| 394 |
+
if args.gpt_type == 'gpt3.5':
|
| 395 |
+
line_list = response['choices'][i_iter]['text'].split('\n')
|
| 396 |
+
else:
|
| 397 |
+
line_list = response['choices'][i_iter]['message']['content'].split('\n')
|
| 398 |
+
|
| 399 |
+
n_lines.append(len(line_list))
|
| 400 |
+
for line in line_list:
|
| 401 |
+
if line == '':
|
| 402 |
+
continue
|
| 403 |
+
try:
|
| 404 |
+
selector_text, bbox = parse_3D_layout(line, args.unit)
|
| 405 |
+
if selector_text == None:
|
| 406 |
+
print(line)
|
| 407 |
+
continue
|
| 408 |
+
predicted_object_list.append([selector_text, bbox])
|
| 409 |
+
except ValueError as e:
|
| 410 |
+
pass
|
| 411 |
+
n_furnitures.append(len(predicted_object_list))
|
| 412 |
+
all_prediction_list.append({
|
| 413 |
+
'query_id': val_id,
|
| 414 |
+
'iter': i_iter,
|
| 415 |
+
'prompt': val_example[0],
|
| 416 |
+
'object_list': predicted_object_list,
|
| 417 |
+
})
|
| 418 |
+
|
| 419 |
+
if args.gpt_type in ['gpt4']:
|
| 420 |
+
time.sleep(3)
|
| 421 |
+
|
| 422 |
+
# # save output
|
| 423 |
+
with open(raw_output_filename, 'w') as fout:
|
| 424 |
+
json.dump(all_responses, fout, indent=4, sort_keys=True)
|
| 425 |
+
|
| 426 |
+
with open(output_filename, 'w') as fout:
|
| 427 |
+
json.dump(all_prediction_list, fout, indent=4, sort_keys=True)
|
| 428 |
+
print(f'GPT-3 ({args.gpt_type}) prediction results written to {output_filename}')
|
| 429 |
+
print(f"{np.mean(n_lines)}, {np.mean(n_furnitures)}")
|
| 430 |
+
|
| 431 |
+
if __name__ == '__main__':
|
| 432 |
+
_main(args)
|
eval/LayoutGPT/run_layoutgpt_instr_bench.py
ADDED
|
@@ -0,0 +1,510 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
LayoutGPT for Layout Instruction Benchmark
|
| 4 |
+
|
| 5 |
+
使用 LayoutGPT 原本的 3D-FRONT 训练数据作为 ICL 示例,
|
| 6 |
+
测试 layout_instr_bench_test 数据集。
|
| 7 |
+
|
| 8 |
+
使用方法:
|
| 9 |
+
python run_layoutgpt_instr_bench.py \
|
| 10 |
+
--data_dir /home/v-meiszhang/amlt-project/Qwen-Image/layout_instr_bench_test \
|
| 11 |
+
--output_dir ./output_instr_bench
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
import os
|
| 15 |
+
import os.path as op
|
| 16 |
+
import json
|
| 17 |
+
import argparse
|
| 18 |
+
import time
|
| 19 |
+
import re
|
| 20 |
+
import numpy as np
|
| 21 |
+
from tqdm import tqdm
|
| 22 |
+
from glob import glob
|
| 23 |
+
import random
|
| 24 |
+
|
| 25 |
+
# Azure OpenAI
|
| 26 |
+
try:
|
| 27 |
+
from openai import AzureOpenAI
|
| 28 |
+
from azure.identity import ChainedTokenCredential, AzureCliCredential, ManagedIdentityCredential, get_bearer_token_provider
|
| 29 |
+
HAS_AZURE_OPENAI = True
|
| 30 |
+
except ImportError:
|
| 31 |
+
HAS_AZURE_OPENAI = False
|
| 32 |
+
print("Warning: Azure OpenAI packages not installed")
|
| 33 |
+
|
| 34 |
+
# CLIP for k-similar
|
| 35 |
+
try:
|
| 36 |
+
import clip
|
| 37 |
+
import torch
|
| 38 |
+
HAS_CLIP = True
|
| 39 |
+
except:
|
| 40 |
+
HAS_CLIP = False
|
| 41 |
+
print("Warning: CLIP not installed, k-similar disabled")
|
| 42 |
+
|
| 43 |
+
from PIL import Image
|
| 44 |
+
|
| 45 |
+
# Azure OpenAI 配置
|
| 46 |
+
API_VERSION = '2024-12-01-preview'
|
| 47 |
+
DEPLOYMENT_NAME = 'gpt-4o_2024-11-20'
|
| 48 |
+
INSTANCE = 'msra/shared'
|
| 49 |
+
ENDPOINT = f'https://trapi.research.microsoft.com/{INSTANCE}'
|
| 50 |
+
|
| 51 |
+
# 3D-FRONT 物体类别(来自 LayoutGPT 原版)
|
| 52 |
+
BEDROOM_STATS = {
|
| 53 |
+
'object_types': ['armchair', 'bookshelf', 'cabinet', 'ceiling_lamp', 'chair',
|
| 54 |
+
'children_cabinet', 'coffee_table', 'desk', 'double_bed',
|
| 55 |
+
'dressing_chair', 'dressing_table', 'kids_bed', 'nightstand',
|
| 56 |
+
'pendant_lamp', 'shelf', 'single_bed', 'sofa', 'stool', 'table',
|
| 57 |
+
'tv_stand', 'wardrobe'],
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
LIVINGROOM_STATS = {
|
| 61 |
+
'object_types': ['armchair', 'bookshelf', 'cabinet', 'ceiling_lamp', 'chaise_longue_sofa',
|
| 62 |
+
'chinese_chair', 'coffee_table', 'console_table', 'corner_side_table',
|
| 63 |
+
'desk', 'dining_chair', 'dining_table', 'l_shaped_sofa', 'lazy_sofa',
|
| 64 |
+
'lounge_chair', 'loveseat_sofa', 'multi_seat_sofa', 'pendant_lamp',
|
| 65 |
+
'round_end_table', 'shelf', 'stool', 'tv_stand', 'wardrobe', 'wine_cabinet'],
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def get_openai_client():
|
| 70 |
+
"""创建 Azure OpenAI 客户端"""
|
| 71 |
+
if not HAS_AZURE_OPENAI:
|
| 72 |
+
raise RuntimeError("Azure OpenAI packages not installed")
|
| 73 |
+
|
| 74 |
+
scope = "api://trapi/.default"
|
| 75 |
+
credential = get_bearer_token_provider(ChainedTokenCredential(
|
| 76 |
+
AzureCliCredential(),
|
| 77 |
+
ManagedIdentityCredential(),
|
| 78 |
+
), scope)
|
| 79 |
+
|
| 80 |
+
return AzureOpenAI(
|
| 81 |
+
azure_endpoint=ENDPOINT,
|
| 82 |
+
azure_ad_token_provider=credential,
|
| 83 |
+
api_version=API_VERSION,
|
| 84 |
+
)
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def load_instr_bench_data(data_dir):
|
| 88 |
+
"""加载 layout_instr_bench_test 数据"""
|
| 89 |
+
all_samples = []
|
| 90 |
+
|
| 91 |
+
room_types = ['living_room', 'bedroom', 'dining_room', 'kitchen', 'bathroom', 'office', 'study_room']
|
| 92 |
+
|
| 93 |
+
for room_type in room_types:
|
| 94 |
+
room_dir = os.path.join(data_dir, room_type)
|
| 95 |
+
if not os.path.exists(room_dir):
|
| 96 |
+
continue
|
| 97 |
+
|
| 98 |
+
instr_file = os.path.join(room_dir, 'instructions.jsonl')
|
| 99 |
+
if not os.path.exists(instr_file):
|
| 100 |
+
continue
|
| 101 |
+
|
| 102 |
+
with open(instr_file, 'r') as f:
|
| 103 |
+
for line in f:
|
| 104 |
+
if line.strip():
|
| 105 |
+
sample = json.loads(line)
|
| 106 |
+
sample['room_type'] = room_type
|
| 107 |
+
all_samples.append(sample)
|
| 108 |
+
|
| 109 |
+
print(f"加载 {len(all_samples)} 个测试样本")
|
| 110 |
+
return all_samples
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
def load_3dfront_room_boxes(prefix, room_id, stats, unit='px', normalize=False):
|
| 114 |
+
"""加载 3D-FRONT 房间数据 (来自 LayoutGPT 原版)"""
|
| 115 |
+
data = np.load(op.join(prefix, room_id, 'boxes.npz'))
|
| 116 |
+
x_c, y_c = data['floor_plan_centroid'][0], data['floor_plan_centroid'][2]
|
| 117 |
+
x_offset = min(data['floor_plan_vertices'][:, 0])
|
| 118 |
+
y_offset = min(data['floor_plan_vertices'][:, 2])
|
| 119 |
+
room_length = max(data['floor_plan_vertices'][:, 0]) - min(data['floor_plan_vertices'][:, 0])
|
| 120 |
+
room_width = max(data['floor_plan_vertices'][:, 2]) - min(data['floor_plan_vertices'][:, 2])
|
| 121 |
+
|
| 122 |
+
# normalize
|
| 123 |
+
if normalize:
|
| 124 |
+
norm = min(room_length, room_width)
|
| 125 |
+
room_length, room_width = room_length / norm, room_width / norm
|
| 126 |
+
if unit in ['px', '']:
|
| 127 |
+
scale_factor = 256
|
| 128 |
+
room_length, room_width = int(room_length * scale_factor), int(room_width * scale_factor)
|
| 129 |
+
else:
|
| 130 |
+
if unit == 'px':
|
| 131 |
+
# 转为像素 (1m = 100px)
|
| 132 |
+
room_length, room_width = int(room_length * 100), int(room_width * 100)
|
| 133 |
+
|
| 134 |
+
# 确定房间类型
|
| 135 |
+
room_type = 'bedroom' if 'bedroom' in room_id.lower() else 'living room'
|
| 136 |
+
|
| 137 |
+
condition = f"Room Type: {room_type}\n"
|
| 138 |
+
condition += f"Room Size: {room_length}{unit} x {room_width}{unit}\n"
|
| 139 |
+
condition += "Layout:"
|
| 140 |
+
|
| 141 |
+
layout_lines = []
|
| 142 |
+
for label, size, angle, loc in zip(data['class_labels'], data['sizes'], data['angles'], data['translations']):
|
| 143 |
+
label_idx = np.where(label)[0][0]
|
| 144 |
+
if label_idx >= len(stats['object_types']):
|
| 145 |
+
continue
|
| 146 |
+
cat = stats['object_types'][label_idx]
|
| 147 |
+
|
| 148 |
+
length, height, width = size # half the actual size
|
| 149 |
+
length, height, width = length * 2, height * 2, width * 2
|
| 150 |
+
orientation = round(angle[0] / 3.1415926 * 180)
|
| 151 |
+
dx, dz, dy = loc # center point
|
| 152 |
+
dx = dx + x_c - x_offset
|
| 153 |
+
dy = dy + y_c - y_offset
|
| 154 |
+
|
| 155 |
+
if normalize:
|
| 156 |
+
length, width, height = length / norm, width / norm, height / norm
|
| 157 |
+
dx, dy, dz = dx / norm, dy / norm, dz / norm
|
| 158 |
+
if unit in ['px', '']:
|
| 159 |
+
length, width, height = int(length * scale_factor), int(width * scale_factor), int(height * scale_factor)
|
| 160 |
+
dx, dy, dz = int(dx * scale_factor), int(dy * scale_factor), int(dz * scale_factor)
|
| 161 |
+
else:
|
| 162 |
+
if unit == 'px':
|
| 163 |
+
length, width, height = int(length * 100), int(width * 100), int(height * 100)
|
| 164 |
+
dx, dy, dz = int(dx * 100), int(dy * 100), int(dz * 100)
|
| 165 |
+
|
| 166 |
+
layout_lines.append(
|
| 167 |
+
f"{cat} {{length: {length}{unit}; width: {width}{unit}; height: {height}{unit}; "
|
| 168 |
+
f"left: {dx}{unit}; top: {dy}{unit}; depth: {dz}{unit}; orientation: {orientation} degrees;}}"
|
| 169 |
+
)
|
| 170 |
+
|
| 171 |
+
layout = "\n".join(layout_lines)
|
| 172 |
+
return condition, layout, data
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def load_3dfront_train_examples(dataset_dir, splits_file, room_type, max_samples=200):
|
| 176 |
+
"""加载 3D-FRONT 训练数据作为 ICL 示例"""
|
| 177 |
+
# 加载 splits
|
| 178 |
+
with open(splits_file, 'r') as f:
|
| 179 |
+
splits = json.load(f)
|
| 180 |
+
|
| 181 |
+
train_ids = splits.get('train', [])
|
| 182 |
+
print(f"3D-FRONT {room_type} 训练集: {len(train_ids)} 个")
|
| 183 |
+
|
| 184 |
+
# 选择统计信息
|
| 185 |
+
stats = BEDROOM_STATS if room_type == 'bedroom' else LIVINGROOM_STATS
|
| 186 |
+
|
| 187 |
+
# 加载训练样本
|
| 188 |
+
examples = []
|
| 189 |
+
random.seed(42)
|
| 190 |
+
sampled_ids = random.sample(train_ids, min(max_samples, len(train_ids)))
|
| 191 |
+
|
| 192 |
+
for room_id in tqdm(sampled_ids, desc=f"加载 {room_type} ICL 示例"):
|
| 193 |
+
try:
|
| 194 |
+
condition, layout, _ = load_3dfront_room_boxes(dataset_dir, room_id, stats, unit='px')
|
| 195 |
+
if layout:
|
| 196 |
+
examples.append((condition, layout))
|
| 197 |
+
except Exception as e:
|
| 198 |
+
continue
|
| 199 |
+
|
| 200 |
+
print(f"成功加载 {len(examples)} 个 {room_type} ICL 示例")
|
| 201 |
+
return examples
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
def css_to_zones(css_text, room_type="room"):
|
| 205 |
+
"""将 CSS 格式的输出解析为 zones 格式的 layout JSON"""
|
| 206 |
+
layout = {
|
| 207 |
+
"meta": {
|
| 208 |
+
"scene_id": "generated",
|
| 209 |
+
"scene_type": room_type
|
| 210 |
+
},
|
| 211 |
+
"architecture": {
|
| 212 |
+
"boundary_polygon": [],
|
| 213 |
+
"height": 3.0,
|
| 214 |
+
"structure_nodes": []
|
| 215 |
+
},
|
| 216 |
+
"zone_topology": {
|
| 217 |
+
"zones": ["zone_0"],
|
| 218 |
+
"connections": []
|
| 219 |
+
},
|
| 220 |
+
"functional_zones": [{
|
| 221 |
+
"id": "zone_0",
|
| 222 |
+
"semantic_label": room_type,
|
| 223 |
+
"assets": []
|
| 224 |
+
}]
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
# 解析 CSS 获取所有物体位置,推断房间尺寸
|
| 228 |
+
pattern = r'([\w_\-]+)\s*\{([^}]+)\}'
|
| 229 |
+
|
| 230 |
+
all_positions = []
|
| 231 |
+
all_sizes = []
|
| 232 |
+
assets = []
|
| 233 |
+
asset_id = 0
|
| 234 |
+
|
| 235 |
+
for match in re.finditer(pattern, css_text):
|
| 236 |
+
category = match.group(1).strip()
|
| 237 |
+
props_str = match.group(2)
|
| 238 |
+
|
| 239 |
+
props = {}
|
| 240 |
+
for prop in props_str.split(';'):
|
| 241 |
+
prop = prop.strip()
|
| 242 |
+
if ':' in prop:
|
| 243 |
+
key, value = prop.split(':', 1)
|
| 244 |
+
key = key.strip()
|
| 245 |
+
value = value.strip()
|
| 246 |
+
num_match = re.search(r'([-\d.]+)', value)
|
| 247 |
+
if num_match:
|
| 248 |
+
props[key] = float(num_match.group(1))
|
| 249 |
+
|
| 250 |
+
# 转换为米 (100px = 1m)
|
| 251 |
+
scale = 100.0
|
| 252 |
+
pos = [
|
| 253 |
+
props.get('left', 0) / scale,
|
| 254 |
+
props.get('top', 0) / scale,
|
| 255 |
+
props.get('depth', 0) / scale
|
| 256 |
+
]
|
| 257 |
+
size = [
|
| 258 |
+
props.get('length', 100) / scale,
|
| 259 |
+
props.get('width', 100) / scale,
|
| 260 |
+
props.get('height', 100) / scale
|
| 261 |
+
]
|
| 262 |
+
|
| 263 |
+
all_positions.append(pos)
|
| 264 |
+
all_sizes.append(size)
|
| 265 |
+
|
| 266 |
+
asset = {
|
| 267 |
+
"id": asset_id,
|
| 268 |
+
"category": category,
|
| 269 |
+
"pos": pos,
|
| 270 |
+
"rot": [0, 0, np.radians(props.get('orientation', 0))],
|
| 271 |
+
"size": size,
|
| 272 |
+
"description": category
|
| 273 |
+
}
|
| 274 |
+
assets.append(asset)
|
| 275 |
+
asset_id += 1
|
| 276 |
+
|
| 277 |
+
# 根据物体位置推断房间边界
|
| 278 |
+
if all_positions:
|
| 279 |
+
all_positions = np.array(all_positions)
|
| 280 |
+
all_sizes = np.array(all_sizes)
|
| 281 |
+
|
| 282 |
+
min_x = min(all_positions[:, 0] - all_sizes[:, 0] / 2)
|
| 283 |
+
max_x = max(all_positions[:, 0] + all_sizes[:, 0] / 2)
|
| 284 |
+
min_y = min(all_positions[:, 1] - all_sizes[:, 1] / 2)
|
| 285 |
+
max_y = max(all_positions[:, 1] + all_sizes[:, 1] / 2)
|
| 286 |
+
|
| 287 |
+
margin = 0.5
|
| 288 |
+
min_x = min(min_x - margin, 0)
|
| 289 |
+
min_y = min(min_y - margin, 0)
|
| 290 |
+
max_x = max_x + margin
|
| 291 |
+
max_y = max_y + margin
|
| 292 |
+
|
| 293 |
+
room_length = max_x - min_x
|
| 294 |
+
room_width = max_y - min_y
|
| 295 |
+
else:
|
| 296 |
+
room_length, room_width = 5.0, 5.0
|
| 297 |
+
min_x, min_y = 0, 0
|
| 298 |
+
|
| 299 |
+
layout["architecture"]["boundary_polygon"] = [
|
| 300 |
+
[min_x, min_y, 0], [min_x + room_length, min_y, 0],
|
| 301 |
+
[min_x + room_length, min_y + room_width, 0], [min_x, min_y + room_width, 0],
|
| 302 |
+
[min_x, min_y, 3.0], [min_x + room_length, min_y, 3.0],
|
| 303 |
+
[min_x + room_length, min_y + room_width, 3.0], [min_x, min_y + room_width, 3.0]
|
| 304 |
+
]
|
| 305 |
+
layout["room_size"] = {"length": room_length, "width": room_width}
|
| 306 |
+
layout["functional_zones"][0]["assets"] = assets
|
| 307 |
+
|
| 308 |
+
return layout
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
def form_prompt_for_chatgpt(user_input, room_type, supporting_examples=None):
|
| 312 |
+
"""构建 ChatGPT prompt"""
|
| 313 |
+
messages = []
|
| 314 |
+
|
| 315 |
+
system_prompt = '''You are a 3D indoor scene designer.
|
| 316 |
+
Instruction: synthesize the 3D layout of an indoor scene based on the description.
|
| 317 |
+
The generated 3D layout should follow the CSS style, where each line starts with the furniture category and is followed by the 3D size, orientation and absolute position.
|
| 318 |
+
|
| 319 |
+
Formally, each line should follow the template:
|
| 320 |
+
FURNITURE {length: ?px; width: ?px; height: ?px; left: ?px; top: ?px; depth: ?px; orientation: ? degrees;}
|
| 321 |
+
|
| 322 |
+
All values are in pixels (100px = 1 meter). The coordinate system:
|
| 323 |
+
- left: X position (horizontal)
|
| 324 |
+
- top: Y position (horizontal, perpendicular to X)
|
| 325 |
+
- depth: Z position (height from floor, typically 0 for floor objects)
|
| 326 |
+
- orientation: rotation angle around Z axis (degrees)
|
| 327 |
+
|
| 328 |
+
Rules:
|
| 329 |
+
1. Determine an appropriate room size based on the description and room type
|
| 330 |
+
2. Place furniture logically based on the room description
|
| 331 |
+
3. Ensure no overlapping furniture
|
| 332 |
+
4. Consider typical furniture arrangements for the room type
|
| 333 |
+
5. Keep furniture within room boundaries
|
| 334 |
+
6. Output ONLY the layout in CSS format, no additional text'''
|
| 335 |
+
|
| 336 |
+
messages.append({"role": "system", "content": system_prompt})
|
| 337 |
+
|
| 338 |
+
# Few-shot examples from 3D-FRONT
|
| 339 |
+
if supporting_examples:
|
| 340 |
+
for condition, layout_css in supporting_examples:
|
| 341 |
+
messages.append({"role": "user", "content": condition})
|
| 342 |
+
messages.append({"role": "assistant", "content": layout_css})
|
| 343 |
+
|
| 344 |
+
# 当前请求
|
| 345 |
+
condition = f"Room Type: {room_type}\nDescription: {user_input}\nLayout:"
|
| 346 |
+
messages.append({"role": "user", "content": condition})
|
| 347 |
+
|
| 348 |
+
return messages
|
| 349 |
+
|
| 350 |
+
|
| 351 |
+
def call_gpt(messages, temperature=0.7, max_tokens=2048, max_retries=5):
|
| 352 |
+
"""调用 Azure OpenAI GPT"""
|
| 353 |
+
for retry in range(max_retries):
|
| 354 |
+
try:
|
| 355 |
+
client = get_openai_client()
|
| 356 |
+
response = client.chat.completions.create(
|
| 357 |
+
model=DEPLOYMENT_NAME,
|
| 358 |
+
messages=messages,
|
| 359 |
+
temperature=temperature,
|
| 360 |
+
max_tokens=max_tokens,
|
| 361 |
+
)
|
| 362 |
+
return response.choices[0].message.content
|
| 363 |
+
except Exception as e:
|
| 364 |
+
error_str = str(e)
|
| 365 |
+
if "429" in error_str or "Rate" in error_str.lower():
|
| 366 |
+
wait_time = 30 * (retry + 1)
|
| 367 |
+
print(f" ⚠ Rate limited, waiting {wait_time}s... (retry {retry+1}/{max_retries})")
|
| 368 |
+
time.sleep(wait_time)
|
| 369 |
+
else:
|
| 370 |
+
print(f" ✗ API error (retry {retry+1}/{max_retries}): {e}")
|
| 371 |
+
time.sleep(5)
|
| 372 |
+
return None
|
| 373 |
+
|
| 374 |
+
|
| 375 |
+
def main():
|
| 376 |
+
parser = argparse.ArgumentParser()
|
| 377 |
+
parser.add_argument('--data_dir', type=str,
|
| 378 |
+
default='/home/v-meiszhang/amlt-project/Qwen-Image/layout_instr_bench_test')
|
| 379 |
+
parser.add_argument('--threedfront_dir', type=str,
|
| 380 |
+
default='./ATISS/data_output')
|
| 381 |
+
parser.add_argument('--splits_dir', type=str,
|
| 382 |
+
default='./dataset/3D')
|
| 383 |
+
parser.add_argument('--output_dir', type=str, default='./output_instr_bench')
|
| 384 |
+
parser.add_argument('--num_samples', type=int, default=-1)
|
| 385 |
+
parser.add_argument('--K', type=int, default=8)
|
| 386 |
+
parser.add_argument('--icl_type', type=str, default='fixed-random', choices=['fixed-random', 'k-similar'])
|
| 387 |
+
parser.add_argument('--temperature', type=float, default=0.7)
|
| 388 |
+
parser.add_argument('--max_train_samples', type=int, default=200)
|
| 389 |
+
args = parser.parse_args()
|
| 390 |
+
|
| 391 |
+
# 创建输出目录
|
| 392 |
+
os.makedirs(args.output_dir, exist_ok=True)
|
| 393 |
+
layout_dir = os.path.join(args.output_dir, 'layouts')
|
| 394 |
+
os.makedirs(layout_dir, exist_ok=True)
|
| 395 |
+
|
| 396 |
+
# 加载测试数据
|
| 397 |
+
test_samples = load_instr_bench_data(args.data_dir)
|
| 398 |
+
|
| 399 |
+
if args.num_samples > 0:
|
| 400 |
+
test_samples = test_samples[:args.num_samples]
|
| 401 |
+
|
| 402 |
+
# 加载 3D-FRONT 训练数据作为 ICL 示例
|
| 403 |
+
bedroom_examples = load_3dfront_train_examples(
|
| 404 |
+
op.join(args.threedfront_dir, 'bedroom'),
|
| 405 |
+
op.join(args.splits_dir, 'bedroom_splits.json'),
|
| 406 |
+
'bedroom',
|
| 407 |
+
args.max_train_samples
|
| 408 |
+
)
|
| 409 |
+
|
| 410 |
+
livingroom_examples = load_3dfront_train_examples(
|
| 411 |
+
op.join(args.threedfront_dir, 'livingroom'),
|
| 412 |
+
op.join(args.splits_dir, 'livingroom_splits.json'),
|
| 413 |
+
'livingroom',
|
| 414 |
+
args.max_train_samples
|
| 415 |
+
)
|
| 416 |
+
|
| 417 |
+
# 合并示例
|
| 418 |
+
all_examples = bedroom_examples + livingroom_examples
|
| 419 |
+
print(f"总共 {len(all_examples)} 个 ICL 示例")
|
| 420 |
+
|
| 421 |
+
# 固定随机选择
|
| 422 |
+
random.seed(42)
|
| 423 |
+
fixed_examples = random.sample(all_examples, min(args.K, len(all_examples)))
|
| 424 |
+
|
| 425 |
+
# 运行测试
|
| 426 |
+
results = {
|
| 427 |
+
"config": {
|
| 428 |
+
"data_dir": args.data_dir,
|
| 429 |
+
"K": args.K,
|
| 430 |
+
"icl_type": args.icl_type,
|
| 431 |
+
"temperature": args.temperature,
|
| 432 |
+
"model": DEPLOYMENT_NAME,
|
| 433 |
+
"icl_source": "3D-FRONT",
|
| 434 |
+
},
|
| 435 |
+
"samples": []
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
success_count = 0
|
| 439 |
+
skipped_count = 0
|
| 440 |
+
|
| 441 |
+
for idx, sample in enumerate(tqdm(test_samples, desc="生成布局")):
|
| 442 |
+
prompt_text = sample.get('generated_prompt', '')
|
| 443 |
+
room_type = sample.get('room_type', 'room').replace('_', ' ')
|
| 444 |
+
source = sample.get('source', {})
|
| 445 |
+
image_id = source.get('image_id', f'sample_{idx}')
|
| 446 |
+
complexity = sample.get('complexity', 'unknown')
|
| 447 |
+
content_focus = sample.get('content_focus', 'unknown')
|
| 448 |
+
|
| 449 |
+
# 检查是否已存在
|
| 450 |
+
safe_id = image_id.replace('/', '_').replace(':', '_')
|
| 451 |
+
layout_path = os.path.join(layout_dir, f"{safe_id}.json")
|
| 452 |
+
if os.path.exists(layout_path):
|
| 453 |
+
skipped_count += 1
|
| 454 |
+
success_count += 1
|
| 455 |
+
continue
|
| 456 |
+
|
| 457 |
+
# 构建 prompt
|
| 458 |
+
messages = form_prompt_for_chatgpt(prompt_text, room_type, fixed_examples)
|
| 459 |
+
|
| 460 |
+
# 调用 GPT
|
| 461 |
+
response = call_gpt(messages, temperature=args.temperature)
|
| 462 |
+
|
| 463 |
+
if response:
|
| 464 |
+
# 解析 CSS 输出
|
| 465 |
+
layout_json = css_to_zones(response, room_type.replace(' ', ''))
|
| 466 |
+
|
| 467 |
+
# 保存结果
|
| 468 |
+
result = {
|
| 469 |
+
"sample_id": image_id,
|
| 470 |
+
"user_input": prompt_text,
|
| 471 |
+
"room_type": room_type,
|
| 472 |
+
"complexity": complexity,
|
| 473 |
+
"content_focus": content_focus,
|
| 474 |
+
"generated_layout": response,
|
| 475 |
+
"generated_layout_json": layout_json,
|
| 476 |
+
}
|
| 477 |
+
|
| 478 |
+
with open(layout_path, 'w') as f:
|
| 479 |
+
json.dump(result, f, indent=2)
|
| 480 |
+
|
| 481 |
+
results["samples"].append({
|
| 482 |
+
"sample_id": image_id,
|
| 483 |
+
"room_type": room_type,
|
| 484 |
+
"complexity": complexity,
|
| 485 |
+
"content_focus": content_focus,
|
| 486 |
+
"num_assets": len(layout_json["functional_zones"][0]["assets"]),
|
| 487 |
+
"inferred_room_size": layout_json.get("room_size", {}),
|
| 488 |
+
})
|
| 489 |
+
success_count += 1
|
| 490 |
+
else:
|
| 491 |
+
print(f" ✗ 样本 {idx} 生成失败")
|
| 492 |
+
|
| 493 |
+
# 保存总结果
|
| 494 |
+
results["summary"] = {
|
| 495 |
+
"total": len(test_samples),
|
| 496 |
+
"success": success_count,
|
| 497 |
+
"skipped": skipped_count,
|
| 498 |
+
"success_rate": success_count / len(test_samples) if test_samples else 0,
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
results_path = os.path.join(args.output_dir, 'results.json')
|
| 502 |
+
with open(results_path, 'w') as f:
|
| 503 |
+
json.dump(results, f, indent=2)
|
| 504 |
+
|
| 505 |
+
print(f"\n完成! 成功: {success_count}/{len(test_samples)} (跳过已存在: {skipped_count})")
|
| 506 |
+
print(f"结果保存到: {args.output_dir}")
|
| 507 |
+
|
| 508 |
+
|
| 509 |
+
if __name__ == '__main__':
|
| 510 |
+
main()
|
eval/LayoutGPT/zones_1k.log
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nohup: ignoring input
|
| 2 |
+
加载 1000 个 test 样本
|
| 3 |
+
|
| 4 |
+
===== 加载 3D-FRONT ICL 示例 =====
|
| 5 |
+
3D-FRONT bedroom 训练集: 3397 个
|
| 6 |
+
|
| 7 |
+
成功加载 200 个 bedroom ICL 示例
|
| 8 |
+
3D-FRONT livingroom 训练集: 690 个
|
| 9 |
+
|
| 10 |
+
成功加载 200 个 livingroom ICL 示例
|
| 11 |
+
|
| 12 |
+
总共 400 个 ICL 示例
|
| 13 |
+
|
| 14 |
+
===== 开始生成 1000 个 layout =====
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
===== 完成 =====
|
| 19 |
+
成功: 1000/1000
|
| 20 |
+
失败: 0/1000
|
| 21 |
+
结果保存至: ./output_zones_1k
|
eval/LayoutVLM/benchmark_tasks/living_room/living_room_2.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task_description": "A minimalist living room with the following layout specifications: small sofa against one wall, a coffee table in front of the sofa, and a single chair in one corner. Room size: 4m x 4m",
|
| 3 |
+
"layout_criteria": "The layout criteria should follow the task description and be minimalist, with a small sofa against one wall, a coffee table in front of the sofa, and a single chair in one corner to maximize the space in the 4m x 4m room.",
|
| 4 |
+
"boundary": {
|
| 5 |
+
"floor_vertices": [
|
| 6 |
+
[
|
| 7 |
+
0,
|
| 8 |
+
0,
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
4,
|
| 13 |
+
0,
|
| 14 |
+
0
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
4,
|
| 18 |
+
4,
|
| 19 |
+
0
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
0,
|
| 23 |
+
4,
|
| 24 |
+
0
|
| 25 |
+
]
|
| 26 |
+
],
|
| 27 |
+
"wall_height": 1.0650670488535852
|
| 28 |
+
},
|
| 29 |
+
"assets": {
|
| 30 |
+
"ea8211d1ba024cf68f3d013412fc790f-0": {},
|
| 31 |
+
"706a1b0e23d34e60b0f8c9210ee85722-0": {},
|
| 32 |
+
"600e1e7db1cf48479da37f997e6c3448-0": {},
|
| 33 |
+
"49b464ed824340ad8004396212171c13-0": {},
|
| 34 |
+
"055ecc09440b4a40b3c27caf8e0ff768-0": {},
|
| 35 |
+
"341fbd5544f541bbb4d5edf5007c236d-0": {},
|
| 36 |
+
"341fbd5544f541bbb4d5edf5007c236d-1": {},
|
| 37 |
+
"ff91bcd9854e453dafc069321396225a-0": {},
|
| 38 |
+
"e44787f102244418b88f76dad23f7d32-0": {},
|
| 39 |
+
"e399183c810d4b68b4a90c021dc62820-0": {},
|
| 40 |
+
"e0166b7b9bff42e9a6b39ac1f08ce53c-0": {},
|
| 41 |
+
"e0166b7b9bff42e9a6b39ac1f08ce53c-1": {}
|
| 42 |
+
},
|
| 43 |
+
"og_asset_list": {
|
| 44 |
+
"sofa": [
|
| 45 |
+
1,
|
| 46 |
+
1
|
| 47 |
+
],
|
| 48 |
+
"coffee table": [
|
| 49 |
+
1,
|
| 50 |
+
1
|
| 51 |
+
],
|
| 52 |
+
"chair": [
|
| 53 |
+
1,
|
| 54 |
+
1
|
| 55 |
+
],
|
| 56 |
+
"rug": [
|
| 57 |
+
1,
|
| 58 |
+
1
|
| 59 |
+
],
|
| 60 |
+
"floor lamp": [
|
| 61 |
+
1,
|
| 62 |
+
1
|
| 63 |
+
],
|
| 64 |
+
"throw pillow": [
|
| 65 |
+
2,
|
| 66 |
+
1
|
| 67 |
+
],
|
| 68 |
+
"blanket": [
|
| 69 |
+
1,
|
| 70 |
+
1
|
| 71 |
+
],
|
| 72 |
+
"side table": [
|
| 73 |
+
1,
|
| 74 |
+
1
|
| 75 |
+
],
|
| 76 |
+
"bookshelf": [
|
| 77 |
+
1,
|
| 78 |
+
1
|
| 79 |
+
],
|
| 80 |
+
"artwork": [
|
| 81 |
+
2,
|
| 82 |
+
1
|
| 83 |
+
]
|
| 84 |
+
}
|
| 85 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/03704744-6330-41f6-9983-928466e9a39b-1f4286b7-49ab-41a4-868e-c0a63821edff.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
0.0,
|
| 38 |
+
-1.6
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-1.5,
|
| 42 |
+
0.0,
|
| 43 |
+
-1.6
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "bedroom",
|
| 47 |
+
"room_id": "Bedroom-265794",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "Modern square ceiling lamp with geometric patterned metal frame and frosted glass for contemporary decor.",
|
| 51 |
+
"size": [
|
| 52 |
+
0.58,
|
| 53 |
+
0.13,
|
| 54 |
+
0.58
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
-0.01,
|
| 58 |
+
2.53,
|
| 59 |
+
-0.23
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
0,
|
| 64 |
+
0,
|
| 65 |
+
1
|
| 66 |
+
],
|
| 67 |
+
"jid": "880ac819-66b6-4b09-addb-c3239a16ec5c"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "Modern white and blue kids bunk bed with side ladder, stairs, and storage drawers.",
|
| 71 |
+
"size": [
|
| 72 |
+
2.43,
|
| 73 |
+
1.98,
|
| 74 |
+
1.43
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
0.46,
|
| 78 |
+
0.0,
|
| 79 |
+
0.35
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
-0.70711,
|
| 84 |
+
0,
|
| 85 |
+
0.70711
|
| 86 |
+
],
|
| 87 |
+
"jid": "0115036f-8abc-4cc5-99a3-d8607500d213"
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/09909663-6896-4cb8-993e-4417342d8d44-a1415361-3176-4b17-bac8-5cb50475c252.json
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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+
[
|
| 56 |
+
1.9,
|
| 57 |
+
0.0,
|
| 58 |
+
-1.5
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
-0.6,
|
| 62 |
+
0.0,
|
| 63 |
+
-1.5
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
-0.6,
|
| 67 |
+
0.0,
|
| 68 |
+
-3.4
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
0.0,
|
| 72 |
+
0.0,
|
| 73 |
+
-3.4
|
| 74 |
+
],
|
| 75 |
+
[
|
| 76 |
+
0.0,
|
| 77 |
+
0.0,
|
| 78 |
+
-4.4
|
| 79 |
+
],
|
| 80 |
+
[
|
| 81 |
+
-1.9,
|
| 82 |
+
0.0,
|
| 83 |
+
-4.4
|
| 84 |
+
]
|
| 85 |
+
],
|
| 86 |
+
"room_type": "livingroom",
|
| 87 |
+
"room_id": "LivingDiningRoom-14579",
|
| 88 |
+
"objects": [
|
| 89 |
+
{
|
| 90 |
+
"desc": "Modern walnut wood bookcase/jewelry armoire with open shelves, drawers, and cabinet door, featuring white laminated panels and raised legs.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.85,
|
| 93 |
+
1.31,
|
| 94 |
+
0.35
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
-0.26,
|
| 98 |
+
0.0,
|
| 99 |
+
-3.9
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
-0.70711,
|
| 104 |
+
0,
|
| 105 |
+
0.70711
|
| 106 |
+
],
|
| 107 |
+
"jid": "6e16ad24-712f-4d40-abe6-93ecdf10bcb9"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "A contemporary dining table with a black glass top and a geometric stainless steel base, showcasing a modern aesthetic with sleek, reflective elements.",
|
| 111 |
+
"size": [
|
| 112 |
+
2.59,
|
| 113 |
+
0.72,
|
| 114 |
+
1.29
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
0.52,
|
| 118 |
+
0.0,
|
| 119 |
+
-0.87
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
0,
|
| 124 |
+
0,
|
| 125 |
+
1
|
| 126 |
+
],
|
| 127 |
+
"jid": "81e4fc44-062b-427f-affe-6339a7289307"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "Contemporary grey upholstered dining chair with high backrest and black tapered wooden legs.",
|
| 131 |
+
"size": [
|
| 132 |
+
0.51,
|
| 133 |
+
0.92,
|
| 134 |
+
0.57
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
0.03,
|
| 138 |
+
0.0,
|
| 139 |
+
-0.49
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
1,
|
| 144 |
+
0,
|
| 145 |
+
0.00134
|
| 146 |
+
],
|
| 147 |
+
"jid": "42061aa6-19bd-44f8-95db-e91d3fc90d54"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "Contemporary grey upholstered dining chair with high backrest and black tapered wooden legs.",
|
| 151 |
+
"size": [
|
| 152 |
+
0.51,
|
| 153 |
+
0.92,
|
| 154 |
+
0.57
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
0.99,
|
| 158 |
+
0.0,
|
| 159 |
+
-0.49
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
1,
|
| 164 |
+
0,
|
| 165 |
+
0.00134
|
| 166 |
+
],
|
| 167 |
+
"jid": "42061aa6-19bd-44f8-95db-e91d3fc90d54"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"desc": "Modern minimalist sideboard with a dark brown wood finish, gray tapered legs, multiple drawers, cut-out handles, and sleek design.",
|
| 171 |
+
"size": [
|
| 172 |
+
0.86,
|
| 173 |
+
1.3,
|
| 174 |
+
0.4
|
| 175 |
+
],
|
| 176 |
+
"pos": [
|
| 177 |
+
1.67,
|
| 178 |
+
0.07,
|
| 179 |
+
-0.95
|
| 180 |
+
],
|
| 181 |
+
"rot": [
|
| 182 |
+
0,
|
| 183 |
+
0.70711,
|
| 184 |
+
0,
|
| 185 |
+
-0.70711
|
| 186 |
+
],
|
| 187 |
+
"jid": "a4a3deb5-a21b-4c69-914b-3ed6e596aa4a"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"desc": "This modern minimalist black coffee table features a unique asymmetrical glass top and sturdy metal legs, offering a sleek and stylish addition to contemporary spaces.",
|
| 191 |
+
"size": [
|
| 192 |
+
1.08,
|
| 193 |
+
0.17,
|
| 194 |
+
0.64
|
| 195 |
+
],
|
| 196 |
+
"pos": [
|
| 197 |
+
0.31,
|
| 198 |
+
0.0,
|
| 199 |
+
2.52
|
| 200 |
+
],
|
| 201 |
+
"rot": [
|
| 202 |
+
0,
|
| 203 |
+
0,
|
| 204 |
+
0,
|
| 205 |
+
1
|
| 206 |
+
],
|
| 207 |
+
"jid": "06791438-cfa8-4e29-95cc-4ff8107e3456"
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"desc": "A sophisticated transitional three-seat sofa with a gray fabric upholstery, rolled arms, and wooden legs.",
|
| 211 |
+
"size": [
|
| 212 |
+
2.69,
|
| 213 |
+
0.88,
|
| 214 |
+
1.01
|
| 215 |
+
],
|
| 216 |
+
"pos": [
|
| 217 |
+
1.38,
|
| 218 |
+
0.0,
|
| 219 |
+
2.47
|
| 220 |
+
],
|
| 221 |
+
"rot": [
|
| 222 |
+
0,
|
| 223 |
+
0.70711,
|
| 224 |
+
0,
|
| 225 |
+
-0.70711
|
| 226 |
+
],
|
| 227 |
+
"jid": "047464cd-5011-48fe-b229-fb36a71ba9f6"
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"desc": "A modern gray armchair with a curved backrest, fabric upholstery, and thin metal legs showcasing a minimalist design.",
|
| 231 |
+
"size": [
|
| 232 |
+
0.83,
|
| 233 |
+
0.66,
|
| 234 |
+
0.78
|
| 235 |
+
],
|
| 236 |
+
"pos": [
|
| 237 |
+
0.39,
|
| 238 |
+
0.0,
|
| 239 |
+
1.04
|
| 240 |
+
],
|
| 241 |
+
"rot": [
|
| 242 |
+
0,
|
| 243 |
+
-0.20457,
|
| 244 |
+
0,
|
| 245 |
+
0.97885
|
| 246 |
+
],
|
| 247 |
+
"jid": "a1458bfd-2d20-4f23-895b-7b5e7e638b6e"
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"desc": "A modern, minimalist TV stand with clean lines, gray finish, mixed materials, open shelving, sleek metal legs, and smooth cabinet doors.",
|
| 251 |
+
"size": [
|
| 252 |
+
2.4,
|
| 253 |
+
0.63,
|
| 254 |
+
0.46
|
| 255 |
+
],
|
| 256 |
+
"pos": [
|
| 257 |
+
-1.68,
|
| 258 |
+
0.0,
|
| 259 |
+
2.23
|
| 260 |
+
],
|
| 261 |
+
"rot": [
|
| 262 |
+
0,
|
| 263 |
+
0.70711,
|
| 264 |
+
0,
|
| 265 |
+
0.70711
|
| 266 |
+
],
|
| 267 |
+
"jid": "1b177d51-d465-49c3-8580-9b2c81e24f95"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"desc": "A modern, minimalist fake bamboo plant with slender green leaves in a rectangular beige ceramic planter, perfect for adding a touch of nature to contemporary interiors.",
|
| 271 |
+
"size": [
|
| 272 |
+
0.85,
|
| 273 |
+
1.15,
|
| 274 |
+
0.86
|
| 275 |
+
],
|
| 276 |
+
"pos": [
|
| 277 |
+
-1.56,
|
| 278 |
+
0.0,
|
| 279 |
+
3.73
|
| 280 |
+
],
|
| 281 |
+
"rot": [
|
| 282 |
+
0,
|
| 283 |
+
0,
|
| 284 |
+
0,
|
| 285 |
+
1
|
| 286 |
+
],
|
| 287 |
+
"jid": "079cca6e-c638-459b-9008-813b69145117"
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"desc": "Contemporary dark gray fabric rectangular pouf with a low profile, quilted design, and soft, plush cushion.",
|
| 291 |
+
"size": [
|
| 292 |
+
0.87,
|
| 293 |
+
0.28,
|
| 294 |
+
0.81
|
| 295 |
+
],
|
| 296 |
+
"pos": [
|
| 297 |
+
0.2,
|
| 298 |
+
0.0,
|
| 299 |
+
3.77
|
| 300 |
+
],
|
| 301 |
+
"rot": [
|
| 302 |
+
0,
|
| 303 |
+
0,
|
| 304 |
+
0,
|
| 305 |
+
1
|
| 306 |
+
],
|
| 307 |
+
"jid": "bdb254be-2557-4999-abaf-9d5e2f093ae8"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"desc": "A contemporary minimalist dark brown wooden corner side table with a distinctive grid-like apron design.",
|
| 311 |
+
"size": [
|
| 312 |
+
0.5,
|
| 313 |
+
0.66,
|
| 314 |
+
0.5
|
| 315 |
+
],
|
| 316 |
+
"pos": [
|
| 317 |
+
1.37,
|
| 318 |
+
0.0,
|
| 319 |
+
0.85
|
| 320 |
+
],
|
| 321 |
+
"rot": [
|
| 322 |
+
0,
|
| 323 |
+
0,
|
| 324 |
+
0,
|
| 325 |
+
1
|
| 326 |
+
],
|
| 327 |
+
"jid": "f7a37f58-7612-4c4f-b24e-15165d788663"
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"desc": "Modern minimalist floor lamp with a white fabric drum shade and brown wooden tripod base featuring an open geometric design.",
|
| 331 |
+
"size": [
|
| 332 |
+
0.47,
|
| 333 |
+
1.3,
|
| 334 |
+
0.47
|
| 335 |
+
],
|
| 336 |
+
"pos": [
|
| 337 |
+
1.42,
|
| 338 |
+
0.0,
|
| 339 |
+
4.07
|
| 340 |
+
],
|
| 341 |
+
"rot": [
|
| 342 |
+
0,
|
| 343 |
+
0,
|
| 344 |
+
0,
|
| 345 |
+
1
|
| 346 |
+
],
|
| 347 |
+
"jid": "4e086af8-0900-4c6d-b535-08c7a936a981"
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"desc": "Modern grey ceiling-mounted pendant lamp with five curved metal arms and cylindrical glass shades featuring integrated LED lights.",
|
| 351 |
+
"size": [
|
| 352 |
+
0.79,
|
| 353 |
+
0.54,
|
| 354 |
+
0.71
|
| 355 |
+
],
|
| 356 |
+
"pos": [
|
| 357 |
+
0.5,
|
| 358 |
+
1.67,
|
| 359 |
+
-1.09
|
| 360 |
+
],
|
| 361 |
+
"rot": [
|
| 362 |
+
0,
|
| 363 |
+
0,
|
| 364 |
+
0,
|
| 365 |
+
1
|
| 366 |
+
],
|
| 367 |
+
"jid": "f1e2158b-770b-464a-bcf2-902ba2c48af0"
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"desc": "Modern grey ceiling-mounted pendant lamp with five curved metal arms and cylindrical glass shades featuring integrated LED lights.",
|
| 371 |
+
"size": [
|
| 372 |
+
0.79,
|
| 373 |
+
0.54,
|
| 374 |
+
0.71
|
| 375 |
+
],
|
| 376 |
+
"pos": [
|
| 377 |
+
0.08,
|
| 378 |
+
2.06,
|
| 379 |
+
2.43
|
| 380 |
+
],
|
| 381 |
+
"rot": [
|
| 382 |
+
0,
|
| 383 |
+
0,
|
| 384 |
+
0,
|
| 385 |
+
1
|
| 386 |
+
],
|
| 387 |
+
"jid": "f1e2158b-770b-464a-bcf2-902ba2c48af0"
|
| 388 |
+
}
|
| 389 |
+
]
|
| 390 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/0de011f0-b39c-44f5-a5b8-3bf0fb7bdd24-7340711f-30b2-46ec-9cc2-bae1b74552a7.json
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
3.7
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
2.3,
|
| 72 |
+
0.0,
|
| 73 |
+
3.7
|
| 74 |
+
],
|
| 75 |
+
[
|
| 76 |
+
2.3,
|
| 77 |
+
0.0,
|
| 78 |
+
-0.2
|
| 79 |
+
],
|
| 80 |
+
[
|
| 81 |
+
1.4,
|
| 82 |
+
0.0,
|
| 83 |
+
-0.2
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
1.4,
|
| 87 |
+
0.0,
|
| 88 |
+
-2.1
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
0.6,
|
| 92 |
+
0.0,
|
| 93 |
+
-2.1
|
| 94 |
+
],
|
| 95 |
+
[
|
| 96 |
+
0.6,
|
| 97 |
+
0.0,
|
| 98 |
+
-3.7
|
| 99 |
+
],
|
| 100 |
+
[
|
| 101 |
+
-2.3,
|
| 102 |
+
0.0,
|
| 103 |
+
-3.7
|
| 104 |
+
]
|
| 105 |
+
],
|
| 106 |
+
"room_type": "livingroom",
|
| 107 |
+
"room_id": "LivingDiningRoom-13278",
|
| 108 |
+
"objects": [
|
| 109 |
+
{
|
| 110 |
+
"desc": "Modern light gray fabric three-seat sofa with minimalist design, thin metal legs, and dark gray pillow accents.",
|
| 111 |
+
"size": [
|
| 112 |
+
2.41,
|
| 113 |
+
0.77,
|
| 114 |
+
0.89
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
1.9,
|
| 118 |
+
0.0,
|
| 119 |
+
1.68
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
-0.70711,
|
| 124 |
+
0,
|
| 125 |
+
0.70711
|
| 126 |
+
],
|
| 127 |
+
"jid": "2ddc834b-8c0e-4652-a83e-959087fcf028"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "A modern armchair with eclectic patterns, gray fabric upholstery, and elegant tapered legs.",
|
| 131 |
+
"size": [
|
| 132 |
+
0.68,
|
| 133 |
+
0.8,
|
| 134 |
+
0.68
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
0.82,
|
| 138 |
+
0.0,
|
| 139 |
+
3.05
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
0.98163,
|
| 144 |
+
0,
|
| 145 |
+
-0.1908
|
| 146 |
+
],
|
| 147 |
+
"jid": "f7dce3bd-31e7-44ac-ba84-c5098c46f6fb"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "This modern minimalist coffee table features a split-level wooden top in light brown and open black metal base.",
|
| 151 |
+
"size": [
|
| 152 |
+
1.41,
|
| 153 |
+
0.41,
|
| 154 |
+
0.82
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
0.85,
|
| 158 |
+
0.0,
|
| 159 |
+
1.66
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
-0.70711,
|
| 164 |
+
0,
|
| 165 |
+
0.70711
|
| 166 |
+
],
|
| 167 |
+
"jid": "24ae86f8-6a16-49a3-b0e9-f35bfe9dfb3f"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"desc": "Modern corner side table with a sleek round tabletop, central pedestal base, minimalist design, and reflective metal finish.",
|
| 171 |
+
"size": [
|
| 172 |
+
0.45,
|
| 173 |
+
0.46,
|
| 174 |
+
0.45
|
| 175 |
+
],
|
| 176 |
+
"pos": [
|
| 177 |
+
1.91,
|
| 178 |
+
0.0,
|
| 179 |
+
0.22
|
| 180 |
+
],
|
| 181 |
+
"rot": [
|
| 182 |
+
0,
|
| 183 |
+
0,
|
| 184 |
+
0,
|
| 185 |
+
1
|
| 186 |
+
],
|
| 187 |
+
"jid": "026b3a27-85f5-4061-9991-7d6182ad8861"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"desc": "A modern minimalist floor lamp featuring an arched metal structure with a reflective dome lampshade and a solid marble base.",
|
| 191 |
+
"size": [
|
| 192 |
+
1.59,
|
| 193 |
+
1.79,
|
| 194 |
+
0.27
|
| 195 |
+
],
|
| 196 |
+
"pos": [
|
| 197 |
+
1.22,
|
| 198 |
+
0.0,
|
| 199 |
+
2.68
|
| 200 |
+
],
|
| 201 |
+
"rot": [
|
| 202 |
+
0,
|
| 203 |
+
-0.38268,
|
| 204 |
+
0,
|
| 205 |
+
0.92388
|
| 206 |
+
],
|
| 207 |
+
"jid": "ab7e9c56-b5b2-4dd8-ae70-fb293448d95f-(0.77)-(0.77)-(0.77)"
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"desc": "Modern minimalist TV stand with black and gray dual-tone design, featuring rectangular shape, clean lines, open shelves, cabinet doors, and metal legs for functional elegance.",
|
| 211 |
+
"size": [
|
| 212 |
+
2.6,
|
| 213 |
+
0.65,
|
| 214 |
+
0.6
|
| 215 |
+
],
|
| 216 |
+
"pos": [
|
| 217 |
+
-0.78,
|
| 218 |
+
0.0,
|
| 219 |
+
1.67
|
| 220 |
+
],
|
| 221 |
+
"rot": [
|
| 222 |
+
0,
|
| 223 |
+
0.70711,
|
| 224 |
+
0,
|
| 225 |
+
0.70711
|
| 226 |
+
],
|
| 227 |
+
"jid": "3f4d9136-8cc9-4b63-a04b-98e2141f964f"
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"desc": "A contemporary minimalist round wood dining table with a geometric base and dark brown finish.",
|
| 231 |
+
"size": [
|
| 232 |
+
1.38,
|
| 233 |
+
0.73,
|
| 234 |
+
1.38
|
| 235 |
+
],
|
| 236 |
+
"pos": [
|
| 237 |
+
0.66,
|
| 238 |
+
0.0,
|
| 239 |
+
-1.07
|
| 240 |
+
],
|
| 241 |
+
"rot": [
|
| 242 |
+
0,
|
| 243 |
+
0,
|
| 244 |
+
0,
|
| 245 |
+
1
|
| 246 |
+
],
|
| 247 |
+
"jid": "bc16ac37-00f0-4646-8e47-56de6044ac1e"
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"desc": "Elegant navy blue velvet dining chair with curved backrest, nailhead trim, and sturdy wooden legs.",
|
| 251 |
+
"size": [
|
| 252 |
+
0.45,
|
| 253 |
+
0.83,
|
| 254 |
+
0.51
|
| 255 |
+
],
|
| 256 |
+
"pos": [
|
| 257 |
+
1.03,
|
| 258 |
+
0.0,
|
| 259 |
+
-1.68
|
| 260 |
+
],
|
| 261 |
+
"rot": [
|
| 262 |
+
0,
|
| 263 |
+
0,
|
| 264 |
+
0,
|
| 265 |
+
1
|
| 266 |
+
],
|
| 267 |
+
"jid": "6af44d96-2d68-4ac7-9724-0b838523cfa3"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"desc": "Elegant navy blue velvet dining chair with curved backrest, nailhead trim, and sturdy wooden legs.",
|
| 271 |
+
"size": [
|
| 272 |
+
0.45,
|
| 273 |
+
0.83,
|
| 274 |
+
0.51
|
| 275 |
+
],
|
| 276 |
+
"pos": [
|
| 277 |
+
0.29,
|
| 278 |
+
0.0,
|
| 279 |
+
-1.69
|
| 280 |
+
],
|
| 281 |
+
"rot": [
|
| 282 |
+
0,
|
| 283 |
+
0,
|
| 284 |
+
0,
|
| 285 |
+
1
|
| 286 |
+
],
|
| 287 |
+
"jid": "6af44d96-2d68-4ac7-9724-0b838523cfa3"
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"desc": "Elegant navy blue velvet dining chair with curved backrest, nailhead trim, and sturdy wooden legs.",
|
| 291 |
+
"size": [
|
| 292 |
+
0.45,
|
| 293 |
+
0.83,
|
| 294 |
+
0.51
|
| 295 |
+
],
|
| 296 |
+
"pos": [
|
| 297 |
+
0.24,
|
| 298 |
+
0.0,
|
| 299 |
+
-0.35
|
| 300 |
+
],
|
| 301 |
+
"rot": [
|
| 302 |
+
0,
|
| 303 |
+
1,
|
| 304 |
+
0,
|
| 305 |
+
0
|
| 306 |
+
],
|
| 307 |
+
"jid": "6af44d96-2d68-4ac7-9724-0b838523cfa3"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"desc": "Elegant navy blue velvet dining chair with curved backrest, nailhead trim, and sturdy wooden legs.",
|
| 311 |
+
"size": [
|
| 312 |
+
0.45,
|
| 313 |
+
0.83,
|
| 314 |
+
0.51
|
| 315 |
+
],
|
| 316 |
+
"pos": [
|
| 317 |
+
1.1,
|
| 318 |
+
0.0,
|
| 319 |
+
-0.35
|
| 320 |
+
],
|
| 321 |
+
"rot": [
|
| 322 |
+
0,
|
| 323 |
+
1,
|
| 324 |
+
0,
|
| 325 |
+
0
|
| 326 |
+
],
|
| 327 |
+
"jid": "6af44d96-2d68-4ac7-9724-0b838523cfa3"
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"desc": "A contemporary sideboard with a sleek metal frame, featuring a multi-tonal geometric wood facade in gray, brown, black, and white.",
|
| 331 |
+
"size": [
|
| 332 |
+
3.02,
|
| 333 |
+
0.77,
|
| 334 |
+
0.45
|
| 335 |
+
],
|
| 336 |
+
"pos": [
|
| 337 |
+
-2.07,
|
| 338 |
+
0.0,
|
| 339 |
+
-1.77
|
| 340 |
+
],
|
| 341 |
+
"rot": [
|
| 342 |
+
0,
|
| 343 |
+
0.70711,
|
| 344 |
+
0,
|
| 345 |
+
0.70711
|
| 346 |
+
],
|
| 347 |
+
"jid": "e88e5f90-ff30-4b83-98a8-366c041f1b22"
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"desc": "A modern contemporary black metal pendant lamp with five clear glass spherical shades on radiating arms.",
|
| 351 |
+
"size": [
|
| 352 |
+
0.65,
|
| 353 |
+
0.51,
|
| 354 |
+
0.62
|
| 355 |
+
],
|
| 356 |
+
"pos": [
|
| 357 |
+
0.71,
|
| 358 |
+
2.05,
|
| 359 |
+
-1.12
|
| 360 |
+
],
|
| 361 |
+
"rot": [
|
| 362 |
+
0,
|
| 363 |
+
0,
|
| 364 |
+
0,
|
| 365 |
+
1
|
| 366 |
+
],
|
| 367 |
+
"jid": "3f308c49-1bfb-4770-8571-a147581f65cc"
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"desc": "Elegant dual light pendant lamp with curved bronze arms and beige fabric shades offering a contemporary vintage blend.",
|
| 371 |
+
"size": [
|
| 372 |
+
1.0,
|
| 373 |
+
0.57,
|
| 374 |
+
0.19
|
| 375 |
+
],
|
| 376 |
+
"pos": [
|
| 377 |
+
0.63,
|
| 378 |
+
2.41,
|
| 379 |
+
1.75
|
| 380 |
+
],
|
| 381 |
+
"rot": [
|
| 382 |
+
0,
|
| 383 |
+
0,
|
| 384 |
+
0,
|
| 385 |
+
1
|
| 386 |
+
],
|
| 387 |
+
"jid": "28b7ed8a-0382-4fe5-82fe-8fbfd34a9c08"
|
| 388 |
+
}
|
| 389 |
+
]
|
| 390 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/10f1a79e-8511-4b81-af4d-fee9ef2efbd3-a548665a-6bbe-4d02-b286-0237541bb4d6.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 37 |
+
0.0,
|
| 38 |
+
-1.8
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-2.4,
|
| 42 |
+
0.0,
|
| 43 |
+
-1.8
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "other",
|
| 47 |
+
"room_id": "CloakRoom-3081",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "Contemporary minimalist dining chair featuring a high-back beige upholstered seat and natural wood straight legs, combining clean lines with subtle elegance.",
|
| 51 |
+
"size": [
|
| 52 |
+
0.48,
|
| 53 |
+
0.86,
|
| 54 |
+
0.49
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
1.06,
|
| 58 |
+
0.0,
|
| 59 |
+
0.8
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
-0.70711,
|
| 64 |
+
0,
|
| 65 |
+
0.70711
|
| 66 |
+
],
|
| 67 |
+
"jid": "978dc980-b198-472f-b04c-cdacf7d0e968"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "A modern rectangular wood and fabric shelf with a yellow padded seat and a slatted lower storage shelf.",
|
| 71 |
+
"size": [
|
| 72 |
+
0.7,
|
| 73 |
+
0.5,
|
| 74 |
+
0.16
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
-2.02,
|
| 78 |
+
0.0,
|
| 79 |
+
-0.29
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
1,
|
| 84 |
+
0,
|
| 85 |
+
0
|
| 86 |
+
],
|
| 87 |
+
"jid": "49de7550-9378-4f68-81f3-de1dbd7281a0-(0.74)-(1.0)-(0.47)"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"desc": "Minimalist traditional light beige wooden dining table with a rectangular shape, smooth surface, unadorned apron, and turned legs.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.8,
|
| 93 |
+
0.8,
|
| 94 |
+
1.35
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
-0.21,
|
| 98 |
+
0.0,
|
| 99 |
+
1.42
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
-0.70711,
|
| 104 |
+
0,
|
| 105 |
+
0.70711
|
| 106 |
+
],
|
| 107 |
+
"jid": "1abe6277-1847-457b-a3fd-5e7d3c1dc031-(0.94)-(1.0)-(0.99)"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "A modern, freestanding mirror with a thin wood frame, metal base, and rounded corners.",
|
| 111 |
+
"size": [
|
| 112 |
+
0.46,
|
| 113 |
+
1.57,
|
| 114 |
+
0.05
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
-2.35,
|
| 118 |
+
0.0,
|
| 119 |
+
1.24
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
-0.70711,
|
| 124 |
+
0,
|
| 125 |
+
0.70711
|
| 126 |
+
],
|
| 127 |
+
"jid": "e6130c8c-1d6b-464d-9a8b-690d4039f224"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "Modern minimalist silver metal shelf with multiple geometric shelves and an open framework.",
|
| 131 |
+
"size": [
|
| 132 |
+
0.3,
|
| 133 |
+
0.95,
|
| 134 |
+
0.15
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
-2.11,
|
| 138 |
+
0.0,
|
| 139 |
+
-1.33
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
0.70711,
|
| 144 |
+
0,
|
| 145 |
+
0.70711
|
| 146 |
+
],
|
| 147 |
+
"jid": "8c4ad2c8-5ba3-486f-8744-b766058ff974-(0.57)-(1.0)-(0.57)"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "Modern Scandinavian spherical pendant lamp with an open slatted wood design, natural and white tones, and adjustable ceiling mount.",
|
| 151 |
+
"size": [
|
| 152 |
+
0.33,
|
| 153 |
+
0.74,
|
| 154 |
+
0.33
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
0.0,
|
| 158 |
+
2.74,
|
| 159 |
+
0.14
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
0,
|
| 164 |
+
0,
|
| 165 |
+
1
|
| 166 |
+
],
|
| 167 |
+
"jid": "3a69322d-dc6b-476f-aa79-446eaa0d49e0"
|
| 168 |
+
}
|
| 169 |
+
]
|
| 170 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/14ddb9ab-2c7d-4e7c-98a4-a1810d58abaa-fa18862e-40e0-4b42-905d-fb85a782d26e.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bounds_top": [
|
| 3 |
+
[
|
| 4 |
+
-1.9,
|
| 5 |
+
2.8,
|
| 6 |
+
1.85
|
| 7 |
+
],
|
| 8 |
+
[
|
| 9 |
+
1.9,
|
| 10 |
+
2.8,
|
| 11 |
+
1.85
|
| 12 |
+
],
|
| 13 |
+
[
|
| 14 |
+
1.9,
|
| 15 |
+
2.8,
|
| 16 |
+
-1.85
|
| 17 |
+
],
|
| 18 |
+
[
|
| 19 |
+
-1.9,
|
| 20 |
+
2.8,
|
| 21 |
+
-1.85
|
| 22 |
+
]
|
| 23 |
+
],
|
| 24 |
+
"bounds_bottom": [
|
| 25 |
+
[
|
| 26 |
+
-1.9,
|
| 27 |
+
0.0,
|
| 28 |
+
1.85
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
1.9,
|
| 32 |
+
0.0,
|
| 33 |
+
1.85
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
1.9,
|
| 37 |
+
0.0,
|
| 38 |
+
-1.85
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-1.9,
|
| 42 |
+
0.0,
|
| 43 |
+
-1.85
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "bedroom",
|
| 47 |
+
"room_id": "MasterBedroom-15454",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "A king-size bed with a high upholstered headboard, checkered bedspread, and decorative pillows in a blend of contemporary and classic styles.",
|
| 51 |
+
"size": [
|
| 52 |
+
1.73,
|
| 53 |
+
1.53,
|
| 54 |
+
2.25
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
0.69,
|
| 58 |
+
0.0,
|
| 59 |
+
0.16
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
-0.70711,
|
| 64 |
+
0,
|
| 65 |
+
0.70711
|
| 66 |
+
],
|
| 67 |
+
"jid": "efdb0067-0e99-4db1-802b-8f4694fa3cb9"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "Traditional vintage dressing chair with brown wooden curved legs, decorative gold accents, and a padded beige seat.",
|
| 71 |
+
"size": [
|
| 72 |
+
0.47,
|
| 73 |
+
0.53,
|
| 74 |
+
0.47
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
1.23,
|
| 78 |
+
0.0,
|
| 79 |
+
-1.43
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
0.70711,
|
| 84 |
+
0,
|
| 85 |
+
0.70711
|
| 86 |
+
],
|
| 87 |
+
"jid": "b74eca44-dbd8-4f28-a11a-ff514f86996c"
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/151777ef-6113-426c-bd88-335a9718c75a-88d6151b-afd5-4531-b0a2-de8d2f5154d0.json
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 24 |
+
3.25,
|
| 25 |
+
2.6,
|
| 26 |
+
-4.05
|
| 27 |
+
],
|
| 28 |
+
[
|
| 29 |
+
-0.85,
|
| 30 |
+
2.6,
|
| 31 |
+
-4.05
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
-0.85,
|
| 35 |
+
2.6,
|
| 36 |
+
-0.15
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
-3.25,
|
| 40 |
+
2.6,
|
| 41 |
+
-0.15
|
| 42 |
+
]
|
| 43 |
+
],
|
| 44 |
+
"bounds_bottom": [
|
| 45 |
+
[
|
| 46 |
+
-3.25,
|
| 47 |
+
0.0,
|
| 48 |
+
0.95
|
| 49 |
+
],
|
| 50 |
+
[
|
| 51 |
+
-0.85,
|
| 52 |
+
0.0,
|
| 53 |
+
0.95
|
| 54 |
+
],
|
| 55 |
+
[
|
| 56 |
+
-0.85,
|
| 57 |
+
0.0,
|
| 58 |
+
4.05
|
| 59 |
+
],
|
| 60 |
+
[
|
| 61 |
+
3.25,
|
| 62 |
+
0.0,
|
| 63 |
+
4.05
|
| 64 |
+
],
|
| 65 |
+
[
|
| 66 |
+
3.25,
|
| 67 |
+
0.0,
|
| 68 |
+
-4.05
|
| 69 |
+
],
|
| 70 |
+
[
|
| 71 |
+
-0.85,
|
| 72 |
+
0.0,
|
| 73 |
+
-4.05
|
| 74 |
+
],
|
| 75 |
+
[
|
| 76 |
+
-0.85,
|
| 77 |
+
0.0,
|
| 78 |
+
-0.15
|
| 79 |
+
],
|
| 80 |
+
[
|
| 81 |
+
-3.25,
|
| 82 |
+
0.0,
|
| 83 |
+
-0.15
|
| 84 |
+
]
|
| 85 |
+
],
|
| 86 |
+
"room_type": "livingroom",
|
| 87 |
+
"room_id": "LivingDiningRoom-8646",
|
| 88 |
+
"objects": [
|
| 89 |
+
{
|
| 90 |
+
"desc": "A contemporary rustic pendant lamp with a warm brown wood and metal design featuring geometric shapes and ambient lighting.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.56,
|
| 93 |
+
0.97,
|
| 94 |
+
0.55
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
0.89,
|
| 98 |
+
1.63,
|
| 99 |
+
2.35
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
0,
|
| 104 |
+
0,
|
| 105 |
+
1
|
| 106 |
+
],
|
| 107 |
+
"jid": "6934dea0-1d66-49c4-82c6-4d54d41f9707"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "A modern and minimalist tall artificial plant with green leaves in a textured gray ceramic pot, perfect for contemporary decor.",
|
| 111 |
+
"size": [
|
| 112 |
+
0.81,
|
| 113 |
+
1.27,
|
| 114 |
+
0.89
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
-0.39,
|
| 118 |
+
-0.01,
|
| 119 |
+
-3.54
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
-0.70711,
|
| 124 |
+
0,
|
| 125 |
+
0.70711
|
| 126 |
+
],
|
| 127 |
+
"jid": "bdc51f04-3186-4772-a0f6-3d063c2f3467"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "A contemporary gray wooden TV stand featuring a low profile, minimalist design with multiple cabinet doors and metallic handles.",
|
| 131 |
+
"size": [
|
| 132 |
+
2.5,
|
| 133 |
+
0.44,
|
| 134 |
+
0.44
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
-0.58,
|
| 138 |
+
0.0,
|
| 139 |
+
-2.09
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
0.70711,
|
| 144 |
+
0,
|
| 145 |
+
0.70711
|
| 146 |
+
],
|
| 147 |
+
"jid": "08b2a48d-b4b5-4f64-9f84-fc77ae7135f8"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "Modern L-shaped sectional sofa with black and white patterned fabric upholstery, cushioned seats, and modular design.",
|
| 151 |
+
"size": [
|
| 152 |
+
3.22,
|
| 153 |
+
0.78,
|
| 154 |
+
1.66
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
2.48,
|
| 158 |
+
0.0,
|
| 159 |
+
-2.05
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
-0.70711,
|
| 164 |
+
0,
|
| 165 |
+
0.70711
|
| 166 |
+
],
|
| 167 |
+
"jid": "847210c0-646a-485c-b318-537758e94227"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"desc": "A modern minimalist dining table featuring a transparent glass top and dual natural wood supports with a sleek, clean-lined design.",
|
| 171 |
+
"size": [
|
| 172 |
+
3.12,
|
| 173 |
+
0.77,
|
| 174 |
+
1.1
|
| 175 |
+
],
|
| 176 |
+
"pos": [
|
| 177 |
+
1.34,
|
| 178 |
+
0.0,
|
| 179 |
+
-1.47
|
| 180 |
+
],
|
| 181 |
+
"rot": [
|
| 182 |
+
0,
|
| 183 |
+
-0.70711,
|
| 184 |
+
0,
|
| 185 |
+
0.70711
|
| 186 |
+
],
|
| 187 |
+
"jid": "3d002fec-67b6-427d-a442-3734aed858d9"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"desc": "A contemporary rustic pendant lamp with a warm brown wood and metal design featuring geometric shapes and ambient lighting.",
|
| 191 |
+
"size": [
|
| 192 |
+
0.56,
|
| 193 |
+
0.97,
|
| 194 |
+
0.55
|
| 195 |
+
],
|
| 196 |
+
"pos": [
|
| 197 |
+
1.5,
|
| 198 |
+
1.63,
|
| 199 |
+
-1.36
|
| 200 |
+
],
|
| 201 |
+
"rot": [
|
| 202 |
+
0,
|
| 203 |
+
0.11098,
|
| 204 |
+
0,
|
| 205 |
+
0.99382
|
| 206 |
+
],
|
| 207 |
+
"jid": "6934dea0-1d66-49c4-82c6-4d54d41f9707"
|
| 208 |
+
}
|
| 209 |
+
]
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bounds_top": [
|
| 3 |
+
[
|
| 4 |
+
-2.65,
|
| 5 |
+
2.6,
|
| 6 |
+
1.95
|
| 7 |
+
],
|
| 8 |
+
[
|
| 9 |
+
2.65,
|
| 10 |
+
2.6,
|
| 11 |
+
1.95
|
| 12 |
+
],
|
| 13 |
+
[
|
| 14 |
+
2.65,
|
| 15 |
+
2.6,
|
| 16 |
+
-1.95
|
| 17 |
+
],
|
| 18 |
+
[
|
| 19 |
+
-2.65,
|
| 20 |
+
2.6,
|
| 21 |
+
-1.95
|
| 22 |
+
]
|
| 23 |
+
],
|
| 24 |
+
"bounds_bottom": [
|
| 25 |
+
[
|
| 26 |
+
-2.65,
|
| 27 |
+
0.0,
|
| 28 |
+
1.95
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
2.65,
|
| 32 |
+
0.0,
|
| 33 |
+
1.95
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
2.65,
|
| 37 |
+
0.0,
|
| 38 |
+
-1.95
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-2.65,
|
| 42 |
+
0.0,
|
| 43 |
+
-1.95
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "bedroom",
|
| 47 |
+
"room_id": "MasterBedroom-32976",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "Modern minimalist king-size bed with dark brown fabric upholstery, low-profile wooden frame, and sleek design.",
|
| 51 |
+
"size": [
|
| 52 |
+
2.3,
|
| 53 |
+
0.78,
|
| 54 |
+
2.42
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
-0.54,
|
| 58 |
+
0.0,
|
| 59 |
+
0.71
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
-1,
|
| 64 |
+
0,
|
| 65 |
+
0
|
| 66 |
+
],
|
| 67 |
+
"jid": "8d4810de-1c7b-4ace-b9b3-edf23619b063"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "Modern minimalist gray nightstand with a single drawer, open shelf, and geometric cutout handle, made of painted wood.",
|
| 71 |
+
"size": [
|
| 72 |
+
0.57,
|
| 73 |
+
0.8,
|
| 74 |
+
0.39
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
-2.01,
|
| 78 |
+
0.0,
|
| 79 |
+
1.78
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
1,
|
| 84 |
+
0,
|
| 85 |
+
0.00171
|
| 86 |
+
],
|
| 87 |
+
"jid": "43cb86ce-5ccb-468a-afd1-0b901fc858c8"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"desc": "Contemporary minimalist gray fabric armchair with rounded backrest, plush seat, and beige decorative pillow.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.74,
|
| 93 |
+
0.88,
|
| 94 |
+
0.82
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
-1.92,
|
| 98 |
+
0.0,
|
| 99 |
+
-1.37
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
0.48485,
|
| 104 |
+
0,
|
| 105 |
+
0.87459
|
| 106 |
+
],
|
| 107 |
+
"jid": "ed3e8674-d042-40f4-bdc7-423cc63d98b2"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "Modern minimalist black corner/side table with glass round tabletop and sleek metal frame.",
|
| 111 |
+
"size": [
|
| 112 |
+
0.6,
|
| 113 |
+
0.48,
|
| 114 |
+
0.61
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
-0.82,
|
| 118 |
+
0.0,
|
| 119 |
+
-1.56
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
0,
|
| 124 |
+
0,
|
| 125 |
+
1
|
| 126 |
+
],
|
| 127 |
+
"jid": "afb47456-1325-4e40-9d0a-df10b9596f5f"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "Modern minimalist dressing table with integrated mirror, storage drawers, and metal frame.",
|
| 131 |
+
"size": [
|
| 132 |
+
1.57,
|
| 133 |
+
1.28,
|
| 134 |
+
0.65
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
1.27,
|
| 138 |
+
0.0,
|
| 139 |
+
1.6
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
1,
|
| 144 |
+
0,
|
| 145 |
+
0
|
| 146 |
+
],
|
| 147 |
+
"jid": "f8cf8ab1-7d50-4cd3-8120-0d130bc27d14"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "A whimsical contemporary dressing chair featuring a gold metal frame with a decorative flower-shaped backrest and a light gray cushioned seat.",
|
| 151 |
+
"size": [
|
| 152 |
+
0.5,
|
| 153 |
+
1.17,
|
| 154 |
+
0.57
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
1.26,
|
| 158 |
+
0.0,
|
| 159 |
+
1.01
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
-0.19751,
|
| 164 |
+
0,
|
| 165 |
+
0.9803
|
| 166 |
+
],
|
| 167 |
+
"jid": "43e87cfa-50da-4ffa-835c-bb39a7d05cb5"
|
| 168 |
+
}
|
| 169 |
+
]
|
| 170 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/2e1c9079-14c8-4459-8831-b63eef7883c8-5aa5493e-e8d2-44da-877f-e3befc391c71.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
[
|
| 4 |
+
-1.65,
|
| 5 |
+
2.6,
|
| 6 |
+
1.3
|
| 7 |
+
],
|
| 8 |
+
[
|
| 9 |
+
1.65,
|
| 10 |
+
2.6,
|
| 11 |
+
1.3
|
| 12 |
+
],
|
| 13 |
+
[
|
| 14 |
+
1.65,
|
| 15 |
+
2.6,
|
| 16 |
+
-1.3
|
| 17 |
+
],
|
| 18 |
+
[
|
| 19 |
+
-1.65,
|
| 20 |
+
2.6,
|
| 21 |
+
-1.3
|
| 22 |
+
]
|
| 23 |
+
],
|
| 24 |
+
"bounds_bottom": [
|
| 25 |
+
[
|
| 26 |
+
-1.65,
|
| 27 |
+
0.0,
|
| 28 |
+
1.3
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
1.65,
|
| 32 |
+
0.0,
|
| 33 |
+
1.3
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
1.65,
|
| 37 |
+
0.0,
|
| 38 |
+
-1.3
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-1.65,
|
| 42 |
+
0.0,
|
| 43 |
+
-1.3
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "bedroom",
|
| 47 |
+
"room_id": "Bedroom-14501",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "Modern minimalistic dark brown wooden wardrobe with open shelving, hanging rods, and a central drawer, characterized by clean lines and metal handles.",
|
| 51 |
+
"size": [
|
| 52 |
+
2.18,
|
| 53 |
+
2.6,
|
| 54 |
+
0.5
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
0.58,
|
| 58 |
+
0.0,
|
| 59 |
+
1.02
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
-1,
|
| 64 |
+
0,
|
| 65 |
+
0
|
| 66 |
+
],
|
| 67 |
+
"jid": "f6962e45-f344-44b1-bfea-15f3cd9dbb34-(1.1)-(1.0)-(0.8)"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "A modern, minimalist king-size bed featuring layered brown, gray, orange, and white bedding with clean lines and contrasting pillows, blending contemporary design elements.",
|
| 71 |
+
"size": [
|
| 72 |
+
1.48,
|
| 73 |
+
1.24,
|
| 74 |
+
2.0
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
0.67,
|
| 78 |
+
0.0,
|
| 79 |
+
-0.35
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
-0.70711,
|
| 84 |
+
0,
|
| 85 |
+
0.70711
|
| 86 |
+
],
|
| 87 |
+
"jid": "4048fcf9-1937-4a23-af7d-6982626ec2f1-(0.8)-(1.0)-(0.81)"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"desc": "Modern dark brown wooden nightstand with a rectangular shape, open storage compartment, and clean lines.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.32,
|
| 93 |
+
0.47,
|
| 94 |
+
0.45
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
1.5,
|
| 98 |
+
0.0,
|
| 99 |
+
0.56
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
-1,
|
| 104 |
+
0,
|
| 105 |
+
0
|
| 106 |
+
],
|
| 107 |
+
"jid": "f409f4f8-68c8-4a25-bcc7-d631f22066b2-(0.4)-(1.0)-(1.1)"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "Modern brown and grey wood dressing table with a round quilted-textured mirror, metallic handles, and a distinctive quilted detailing on sides.",
|
| 111 |
+
"size": [
|
| 112 |
+
1.03,
|
| 113 |
+
0.92,
|
| 114 |
+
0.4
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
-1.43,
|
| 118 |
+
0.0,
|
| 119 |
+
-0.57
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
0.70711,
|
| 124 |
+
0,
|
| 125 |
+
0.70711
|
| 126 |
+
],
|
| 127 |
+
"jid": "48837580-2014-4595-ae78-e655724d88d9-(1.32)-(1.0)-(1.78)"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "Modern minimalist burgundy leather stool with a square shape, tufted button center, piped edges, and cushioned exterior.",
|
| 131 |
+
"size": [
|
| 132 |
+
0.42,
|
| 133 |
+
0.38,
|
| 134 |
+
0.32
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
-1.02,
|
| 138 |
+
0.0,
|
| 139 |
+
-0.73
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
0.70711,
|
| 144 |
+
0,
|
| 145 |
+
0.70711
|
| 146 |
+
],
|
| 147 |
+
"jid": "b91b536c-c861-4412-a452-9c6e18f0a0ea-(0.94)-(1.0)-(0.72)"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "Modern contemporary ceiling lamp with a white layered cylindrical fabric shade and silver metal hardware.",
|
| 151 |
+
"size": [
|
| 152 |
+
0.77,
|
| 153 |
+
0.54,
|
| 154 |
+
0.76
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
0.0,
|
| 158 |
+
2.5,
|
| 159 |
+
0.06
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
0,
|
| 164 |
+
0,
|
| 165 |
+
1
|
| 166 |
+
],
|
| 167 |
+
"jid": "45ac0c68-6109-45b5-98dc-456f579113c0-(1.37)-(1.0)-(1.35)"
|
| 168 |
+
}
|
| 169 |
+
]
|
| 170 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/33353657-e2ec-4ebd-8eac-362c0d3ecfcc-ac0bad81-e273-40aa-9a48-cc1ebc637026.json
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 13 |
+
[
|
| 14 |
+
1.55,
|
| 15 |
+
2.8,
|
| 16 |
+
-1.9
|
| 17 |
+
],
|
| 18 |
+
[
|
| 19 |
+
-1.55,
|
| 20 |
+
2.8,
|
| 21 |
+
-1.9
|
| 22 |
+
]
|
| 23 |
+
],
|
| 24 |
+
"bounds_bottom": [
|
| 25 |
+
[
|
| 26 |
+
-1.55,
|
| 27 |
+
0.0,
|
| 28 |
+
1.9
|
| 29 |
+
],
|
| 30 |
+
[
|
| 31 |
+
1.55,
|
| 32 |
+
0.0,
|
| 33 |
+
1.9
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
1.55,
|
| 37 |
+
0.0,
|
| 38 |
+
-1.9
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-1.55,
|
| 42 |
+
0.0,
|
| 43 |
+
-1.9
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "other",
|
| 47 |
+
"room_id": "Library-6373",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "A dark brown, classic, and traditional multifunctional wooden armoire with shelves and decorative pillars.",
|
| 51 |
+
"size": [
|
| 52 |
+
2.5,
|
| 53 |
+
2.54,
|
| 54 |
+
0.3
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
1.38,
|
| 58 |
+
0.0,
|
| 59 |
+
-0.28
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
-0.70711,
|
| 64 |
+
0,
|
| 65 |
+
0.70711
|
| 66 |
+
],
|
| 67 |
+
"jid": "e53951ec-a58e-4058-b3c6-cd62debd8e23-(0.87)-(1.0)-(0.78)"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "This modern desk features a dark brown wooden top with metal legs, emphasizing a minimalist, sleek design.",
|
| 71 |
+
"size": [
|
| 72 |
+
2.01,
|
| 73 |
+
0.72,
|
| 74 |
+
0.8
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
-0.21,
|
| 78 |
+
0.0,
|
| 79 |
+
-0.33
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
-0.70711,
|
| 84 |
+
0,
|
| 85 |
+
0.70711
|
| 86 |
+
],
|
| 87 |
+
"jid": "f615b69a-6791-408c-85e3-8ac19e33dda0-(1.01)-(1.0)-(1.0)"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"desc": "A brown wooden dining chair with a minimalist modern style, featuring clean lines and a curved backrest for a sleek, smooth look.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.54,
|
| 93 |
+
0.78,
|
| 94 |
+
0.57
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
0.55,
|
| 98 |
+
0.0,
|
| 99 |
+
-0.16
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
-0.70711,
|
| 104 |
+
0,
|
| 105 |
+
0.70711
|
| 106 |
+
],
|
| 107 |
+
"jid": "321bbcbf-4e4e-4920-af76-14544b24df9c-(1.08)-(1.0)-(1.15)"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "Industrial-style black metal four-tier open shelving unit with wireframe design, ideal for displaying magazines or lightweight items.",
|
| 111 |
+
"size": [
|
| 112 |
+
0.47,
|
| 113 |
+
1.1,
|
| 114 |
+
0.35
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
1.35,
|
| 118 |
+
0.0,
|
| 119 |
+
1.39
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
-0.70711,
|
| 124 |
+
0,
|
| 125 |
+
0.70711
|
| 126 |
+
],
|
| 127 |
+
"jid": "a91594e0-33f8-4c09-93d8-ce4f506ac00a-(1.0)-(1.16)-(1.0)"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "Modern pendant lamp with three clear cylindrical glass shades, brown metal mount, and exposed bulb design.",
|
| 131 |
+
"size": [
|
| 132 |
+
0.8,
|
| 133 |
+
0.72,
|
| 134 |
+
0.8
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
-0.03,
|
| 138 |
+
1.78,
|
| 139 |
+
-0.13
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
0,
|
| 144 |
+
0,
|
| 145 |
+
1
|
| 146 |
+
],
|
| 147 |
+
"jid": "a637fc0e-230c-47cf-ae89-ced218c4f4f0-(0.8)-(1.0)-(5.35)"
|
| 148 |
+
}
|
| 149 |
+
]
|
| 150 |
+
}
|
eval/respace/dataset-ssr3dfront/scenes/43f1271f-d362-49c1-9ebc-cf9f8c82ea81-eac46b25-8c57-4454-a018-2f372b6040a8.json
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 33 |
+
2.2
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
1.9,
|
| 37 |
+
0.0,
|
| 38 |
+
-2.2
|
| 39 |
+
],
|
| 40 |
+
[
|
| 41 |
+
-1.9,
|
| 42 |
+
0.0,
|
| 43 |
+
-2.2
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
"room_type": "other",
|
| 47 |
+
"room_id": "KidsRoom-65166",
|
| 48 |
+
"objects": [
|
| 49 |
+
{
|
| 50 |
+
"desc": "Elegant king-size bed blending classic and modern designs with a white wooden frame, pastel bedding, and varied throw pillows.",
|
| 51 |
+
"size": [
|
| 52 |
+
1.98,
|
| 53 |
+
1.8,
|
| 54 |
+
2.21
|
| 55 |
+
],
|
| 56 |
+
"pos": [
|
| 57 |
+
0.83,
|
| 58 |
+
0.0,
|
| 59 |
+
0.39
|
| 60 |
+
],
|
| 61 |
+
"rot": [
|
| 62 |
+
0,
|
| 63 |
+
-0.70662,
|
| 64 |
+
0,
|
| 65 |
+
0.70759
|
| 66 |
+
],
|
| 67 |
+
"jid": "06ccac96-3ca8-4bd0-aee2-64f1b495f485-(0.67)-(1.0)-(0.65)"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"desc": "A classic yet minimalist white wooden wardrobe with paneled doors, glass panels, and bottom drawers featuring chrome handles.",
|
| 71 |
+
"size": [
|
| 72 |
+
2.28,
|
| 73 |
+
2.2,
|
| 74 |
+
0.65
|
| 75 |
+
],
|
| 76 |
+
"pos": [
|
| 77 |
+
0.8,
|
| 78 |
+
0.0,
|
| 79 |
+
-1.9
|
| 80 |
+
],
|
| 81 |
+
"rot": [
|
| 82 |
+
0,
|
| 83 |
+
0,
|
| 84 |
+
0,
|
| 85 |
+
1
|
| 86 |
+
],
|
| 87 |
+
"jid": "57f7e7c0-8ca3-4eee-b127-5a44c76a9a61-(1.11)-(0.92)-(1.0)"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"desc": "Modern grey and brown wooden nightstand with a textured pattern, single drawer, distinctive front panel design, and raised metallic base.",
|
| 91 |
+
"size": [
|
| 92 |
+
0.51,
|
| 93 |
+
0.51,
|
| 94 |
+
0.43
|
| 95 |
+
],
|
| 96 |
+
"pos": [
|
| 97 |
+
1.71,
|
| 98 |
+
0.0,
|
| 99 |
+
1.63
|
| 100 |
+
],
|
| 101 |
+
"rot": [
|
| 102 |
+
0,
|
| 103 |
+
0.70711,
|
| 104 |
+
0,
|
| 105 |
+
-0.70711
|
| 106 |
+
],
|
| 107 |
+
"jid": "192ac441-48b7-4559-bc02-7c532171b531-(1.01)-(1.0)-(1.06)"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"desc": "Modern grey and brown wooden nightstand with a textured pattern, single drawer, distinctive front panel design, and raised metallic base.",
|
| 111 |
+
"size": [
|
| 112 |
+
0.51,
|
| 113 |
+
0.51,
|
| 114 |
+
0.43
|
| 115 |
+
],
|
| 116 |
+
"pos": [
|
| 117 |
+
1.72,
|
| 118 |
+
0.0,
|
| 119 |
+
-0.86
|
| 120 |
+
],
|
| 121 |
+
"rot": [
|
| 122 |
+
0,
|
| 123 |
+
0.70711,
|
| 124 |
+
0,
|
| 125 |
+
-0.70711
|
| 126 |
+
],
|
| 127 |
+
"jid": "192ac441-48b7-4559-bc02-7c532171b531-(1.01)-(1.0)-(1.06)"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"desc": "A minimalist Asian-inspired modern desk with a sleek rectangular shape, dark wood and metal materials, featuring an open leg frame design.",
|
| 131 |
+
"size": [
|
| 132 |
+
1.54,
|
| 133 |
+
0.92,
|
| 134 |
+
0.6
|
| 135 |
+
],
|
| 136 |
+
"pos": [
|
| 137 |
+
-1.54,
|
| 138 |
+
0.0,
|
| 139 |
+
0.37
|
| 140 |
+
],
|
| 141 |
+
"rot": [
|
| 142 |
+
0,
|
| 143 |
+
-0.70282,
|
| 144 |
+
0,
|
| 145 |
+
0.71137
|
| 146 |
+
],
|
| 147 |
+
"jid": "cac6fe2d-1ce5-431b-abd3-68317007808b-(0.76)-(1.0)-(0.93)"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"desc": "A Classic Chinese chair with black wooden frame, beige cushioned seat, curved armrests, and geometric design elements.",
|
| 151 |
+
"size": [
|
| 152 |
+
0.65,
|
| 153 |
+
0.99,
|
| 154 |
+
0.63
|
| 155 |
+
],
|
| 156 |
+
"pos": [
|
| 157 |
+
-0.93,
|
| 158 |
+
0.0,
|
| 159 |
+
0.42
|
| 160 |
+
],
|
| 161 |
+
"rot": [
|
| 162 |
+
0,
|
| 163 |
+
-0.70282,
|
| 164 |
+
0,
|
| 165 |
+
0.71137
|
| 166 |
+
],
|
| 167 |
+
"jid": "eb056d82-3318-44f6-96f6-6e49090468a0-(0.92)-(1.02)-(0.96)"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"desc": "Oriental-style pendant lamp featuring a wooden rectangular frame, cylindrical yellow fabric shades, and metal decorative accents hanging by chains.",
|
| 171 |
+
"size": [
|
| 172 |
+
0.74,
|
| 173 |
+
1.24,
|
| 174 |
+
0.77
|
| 175 |
+
],
|
| 176 |
+
"pos": [
|
| 177 |
+
0.07,
|
| 178 |
+
1.7,
|
| 179 |
+
0.27
|
| 180 |
+
],
|
| 181 |
+
"rot": [
|
| 182 |
+
0,
|
| 183 |
+
0,
|
| 184 |
+
0,
|
| 185 |
+
1
|
| 186 |
+
],
|
| 187 |
+
"jid": "4379f5d9-10e6-4a37-8195-b6ca38ee5dd9-(0.75)-(1.0)-(2.55)"
|
| 188 |
+
}
|
| 189 |
+
]
|
| 190 |
+
}
|