lihao57 commited on
Commit
ff22615
·
0 Parent(s):

initial commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: lh9171338/SS360
3
+ pretty_name: SS360 Dataset
4
+ license: mit
5
+ tags:
6
+ - computer-vision
7
+ - line-segment-detection
8
+ - wireframe-parsing
9
+ - spherical image
10
+ github: https://github.com/lh9171338/ULSD-ISPRS
11
+ paper: https://www.sciencedirect.com/science/article/abs/pii/S0924271621001623
12
+ size_categories: 1K<n<10
13
+
14
+ ---
15
+
16
+ # SS360 Dataset
17
+
18
+ This is the [SS360 dataset](https://github.com/lh9171338/ULSD-ISPRS) hosted on Hugging Face Hub.
19
+
20
+ ## Summary
21
+
22
+ The SS360 dataset is constructed by manually annotating images sourced from the [SUN360 dataset](https://3dvision.princeton.edu/projects/2012/SUN360/) and the [Stanford 2D-3D-S dataset](https://sdss.redivis.com/datasets/f304-a3vhsvcaf). It is organized into JSONL files (train/metadata.jsonl, test/metadata.jsonl) along with the corresponding images.
23
+
24
+ Number of samples:
25
+ - Train: 950
26
+ - Test: 118
27
+
28
+ ## Download
29
+
30
+ - Download with huggingface-hub
31
+
32
+ ```shell
33
+ python3 -m pip install huggingface-hub
34
+ huggingface-cli download --repo-type dataset lh9171338/SS360 --local-dir ./
35
+ ```
36
+
37
+ - Download with Git
38
+
39
+ ```shell
40
+ git lfs install
41
+ git clone https://huggingface.co/datasets/lh9171338/SS360
42
+ ```
43
+
44
+ ## Usage
45
+
46
+ - Load the dataset from Hugging Face Hub
47
+
48
+ ```python
49
+ from datasets import load_dataset
50
+
51
+ ds = load_dataset("lh9171338/SS360")
52
+ # or load from `refs/convert/parquet` for acceleration
53
+ # from datasets import load_dataset, Features, Image, Sequence, Value
54
+ # features = Features({
55
+ # "image": Image(),
56
+ # "image_file": Value("string"),
57
+ # "image_size": Sequence(Value("int32")),
58
+ # "lines": Sequence(Sequence(Sequence(Value("float32")))),
59
+ # })
60
+ # ds = load_dataset("lh9171338/SS360", features=features, revision="refs/convert/parquet")
61
+ print(ds)
62
+ # DatasetDict({
63
+ # train: Dataset({
64
+ # features: ['image', 'image_file', 'image_size', 'lines'],
65
+ # num_rows: 950
66
+ # })
67
+ # test: Dataset({
68
+ # features: ['image', 'image_file', 'image_size', 'lines'],
69
+ # num_rows: 118
70
+ # })
71
+ # })
72
+ print(ds["test"][0].keys())
73
+ # dict_keys(['image', 'image_file', 'image_size', 'lines'])
74
+ ```
75
+
76
+ - Load the dataset from local
77
+
78
+ ```python
79
+ from datasets import load_dataset
80
+
81
+ ds = load_dataset("imagefolder", data_dir=".")
82
+ print(ds)
83
+ # DatasetDict({
84
+ # train: Dataset({
85
+ # features: ['image', 'image_file', 'image_size', 'lines'],
86
+ # num_rows: 950
87
+ # })
88
+ # test: Dataset({
89
+ # features: ['image', 'image_file', 'image_size', 'lines'],
90
+ # num_rows: 118
91
+ # })
92
+ # })
93
+ print(ds["test"][0].keys())
94
+ # dict_keys(['image', 'image_file', 'image_size', 'lines'])
95
+ ```
96
+
97
+ - Load the dataset with jsonl files
98
+ ```python
99
+ import jsonlines
100
+
101
+ with jsonlines.open("test/metadata.jsonl") as reader:
102
+ infos = list(reader)
103
+ print(infos[0].keys())
104
+ # dict_keys(['file_name', 'image_file', 'image_size', 'lines'])
105
+ ```
106
+
107
+ ## Viewer
108
+
109
+ [Open in Space](https://huggingface.co/spaces/lh9171338/LineViewer)
110
+
111
+ ## Citation
112
+
113
+ ```
114
+ @article{LI2021187,
115
+ title = {ULSD: Unified line segment detection across pinhole, fisheye, and spherical cameras},
116
+ author = {Hao Li and Huai Yu and Jinwang Wang and Wen Yang and Lei Yu and Sebastian Scherer},
117
+ journal = {ISPRS Journal of Photogrammetry and Remote Sensing},
118
+ volume = {178},
119
+ pages = {187-202},
120
+ year = {2021},
121
+ }
122
+ ```
test/images/000004.png ADDED

Git LFS Details

  • SHA256: 434c92c5969dd7727bd92756bb45c79268488d397f12f9a3c11772b011014dd3
  • Pointer size: 131 Bytes
  • Size of remote file: 471 kB
test/images/000009.png ADDED

Git LFS Details

  • SHA256: efad02fd78cf26f385564177004d0b7baaf29d0e031b4704ec591eadaddfc9eb
  • Pointer size: 131 Bytes
  • Size of remote file: 931 kB
test/images/000012.png ADDED

Git LFS Details

  • SHA256: 93ef199ac7899811e3dc7a82de43d6c63ca3f556cea259b110b01b9e1e7ccdb2
  • Pointer size: 131 Bytes
  • Size of remote file: 408 kB
test/images/000013.png ADDED

Git LFS Details

  • SHA256: afa7a299e6cb5c4374747a838f8fd27280585b51ba1f7a2f9af88238031408b6
  • Pointer size: 131 Bytes
  • Size of remote file: 804 kB
test/images/000016.png ADDED

Git LFS Details

  • SHA256: 024be342189c04ec636446936c59a7e1c5f37730ce10f8edd57261548c11bb9c
  • Pointer size: 131 Bytes
  • Size of remote file: 600 kB
test/images/000022.png ADDED

Git LFS Details

  • SHA256: 0a982d2b728bc6ca1c2092d9fb9b7699d6dac35bd2672778909fc0178703dd87
  • Pointer size: 131 Bytes
  • Size of remote file: 715 kB
test/images/000024.png ADDED

Git LFS Details

  • SHA256: a16ea02c74a6b3e70f189445e79720d05b823da99d6378083ed14af259360c7e
  • Pointer size: 131 Bytes
  • Size of remote file: 556 kB
test/images/000029.png ADDED

Git LFS Details

  • SHA256: cb5531d9b486be8bdaca43ec1b08078b53d39b7d443536aa8af31f54fc19d0b2
  • Pointer size: 131 Bytes
  • Size of remote file: 578 kB
test/images/000032.png ADDED

Git LFS Details

  • SHA256: d58953e73845f7ca1409dd4854a40b455dcdef2dbe2387ad3246387922677334
  • Pointer size: 131 Bytes
  • Size of remote file: 609 kB
test/images/000034.png ADDED

Git LFS Details

  • SHA256: 37e071d9a28bbe347435423b8946edf69950225729a2eb5c33dfe1ba4d4304a7
  • Pointer size: 131 Bytes
  • Size of remote file: 627 kB
test/images/000037.png ADDED

Git LFS Details

  • SHA256: 3c03fa11fe49c22916744c0314d25b0778cf06e463d3aee3bcf5f6e107d7a8fd
  • Pointer size: 131 Bytes
  • Size of remote file: 484 kB
test/images/000038.png ADDED

Git LFS Details

  • SHA256: f3502ae5fce9c57a01101be7d466cfb534dc0ff3db32fa1a271fbb15ad0d6f64
  • Pointer size: 131 Bytes
  • Size of remote file: 828 kB
test/images/000041.png ADDED

Git LFS Details

  • SHA256: f34de96a645e5ea7ca44fe8fda6d80aba7d6599ef88e8005a433a1b0261e0c06
  • Pointer size: 131 Bytes
  • Size of remote file: 532 kB
test/images/000044.png ADDED

Git LFS Details

  • SHA256: 040693d3a59e2e609e5a0295816054478a59d319fce36ddd3c029296ed3d47d6
  • Pointer size: 131 Bytes
  • Size of remote file: 543 kB
test/images/000047.png ADDED

Git LFS Details

  • SHA256: 055c604f5210b8eb186efabaf1e1a7b051f35ef823f8b98841f1da4771a184e4
  • Pointer size: 131 Bytes
  • Size of remote file: 579 kB
test/images/000052.png ADDED

Git LFS Details

  • SHA256: df3c98f2a626a92de79dcbf2e32693bcfaeabd4ccdf7ed06c6db1bbc0c9e3a55
  • Pointer size: 131 Bytes
  • Size of remote file: 706 kB
test/images/000057.png ADDED

Git LFS Details

  • SHA256: 16c483762a1e3f6bf5e65e6e53df90f7ec93f470c4a903aa5915fa83169ec5a9
  • Pointer size: 131 Bytes
  • Size of remote file: 545 kB
test/images/000063.png ADDED

Git LFS Details

  • SHA256: e6915341f1f0a7419b4dcd4fd3baa44533c9f5073074a1d83bf07652cf1f65d6
  • Pointer size: 131 Bytes
  • Size of remote file: 719 kB
test/images/000064.png ADDED

Git LFS Details

  • SHA256: b3c8a289bcd394f2fbccf66d061f5f53cf7e0215957c996bdb84b2b04bb3c06c
  • Pointer size: 131 Bytes
  • Size of remote file: 459 kB
test/images/000077.png ADDED

Git LFS Details

  • SHA256: 5c91d7082ffe2cde36c3568e8e8063a09ecfd1adafe84629a6426b9af62e7edf
  • Pointer size: 131 Bytes
  • Size of remote file: 703 kB
test/images/000084.png ADDED

Git LFS Details

  • SHA256: 0a68b698d1f06d300039be5163b56dd01e672f8520dda32a27e908a09491691f
  • Pointer size: 131 Bytes
  • Size of remote file: 615 kB
test/images/000093.png ADDED

Git LFS Details

  • SHA256: 8bb69c260315ed7b8219308a05d8e1125a835770ceb27f62a1a60d97a1dae70d
  • Pointer size: 131 Bytes
  • Size of remote file: 572 kB
test/images/000096.png ADDED

Git LFS Details

  • SHA256: 11f907961288fd3def64b47fc93b722b9035418d1027a87bc06ce3c0e59e2dfe
  • Pointer size: 131 Bytes
  • Size of remote file: 828 kB
test/images/000100.png ADDED

Git LFS Details

  • SHA256: 560d4928c807b010f543485c749eea1391635d9fdfea7a40d9a73a6285810f10
  • Pointer size: 131 Bytes
  • Size of remote file: 531 kB
test/images/000102.png ADDED

Git LFS Details

  • SHA256: 69a1d7914984d6f8036d228b7677b92deab0c2f46d7fcad05e42fd5bc216ec6f
  • Pointer size: 131 Bytes
  • Size of remote file: 839 kB
test/images/000107.png ADDED

Git LFS Details

  • SHA256: fcb0033299d1553f0c3c0508126cfc6e1b9d827960a1e087701100d765806fea
  • Pointer size: 131 Bytes
  • Size of remote file: 607 kB
test/images/000112.png ADDED

Git LFS Details

  • SHA256: 0b9e972a83c5dfeda0d71b2a47887a8aeeb932f766961f3919aa9f6f9c8d0de8
  • Pointer size: 131 Bytes
  • Size of remote file: 654 kB
test/images/000114.png ADDED

Git LFS Details

  • SHA256: 8a6a7e42b9e08aa658f371b11ad386e2e07f4335356977b019fb4249a8f147be
  • Pointer size: 131 Bytes
  • Size of remote file: 582 kB
test/images/000116.png ADDED

Git LFS Details

  • SHA256: 69e9446525b7bca414b916fece1a916d849b6ad6075136feab4fc8eee38e9bea
  • Pointer size: 131 Bytes
  • Size of remote file: 518 kB
test/images/000117.png ADDED

Git LFS Details

  • SHA256: a202a06c84ef227a374cda4f6e5148625918306ed490931721dd903bfe454b7a
  • Pointer size: 131 Bytes
  • Size of remote file: 601 kB
test/images/000119.png ADDED

Git LFS Details

  • SHA256: 9a47d7ede30cfde827b04ce2def59e3fd893933653dcb9a6df7b1e9068916385
  • Pointer size: 131 Bytes
  • Size of remote file: 593 kB
test/images/000122.png ADDED

Git LFS Details

  • SHA256: f7481c6907bf8e499c50236e404304e9f1226f6a392aba2b699db2a442945b7a
  • Pointer size: 131 Bytes
  • Size of remote file: 604 kB
test/images/000129.png ADDED

Git LFS Details

  • SHA256: feb8d7e2ab4fa3843ddc467f8f18c37db03b6cbfc4e3436c99a02fe420304675
  • Pointer size: 131 Bytes
  • Size of remote file: 522 kB
test/images/000142.png ADDED

Git LFS Details

  • SHA256: 3861cb265803485d01d9901c1f6ded1df43500ec179275599f10d53aaf737016
  • Pointer size: 131 Bytes
  • Size of remote file: 591 kB
test/images/000146.png ADDED

Git LFS Details

  • SHA256: eb9cd024af8ba458ff67dfa751953c10e0795ee4819064cdf498edf44e3e16c6
  • Pointer size: 131 Bytes
  • Size of remote file: 572 kB
test/images/000149.png ADDED

Git LFS Details

  • SHA256: e18783ea82d149b4916482d711e01617332c364c67eef232734ff263f1246929
  • Pointer size: 131 Bytes
  • Size of remote file: 782 kB
test/images/000151.png ADDED

Git LFS Details

  • SHA256: 106f3a590644b4a73952ba5354e0088acebfd766c9fc0fc628afe8f9bd90f0fc
  • Pointer size: 131 Bytes
  • Size of remote file: 487 kB
test/images/000155.png ADDED

Git LFS Details

  • SHA256: 9133bace4986c73ccf43150142f00a357473fba93262761ced0e2556448ed88d
  • Pointer size: 131 Bytes
  • Size of remote file: 589 kB
test/images/000158.png ADDED

Git LFS Details

  • SHA256: e66fe9db830d533fd235f647abe363b7c772de4172770eaa96f11d6c5e27f394
  • Pointer size: 131 Bytes
  • Size of remote file: 846 kB
test/images/000159.png ADDED

Git LFS Details

  • SHA256: 6f61dc2de42dfee2dd15e0943e988b6eb64bcbb87ccd1edb922379e0877fbdc9
  • Pointer size: 131 Bytes
  • Size of remote file: 485 kB
test/images/000160.png ADDED

Git LFS Details

  • SHA256: eaffe4532f0cf3f30a200a968aa739beaa5bed34c197de7955b5ff65fdff4612
  • Pointer size: 131 Bytes
  • Size of remote file: 498 kB
test/images/000162.png ADDED

Git LFS Details

  • SHA256: 5b7b7bd7d8b37d80534f5020c53a0194df84c9244e847c96b008649c5c6b9261
  • Pointer size: 131 Bytes
  • Size of remote file: 809 kB
test/images/000171.png ADDED

Git LFS Details

  • SHA256: 5953ef03c0d62d72a8e7563e6bdf03cf8890e077e50e0a193a78397b72124339
  • Pointer size: 131 Bytes
  • Size of remote file: 576 kB
test/images/000176.png ADDED

Git LFS Details

  • SHA256: 26a17c41429655937c2754c825493c8b8f4b3422ca6db56874a5400f3f47b52d
  • Pointer size: 131 Bytes
  • Size of remote file: 623 kB
test/images/000177.png ADDED

Git LFS Details

  • SHA256: da83c01fccea22d796a6269da0ba46586cf577dd41b951e29ad661a0892b6718
  • Pointer size: 131 Bytes
  • Size of remote file: 550 kB
test/images/000186.png ADDED

Git LFS Details

  • SHA256: e3b41cfb92a41d9edae31480774125a61b5add8d236667e68c1acff61c848978
  • Pointer size: 131 Bytes
  • Size of remote file: 511 kB
test/images/000187.png ADDED

Git LFS Details

  • SHA256: 4fc80b4ad70f04ff3fb0c52eabbf56d8b20e2d7c307db5d593a52d11c0e07578
  • Pointer size: 131 Bytes
  • Size of remote file: 823 kB
test/images/000188.png ADDED

Git LFS Details

  • SHA256: 7fbce39e70f16503d9e11584f44560940a88605c44e65be4f3f8d0948389425f
  • Pointer size: 131 Bytes
  • Size of remote file: 480 kB