File size: 1,453 Bytes
5f68819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Autodesign Dataset

A dataset of room designs in different states: empty, with furniture, with shadows, and staged.

**TEST MODE: THIS IS A SAMPLE OF 100 ITEMS FROM THE FULL DATASET**

## Dataset Structure

Total examples: 100

### Fields:
- **id**: Unique identifier for each example
- **caption**: Textual description/caption for the design
- **empty_image**: Image of the empty room

- **furniture_image**: Image of the room with furniture
- **shadow_image**: Image of the room with shadows

- **staged_image**: Image of the fully staged room

## Usage Example

```python

from datasets import load_dataset



# Load the dataset

dataset = load_dataset("ApplyDesign/autodesign-dataset-test" if args.upload and args.hf_username else "YOUR_USERNAME/autodesign-dataset")



# Access an example

example = dataset['train'][0]

print(example['caption'])



# Display an image

import matplotlib.pyplot as plt



plt.figure(figsize=(15, 10))



# Display all four image types

plt.subplot(2, 2, 1)

plt.imshow(example['empty_image'])

plt.title('Empty Room')

plt.axis('off')



plt.subplot(2, 2, 2)

plt.imshow(example['furniture_image'])

plt.title('With Furniture')

plt.axis('off')



plt.subplot(2, 2, 3)

plt.imshow(example['shadow_image'])

plt.title('With Shadows')

plt.axis('off')



plt.subplot(2, 2, 4)

plt.imshow(example['staged_image'])

plt.title('Fully Staged')

plt.axis('off')



plt.tight_layout()

plt.show()

```