Alexandre Lordelo commited on
Commit
54d2a42
·
1 Parent(s): d50d2f6

Add CG2RealDataset4 dataset

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
CG2RealDataset4 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 70718291ecc20a2122a6876b613dcfd08f400db5
dataset_dict.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"splits": ["train", "test", "validation"]}
image_caption/image1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a woman wearing a brown sweater and a white shirt is posing for a picture with her hands on her hips
input_image/.DS_Store ADDED
Binary file (6.15 kB). View file
 
load_dataset.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from datasets import load_dataset
2
+
3
+ dataset = load_dataset('csv', data_files={'train': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/train.csv', 'test': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/test.csv', 'validation': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/validation.csv'})
save_dataset.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from datasets import load_dataset
2
+
3
+ # Load the dataset (assuming you've already run load_dataset.py)
4
+ dataset = load_dataset('csv', data_files={'train': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/train.csv', 'test': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/test.csv', 'validation': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/validation.csv'})
5
+ # Save the dataset to disk
6
+ dataset.save_to_disk("/Users/alexandrelordelo/Desktop/CG2RealDataset4")
CG2RealDataset.csv → test.csv RENAMED
File without changes
test/data-00000-of-00001.arrow ADDED
Binary file (688 Bytes). View file
 
test/dataset_info.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_name": "csv",
3
+ "citation": "",
4
+ "config_name": "default",
5
+ "dataset_size": 474,
6
+ "description": "",
7
+ "download_checksums": {
8
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/train.csv": {
9
+ "num_bytes": 208,
10
+ "checksum": null
11
+ },
12
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/test.csv": {
13
+ "num_bytes": 208,
14
+ "checksum": null
15
+ },
16
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/validation.csv": {
17
+ "num_bytes": 208,
18
+ "checksum": null
19
+ }
20
+ },
21
+ "download_size": 624,
22
+ "features": {
23
+ "input_image_path;conditioning_image_path;image_caption": {
24
+ "dtype": "string",
25
+ "_type": "Value"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "size_in_bytes": 1098,
31
+ "splits": {
32
+ "train": {
33
+ "name": "train",
34
+ "num_bytes": 158,
35
+ "num_examples": 2,
36
+ "dataset_name": "csv"
37
+ },
38
+ "test": {
39
+ "name": "test",
40
+ "num_bytes": 158,
41
+ "num_examples": 2,
42
+ "dataset_name": "csv"
43
+ },
44
+ "validation": {
45
+ "name": "validation",
46
+ "num_bytes": 158,
47
+ "num_examples": 2,
48
+ "dataset_name": "csv"
49
+ }
50
+ },
51
+ "version": {
52
+ "version_str": "0.0.0",
53
+ "major": 0,
54
+ "minor": 0,
55
+ "patch": 0
56
+ }
57
+ }
test/state.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "5850c106f319c2f1",
8
+ "_format_columns": null,
9
+ "_format_kwargs": {},
10
+ "_format_type": null,
11
+ "_output_all_columns": false,
12
+ "_split": "test"
13
+ }
train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ input_image_path;conditioning_image_path;image_caption
2
+ input_image/image1.jpg;conditioning_image/image1.jpg;Woman with white shirt
3
+ input_image/image2.jpg;conditioning_image/image2.jpg;Woman with white shirt
train/data-00000-of-00001.arrow ADDED
Binary file (688 Bytes). View file
 
train/dataset_info.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_name": "csv",
3
+ "citation": "",
4
+ "config_name": "default",
5
+ "dataset_size": 474,
6
+ "description": "",
7
+ "download_checksums": {
8
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/train.csv": {
9
+ "num_bytes": 208,
10
+ "checksum": null
11
+ },
12
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/test.csv": {
13
+ "num_bytes": 208,
14
+ "checksum": null
15
+ },
16
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/validation.csv": {
17
+ "num_bytes": 208,
18
+ "checksum": null
19
+ }
20
+ },
21
+ "download_size": 624,
22
+ "features": {
23
+ "input_image_path;conditioning_image_path;image_caption": {
24
+ "dtype": "string",
25
+ "_type": "Value"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "size_in_bytes": 1098,
31
+ "splits": {
32
+ "train": {
33
+ "name": "train",
34
+ "num_bytes": 158,
35
+ "num_examples": 2,
36
+ "dataset_name": "csv"
37
+ },
38
+ "test": {
39
+ "name": "test",
40
+ "num_bytes": 158,
41
+ "num_examples": 2,
42
+ "dataset_name": "csv"
43
+ },
44
+ "validation": {
45
+ "name": "validation",
46
+ "num_bytes": 158,
47
+ "num_examples": 2,
48
+ "dataset_name": "csv"
49
+ }
50
+ },
51
+ "version": {
52
+ "version_str": "0.0.0",
53
+ "major": 0,
54
+ "minor": 0,
55
+ "patch": 0
56
+ }
57
+ }
train/state.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "c9b9a14fd5e9a095",
8
+ "_format_columns": null,
9
+ "_format_kwargs": {},
10
+ "_format_type": null,
11
+ "_output_all_columns": false,
12
+ "_split": "train"
13
+ }
validation.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ input_image_path;conditioning_image_path;image_caption
2
+ input_image/image1.jpg;conditioning_image/image1.jpg;Woman with white shirt
3
+ input_image/image2.jpg;conditioning_image/image2.jpg;Woman with white shirt
validation/data-00000-of-00001.arrow ADDED
Binary file (688 Bytes). View file
 
validation/dataset_info.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_name": "csv",
3
+ "citation": "",
4
+ "config_name": "default",
5
+ "dataset_size": 474,
6
+ "description": "",
7
+ "download_checksums": {
8
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/train.csv": {
9
+ "num_bytes": 208,
10
+ "checksum": null
11
+ },
12
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/test.csv": {
13
+ "num_bytes": 208,
14
+ "checksum": null
15
+ },
16
+ "/Users/alexandrelordelo/Desktop/CG2RealDataset4/validation.csv": {
17
+ "num_bytes": 208,
18
+ "checksum": null
19
+ }
20
+ },
21
+ "download_size": 624,
22
+ "features": {
23
+ "input_image_path;conditioning_image_path;image_caption": {
24
+ "dtype": "string",
25
+ "_type": "Value"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "size_in_bytes": 1098,
31
+ "splits": {
32
+ "train": {
33
+ "name": "train",
34
+ "num_bytes": 158,
35
+ "num_examples": 2,
36
+ "dataset_name": "csv"
37
+ },
38
+ "test": {
39
+ "name": "test",
40
+ "num_bytes": 158,
41
+ "num_examples": 2,
42
+ "dataset_name": "csv"
43
+ },
44
+ "validation": {
45
+ "name": "validation",
46
+ "num_bytes": 158,
47
+ "num_examples": 2,
48
+ "dataset_name": "csv"
49
+ }
50
+ },
51
+ "version": {
52
+ "version_str": "0.0.0",
53
+ "major": 0,
54
+ "minor": 0,
55
+ "patch": 0
56
+ }
57
+ }
validation/state.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "57cfa932e8d0c52a",
8
+ "_format_columns": null,
9
+ "_format_kwargs": {},
10
+ "_format_type": null,
11
+ "_output_all_columns": false,
12
+ "_split": "validation"
13
+ }