ApplyDesign commited on
Commit
5f68819
·
verified ·
1 Parent(s): 15b3bf5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +59 -27
README.md CHANGED
@@ -1,27 +1,59 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: caption
7
- dtype: string
8
- - name: empty_image
9
- dtype: image
10
- - name: furniture_image
11
- dtype: image
12
- - name: shadow_image
13
- dtype: image
14
- - name: staged_image
15
- dtype: image
16
- splits:
17
- - name: train
18
- num_bytes: 775051021.0
19
- num_examples: 100
20
- download_size: 774843448
21
- dataset_size: 775051021.0
22
- configs:
23
- - config_name: default
24
- data_files:
25
- - split: train
26
- path: data/train-*
27
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Autodesign Dataset
2
+
3
+ A dataset of room designs in different states: empty, with furniture, with shadows, and staged.
4
+
5
+ **TEST MODE: THIS IS A SAMPLE OF 100 ITEMS FROM THE FULL DATASET**
6
+
7
+ ## Dataset Structure
8
+
9
+ Total examples: 100
10
+
11
+ ### Fields:
12
+ - **id**: Unique identifier for each example
13
+ - **caption**: Textual description/caption for the design
14
+ - **empty_image**: Image of the empty room
15
+ - **furniture_image**: Image of the room with furniture
16
+ - **shadow_image**: Image of the room with shadows
17
+ - **staged_image**: Image of the fully staged room
18
+
19
+ ## Usage Example
20
+
21
+ ```python
22
+ from datasets import load_dataset
23
+
24
+ # Load the dataset
25
+ dataset = load_dataset("ApplyDesign/autodesign-dataset-test" if args.upload and args.hf_username else "YOUR_USERNAME/autodesign-dataset")
26
+
27
+ # Access an example
28
+ example = dataset['train'][0]
29
+ print(example['caption'])
30
+
31
+ # Display an image
32
+ import matplotlib.pyplot as plt
33
+
34
+ plt.figure(figsize=(15, 10))
35
+
36
+ # Display all four image types
37
+ plt.subplot(2, 2, 1)
38
+ plt.imshow(example['empty_image'])
39
+ plt.title('Empty Room')
40
+ plt.axis('off')
41
+
42
+ plt.subplot(2, 2, 2)
43
+ plt.imshow(example['furniture_image'])
44
+ plt.title('With Furniture')
45
+ plt.axis('off')
46
+
47
+ plt.subplot(2, 2, 3)
48
+ plt.imshow(example['shadow_image'])
49
+ plt.title('With Shadows')
50
+ plt.axis('off')
51
+
52
+ plt.subplot(2, 2, 4)
53
+ plt.imshow(example['staged_image'])
54
+ plt.title('Fully Staged')
55
+ plt.axis('off')
56
+
57
+ plt.tight_layout()
58
+ plt.show()
59
+ ```