JamesK2W commited on
Commit
dd18159
·
verified ·
1 Parent(s): cbc0d10

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ corpus/view_to_path_train.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ corpus/path_to_view_train.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ render/images.jsonl filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial 4.0 International Public
58
+ License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial 4.0 International Public License ("Public
63
+ License"). To the extent this Public License may be interpreted as a
64
+ contract, You are granted the Licensed Rights in consideration of Your
65
+ acceptance of these terms and conditions, and the Licensor grants You
66
+ such rights in consideration of benefits the Licensor receives from
67
+ making the Licensed Material available under these terms and
68
+ conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. Copyright and Similar Rights means copyright and/or similar rights
88
+ closely related to copyright including, without limitation,
89
+ performance, broadcast, sound recording, and Sui Generis Database
90
+ Rights, without regard to how the rights are labeled or
91
+ categorized. For purposes of this Public License, the rights
92
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
93
+ Rights.
94
+ d. Effective Technological Measures means those measures that, in the
95
+ absence of proper authority, may not be circumvented under laws
96
+ fulfilling obligations under Article 11 of the WIPO Copyright
97
+ Treaty adopted on December 20, 1996, and/or similar international
98
+ agreements.
99
+
100
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
101
+ any other exception or limitation to Copyright and Similar Rights
102
+ that applies to Your use of the Licensed Material.
103
+
104
+ f. Licensed Material means the artistic or literary work, database,
105
+ or other material to which the Licensor applied this Public
106
+ License.
107
+
108
+ g. Licensed Rights means the rights granted to You subject to the
109
+ terms and conditions of this Public License, which are limited to
110
+ all Copyright and Similar Rights that apply to Your use of the
111
+ Licensed Material and that the Licensor has authority to license.
112
+
113
+ h. Licensor means the individual(s) or entity(ies) granting rights
114
+ under this Public License.
115
+
116
+ i. NonCommercial means not primarily intended for or directed towards
117
+ commercial advantage or monetary compensation. For purposes of
118
+ this Public License, the exchange of the Licensed Material for
119
+ other material subject to Copyright and Similar Rights by digital
120
+ file-sharing or similar means is NonCommercial provided there is
121
+ no payment of monetary compensation in connection with the
122
+ exchange.
123
+
124
+ j. Share means to provide material to the public by any means or
125
+ process that requires permission under the Licensed Rights, such
126
+ as reproduction, public display, public performance, distribution,
127
+ dissemination, communication, or importation, and to make material
128
+ available to the public including in ways that members of the
129
+ public may access the material from a place and at a time
130
+ individually chosen by them.
131
+
132
+ k. Sui Generis Database Rights means rights other than copyright
133
+ resulting from Directive 96/9/EC of the European Parliament and of
134
+ the Council of 11 March 1996 on the legal protection of databases,
135
+ as amended and/or succeeded, as well as other essentially
136
+ equivalent rights anywhere in the world.
137
+
138
+ l. You means the individual or entity exercising the Licensed Rights
139
+ under this Public License. Your has a corresponding meaning.
140
+
141
+
142
+ Section 2 -- Scope.
143
+
144
+ a. License grant.
145
+
146
+ 1. Subject to the terms and conditions of this Public License,
147
+ the Licensor hereby grants You a worldwide, royalty-free,
148
+ non-sublicensable, non-exclusive, irrevocable license to
149
+ exercise the Licensed Rights in the Licensed Material to:
150
+
151
+ a. reproduce and Share the Licensed Material, in whole or
152
+ in part, for NonCommercial purposes only; and
153
+
154
+ b. produce, reproduce, and Share Adapted Material for
155
+ NonCommercial purposes only.
156
+
157
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
158
+ Exceptions and Limitations apply to Your use, this Public
159
+ License does not apply, and You do not need to comply with
160
+ its terms and conditions.
161
+
162
+ 3. Term. The term of this Public License is specified in Section
163
+ 6(a).
164
+
165
+ 4. Media and formats; technical modifications allowed. The
166
+ Licensor authorizes You to exercise the Licensed Rights in
167
+ all media and formats whether now known or hereafter created,
168
+ and to make technical modifications necessary to do so. The
169
+ Licensor waives and/or agrees not to assert any right or
170
+ authority to forbid You from making technical modifications
171
+ necessary to exercise the Licensed Rights, including
172
+ technical modifications necessary to circumvent Effective
173
+ Technological Measures. For purposes of this Public License,
174
+ simply making modifications authorized by this Section 2(a)
175
+ (4) never produces Adapted Material.
176
+
177
+ 5. Downstream recipients.
178
+
179
+ a. Offer from the Licensor -- Licensed Material. Every
180
+ recipient of the Licensed Material automatically
181
+ receives an offer from the Licensor to exercise the
182
+ Licensed Rights under the terms and conditions of this
183
+ Public License.
184
+
185
+ b. No downstream restrictions. You may not offer or impose
186
+ any additional or different terms or conditions on, or
187
+ apply any Effective Technological Measures to, the
188
+ Licensed Material if doing so restricts exercise of the
189
+ Licensed Rights by any recipient of the Licensed
190
+ Material.
191
+
192
+ 6. No endorsement. Nothing in this Public License constitutes or
193
+ may be construed as permission to assert or imply that You
194
+ are, or that Your use of the Licensed Material is, connected
195
+ with, or sponsored, endorsed, or granted official status by,
196
+ the Licensor or others designated to receive attribution as
197
+ provided in Section 3(a)(1)(A)(i).
198
+
199
+ b. Other rights.
200
+
201
+ 1. Moral rights, such as the right of integrity, are not
202
+ licensed under this Public License, nor are publicity,
203
+ privacy, and/or other similar personality rights; however, to
204
+ the extent possible, the Licensor waives and/or agrees not to
205
+ assert any such rights held by the Licensor to the limited
206
+ extent necessary to allow You to exercise the Licensed
207
+ Rights, but not otherwise.
208
+
209
+ 2. Patent and trademark rights are not licensed under this
210
+ Public License.
211
+
212
+ 3. To the extent possible, the Licensor waives any right to
213
+ collect royalties from You for the exercise of the Licensed
214
+ Rights, whether directly or through a collecting society
215
+ under any voluntary or waivable statutory or compulsory
216
+ licensing scheme. In all other cases the Licensor expressly
217
+ reserves any right to collect such royalties, including when
218
+ the Licensed Material is used other than for NonCommercial
219
+ purposes.
220
+
221
+
222
+ Section 3 -- License Conditions.
223
+
224
+ Your exercise of the Licensed Rights is expressly made subject to the
225
+ following conditions.
226
+
227
+ a. Attribution.
228
+
229
+ 1. If You Share the Licensed Material (including in modified
230
+ form), You must:
231
+
232
+ a. retain the following if it is supplied by the Licensor
233
+ with the Licensed Material:
234
+
235
+ i. identification of the creator(s) of the Licensed
236
+ Material and any others designated to receive
237
+ attribution, in any reasonable manner requested by
238
+ the Licensor (including by pseudonym if
239
+ designated);
240
+
241
+ ii. a copyright notice;
242
+
243
+ iii. a notice that refers to this Public License;
244
+
245
+ iv. a notice that refers to the disclaimer of
246
+ warranties;
247
+
248
+ v. a URI or hyperlink to the Licensed Material to the
249
+ extent reasonably practicable;
250
+
251
+ b. indicate if You modified the Licensed Material and
252
+ retain an indication of any previous modifications; and
253
+
254
+ c. indicate the Licensed Material is licensed under this
255
+ Public License, and include the text of, or the URI or
256
+ hyperlink to, this Public License.
257
+
258
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
259
+ reasonable manner based on the medium, means, and context in
260
+ which You Share the Licensed Material. For example, it may be
261
+ reasonable to satisfy the conditions by providing a URI or
262
+ hyperlink to a resource that includes the required
263
+ information.
264
+
265
+ 3. If requested by the Licensor, You must remove any of the
266
+ information required by Section 3(a)(1)(A) to the extent
267
+ reasonably practicable.
268
+
269
+ 4. If You Share Adapted Material You produce, the Adapter's
270
+ License You apply must not prevent recipients of the Adapted
271
+ Material from complying with this Public License.
272
+
273
+
274
+ Section 4 -- Sui Generis Database Rights.
275
+
276
+ Where the Licensed Rights include Sui Generis Database Rights that
277
+ apply to Your use of the Licensed Material:
278
+
279
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
280
+ to extract, reuse, reproduce, and Share all or a substantial
281
+ portion of the contents of the database for NonCommercial purposes
282
+ only;
283
+
284
+ b. if You include all or a substantial portion of the database
285
+ contents in a database in which You have Sui Generis Database
286
+ Rights, then the database in which You have Sui Generis Database
287
+ Rights (but not its individual contents) is Adapted Material; and
288
+
289
+ c. You must comply with the conditions in Section 3(a) if You Share
290
+ all or a substantial portion of the contents of the database.
291
+
292
+ For the avoidance of doubt, this Section 4 supplements and does not
293
+ replace Your obligations under this Public License where the Licensed
294
+ Rights include other Copyright and Similar Rights.
295
+
296
+
297
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
298
+
299
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
300
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
301
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
302
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
303
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
304
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
305
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
306
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
307
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
308
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
309
+
310
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
311
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
312
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
313
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
314
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
315
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
316
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
317
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
318
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
319
+
320
+ c. The disclaimer of warranties and limitation of liability provided
321
+ above shall be interpreted in a manner that, to the extent
322
+ possible, most closely approximates an absolute disclaimer and
323
+ waiver of all liability.
324
+
325
+
326
+ Section 6 -- Term and Termination.
327
+
328
+ a. This Public License applies for the term of the Copyright and
329
+ Similar Rights licensed here. However, if You fail to comply with
330
+ this Public License, then Your rights under this Public License
331
+ terminate automatically.
332
+
333
+ b. Where Your right to use the Licensed Material has terminated under
334
+ Section 6(a), it reinstates:
335
+
336
+ 1. automatically as of the date the violation is cured, provided
337
+ it is cured within 30 days of Your discovery of the
338
+ violation; or
339
+
340
+ 2. upon express reinstatement by the Licensor.
341
+
342
+ For the avoidance of doubt, this Section 6(b) does not affect any
343
+ right the Licensor may have to seek remedies for Your violations
344
+ of this Public License.
345
+
346
+ c. For the avoidance of doubt, the Licensor may also offer the
347
+ Licensed Material under separate terms or conditions or stop
348
+ distributing the Licensed Material at any time; however, doing so
349
+ will not terminate this Public License.
350
+
351
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
352
+ License.
353
+
354
+
355
+ Section 7 -- Other Terms and Conditions.
356
+
357
+ a. The Licensor shall not be bound by any additional or different
358
+ terms or conditions communicated by You unless expressly agreed.
359
+
360
+ b. Any arrangements, understandings, or agreements regarding the
361
+ Licensed Material not stated herein are separate from and
362
+ independent of the terms and conditions of this Public License.
363
+
364
+
365
+ Section 8 -- Interpretation.
366
+
367
+ a. For the avoidance of doubt, this Public License does not, and
368
+ shall not be interpreted to, reduce, limit, restrict, or impose
369
+ conditions on any use of the Licensed Material that could lawfully
370
+ be made without permission under this Public License.
371
+
372
+ b. To the extent possible, if any provision of this Public License is
373
+ deemed unenforceable, it shall be automatically reformed to the
374
+ minimum extent necessary to make it enforceable. If the provision
375
+ cannot be reformed, it shall be severed from this Public License
376
+ without affecting the enforceability of the remaining terms and
377
+ conditions.
378
+
379
+ c. No term or condition of this Public License will be waived and no
380
+ failure to comply consented to unless expressly agreed to by the
381
+ Licensor.
382
+
383
+ d. Nothing in this Public License constitutes or may be interpreted
384
+ as a limitation upon, or waiver of, any privileges and immunities
385
+ that apply to the Licensor or You, including from the legal
386
+ processes of any jurisdiction or authority.
387
+
388
+ =======================================================================
389
+
390
+ Creative Commons is not a party to its public
391
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
392
+ its public licenses to material it publishes and in those instances
393
+ will be considered the “Licensor.” The text of the Creative Commons
394
+ public licenses is dedicated to the public domain under the CC0 Public
395
+ Domain Dedication. Except for the limited purpose of indicating that
396
+ material is shared under a Creative Commons public license or as
397
+ otherwise permitted by the Creative Commons policies published at
398
+ creativecommons.org/policies, Creative Commons does not authorize the
399
+ use of the trademark "Creative Commons" or any other trademark or logo
400
+ of Creative Commons without its prior written consent including,
401
+ without limitation, in connection with any unauthorized modifications
402
+ to any of its public licenses or any other arrangements,
403
+ understandings, or agreements concerning use of licensed material. For
404
+ the avoidance of doubt, this paragraph does not form part of the
405
+ public licenses.
406
+
407
+ Creative Commons may be contacted at creativecommons.org.
408
+
MANIFEST.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "package": "ViewSuite-ScanNet",
3
+ "generated_utc": "2026-11-20T11:16:18Z",
4
+ "files": [
5
+ {
6
+ "path": "LICENSE",
7
+ "bytes": 19347,
8
+ "sha256": "41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0"
9
+ },
10
+ {
11
+ "path": "README.md",
12
+ "bytes": 6656,
13
+ "sha256": "fa6ce1323f024bdd72870ebf678a9674817243a81850a69e4589d107722ab233"
14
+ },
15
+ {
16
+ "path": "SCHEMA.md",
17
+ "bytes": 2552,
18
+ "sha256": "06d6d1b270b20e4383b9e206c0bc106d7629acdc8427b902cfd7e28db58357f6"
19
+ },
20
+ {
21
+ "path": "corpus/interactive_view_planning_dev.jsonl",
22
+ "bytes": 1145899,
23
+ "sha256": "5122ac09faa1b17f8441ff0e0a587dfa94f5df67fe39231b2d84070c57b68561"
24
+ },
25
+ {
26
+ "path": "corpus/interactive_view_planning_test.jsonl",
27
+ "bytes": 1605588,
28
+ "sha256": "3a890428ba364c787377ec2b9585c4f810e0d9fb0420442fb95a87cdfe294ad2"
29
+ },
30
+ {
31
+ "path": "corpus/interactive_view_planning_train.jsonl",
32
+ "bytes": 10367645,
33
+ "sha256": "6b6def2b3064f76fc1fcd63b451d92890763c2acc990ab33533bd5c08b712d28"
34
+ },
35
+ {
36
+ "path": "corpus/path_to_view_dev.jsonl",
37
+ "bytes": 2029713,
38
+ "sha256": "7d9f061cb2de4b7eee4efcbccf7c83d1544b6e60fd3b4ff59fc217fc03453e72"
39
+ },
40
+ {
41
+ "path": "corpus/path_to_view_test.jsonl",
42
+ "bytes": 2838131,
43
+ "sha256": "ae5faf8122a6dfc9f9ba7fac79259fdf4ca662f30afa281b55accf1c93b4c6a7"
44
+ },
45
+ {
46
+ "path": "corpus/path_to_view_train.jsonl",
47
+ "bytes": 18366424,
48
+ "sha256": "ed618fcafad2cb68b0330a593176f27ab3d5d4c6c0457d1efa98ab8017bc0fe6"
49
+ },
50
+ {
51
+ "path": "corpus/view_to_path_dev.jsonl",
52
+ "bytes": 1397565,
53
+ "sha256": "d132a822b6745e07d5f6448f263a839d73c38d107a8ef0298d9546f0421f3a96"
54
+ },
55
+ {
56
+ "path": "corpus/view_to_path_test.jsonl",
57
+ "bytes": 1951589,
58
+ "sha256": "1be811e01ef4587dc0d6d85ef936acf5ab711fec53f589ef271c701a1068a994"
59
+ },
60
+ {
61
+ "path": "corpus/view_to_path_train.jsonl",
62
+ "bytes": 12620562,
63
+ "sha256": "491ca6b773c2b9b6aad47ab19c0b5ad4f9527f5825ebbe80c7288ad792e99471"
64
+ },
65
+ {
66
+ "path": "data/interactive_view_planning/dev.parquet",
67
+ "bytes": 118892,
68
+ "sha256": "6e7d30f395d3341601ee4ba09fa2da37978718613aa95320678c35605c57bf32"
69
+ },
70
+ {
71
+ "path": "data/interactive_view_planning/test.parquet",
72
+ "bytes": 159586,
73
+ "sha256": "cf7d20459805ee228dc832264b04f07c711f9ab95b662e54c7eb0f304f830c5b"
74
+ },
75
+ {
76
+ "path": "data/interactive_view_planning/train.parquet",
77
+ "bytes": 946517,
78
+ "sha256": "de50326eab2ebd862c1acb92ced05292475e247e20fd6bd593ea07cf0070864e"
79
+ },
80
+ {
81
+ "path": "data/path_to_view/dev.parquet",
82
+ "bytes": 176677,
83
+ "sha256": "f53e89e915bf95841560e22e9fa81b7198831b97624bfc28f8a258ead791865f"
84
+ },
85
+ {
86
+ "path": "data/path_to_view/test.parquet",
87
+ "bytes": 236972,
88
+ "sha256": "3267020d4a1b2d4e4a0a69a753fe4711adaef33de0d0bd83723b0865752d31bc"
89
+ },
90
+ {
91
+ "path": "data/path_to_view/train.parquet",
92
+ "bytes": 1396477,
93
+ "sha256": "5aa85c0217e5d8a52a2286b7e01aece3615f48202e03ff99ac02c66331219c28"
94
+ },
95
+ {
96
+ "path": "data/view_to_path/dev.parquet",
97
+ "bytes": 137168,
98
+ "sha256": "0bca54e41354634749eebd4c73a6e71d45721bb5fb051c98fe74df65e16e0305"
99
+ },
100
+ {
101
+ "path": "data/view_to_path/test.parquet",
102
+ "bytes": 182428,
103
+ "sha256": "1bd0d5fa324322c4b5fd63aa5ec1d296262e4c7601fd8007279de79d7da9e1f1"
104
+ },
105
+ {
106
+ "path": "data/view_to_path/train.parquet",
107
+ "bytes": 1089897,
108
+ "sha256": "1a0702a839d9167a3e336ee55b3fcb8ee86005b478c8790cb19a9fa3e0129732"
109
+ },
110
+ {
111
+ "path": "render/images.jsonl",
112
+ "bytes": 13707732,
113
+ "sha256": "b181d12e6f4e51a20e7cb3abe0976d5bc0850558ab169a185a156a005d05306f"
114
+ },
115
+ {
116
+ "path": "render/render_images.py",
117
+ "bytes": 4733,
118
+ "sha256": "bd9d7ff7186227af8d9e0e5869645910d2d8ecbb4bcdd3b4fe69e9a81043bc5e"
119
+ }
120
+ ],
121
+ "totals": {
122
+ "files": 23,
123
+ "bytes": 70508750
124
+ }
125
+ }
README.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ pretty_name: ViewSuite (ScanNet)
4
+ language:
5
+ - en
6
+ task_categories:
7
+ - visual-question-answering
8
+ - image-text-to-text
9
+ tags:
10
+ - view-planning
11
+ - camera-control
12
+ - active-perception
13
+ - embodied-ai
14
+ - 3d-scenes
15
+ - scannet
16
+ - spatial-reasoning
17
+ size_categories:
18
+ - 10K<n<100K
19
+ configs:
20
+ - config_name: path_to_view
21
+ data_files:
22
+ - split: train
23
+ path: data/path_to_view/train.parquet
24
+ - split: dev
25
+ path: data/path_to_view/dev.parquet
26
+ - split: test
27
+ path: data/path_to_view/test.parquet
28
+ - config_name: view_to_path
29
+ data_files:
30
+ - split: train
31
+ path: data/view_to_path/train.parquet
32
+ - split: dev
33
+ path: data/view_to_path/dev.parquet
34
+ - split: test
35
+ path: data/view_to_path/test.parquet
36
+ - config_name: interactive_view_planning
37
+ default: true
38
+ data_files:
39
+ - split: train
40
+ path: data/interactive_view_planning/train.parquet
41
+ - split: dev
42
+ path: data/interactive_view_planning/dev.parquet
43
+ - split: test
44
+ path: data/interactive_view_planning/test.parquet
45
+ ---
46
+
47
+ # ViewSuite (ScanNet)
48
+
49
+ The ViewSuite benchmark for camera-view planning in ScanNet scenes, as used for the experiments of [*Planning with the Views*](https://arxiv.org/abs/2605.29563): task files with the prompts, camera poses, options and answers of all three tasks and all splits. **The images are not included** (ScanNet Terms of Use); `render/render_images.py` re-creates them from the ScanNet meshes and checks each one against the hash of the original.
50
+
51
+ ## Tasks and splits
52
+
53
+ Each instance is a pair of camera views in one scene: a start view and a target view, related by a short
54
+ sequence of discrete camera actions, plus a top-down view of the scene. Every pair gives three tasks:
55
+
56
+ - **Path-to-View (P2V)**: given the start view, the top-down view and an action sequence, pick the resulting view
57
+ among four images (A-D).
58
+ - **View-to-Path (V2P)**: given the start view, the top-down view and the target view, pick the action sequence that
59
+ leads there among four options (A-D).
60
+ - **Interactive View Planning (IVP)**: from the start view, move the camera with actions (up to four per turn), see
61
+ the new view after each turn, and submit the 6-DoF camera-to-world pose of the target view
62
+ (`answer(tx, ty, tz, rx, ry, rz)`, meters and Euler XYZ degrees) within ten turns. `gt_answer` is that pose; the
63
+ ground-truth action sequence from the start view is stored with every instance (`SCHEMA.md`).
64
+
65
+ | Task | Config | train | dev | test |
66
+ |---|---|---|---|---|
67
+ | Path-to-View (P2V) | `path_to_view` | 3,419 | 378 | 530 |
68
+ | View-to-Path (V2P) | `view_to_path` | 3,419 | 378 | 530 |
69
+ | Interactive View Planning (IVP) | `interactive_view_planning` | 3,419 | 378 | 530 |
70
+ | Scenes | | 193 | 22 | 29 |
71
+
72
+ The splits are scene-disjoint (the scene split of ViewSuite-5K). Ground-truth paths have 2-10 actions; the test set is split into Short / Long by the unified view distance between start and target (d < 3: 187, d >= 3: 343 pairs).
73
+
74
+ ## Camera and actions
75
+
76
+ Views are 256 x 256 Habitat-Sim renders of the ScanNet v2 meshes (`<scene>_vh_clean.ply`). Ten actions: move forward / backward / left / right in the horizontal plane (0.5 m), up / down along the world vertical axis (0.5 m), turn left / right (30 deg yaw), look up / down (30 deg pitch, within +-60 deg); no roll. IVP success: submitted pose within 0.5 m and 30 deg of the target. Poses are in the ScanNet scene frame (z up); `c2w_extrinsics` are OpenCV camera-to-world matrices and `c2w_intrinsics` the pinhole K of the 256 x 256 image.
77
+
78
+ ## Files
79
+
80
+ | Path | Content |
81
+ |---|---|
82
+ | `corpus/*.jsonl` | the nine task files, byte-identical to the files our evaluations read (their SHA-256 are in `MANIFEST.json`) |
83
+ | `data/<task>/<split>.parquet` | the same rows for `datasets`, plus `jsonl_idx` (row number in the JSON Lines file); `image_detail` and `meta` as JSON text |
84
+ | `render/images.jsonl` | the 21,879 images the task files reference: path, scene, kind, camera, size, SHA-256 of the original PNG file and of its pixels |
85
+ | `render/render_images.py` | re-creates the images and checks them against those hashes |
86
+ | `SCHEMA.md` | every field |
87
+
88
+ ## Loading
89
+
90
+ ```python
91
+ from datasets import load_dataset
92
+
93
+ ivp = load_dataset("MLL-Lab/ViewSuite-ScanNet", "interactive_view_planning", split="test")
94
+ row = ivp[0]
95
+ print(row["prompt"], row["image_path"], row["gt_answer"])
96
+ ```
97
+
98
+ `image_detail` and `meta` are JSON text in the Parquet files (`json.loads(row["meta"])`). The code release reads the
99
+ JSON Lines files in `corpus/` directly; download the repository and point the evaluation at that directory:
100
+
101
+ ```bash
102
+ hf download MLL-Lab/ViewSuite-ScanNet --repo-type dataset --local-dir data/scannet
103
+ ```
104
+
105
+ ## Re-creating the images
106
+
107
+ 1. Obtain ScanNet v2 from the official source (http://www.scan-net.org/) after agreeing to the ScanNet Terms of Use; only the `<scene>_vh_clean.ply` meshes of the scenes listed in `render/images.jsonl` are needed.
108
+ 2. Install the code release (https://github.com/mll-lab-nu/viewagent) and its Habitat-Sim environment.
109
+ 3. Render into the corpus directory and verify:
110
+
111
+ ```bash
112
+ python render/render_images.py --out data/scannet/corpus --scans <ScanNet scans dir> --gpu 0
113
+ ```
114
+
115
+ The script writes each PNG at the path the task files use and checks its pixels against the stored hash. When we built the corpus, every stored image re-rendered pixel-identically; other GPUs or graphics drivers can give small differences, which the script reports. Rendering needs a GPU with OpenGL/EGL.
116
+
117
+ ## Relation to the original ViewSuite release
118
+
119
+ This corpus was rebuilt for these experiments: the cameras of the released ViewSuite-15K were re-rendered with Habitat-Sim at 256 x 256 (not Open3D at 512 x 512), the action space has no roll and moves in the horizontal plane, and the P2V / V2P options were redrawn so that their text does not reveal the answer. Numbers on this corpus are not comparable with numbers on the original release.
120
+
121
+ ## License and terms
122
+
123
+ The task files (prompts, camera poses, options, answers) are released under CC BY-NC 4.0 (`LICENSE`). The scenes are ScanNet's: to render the images you need ScanNet access under the ScanNet Terms of Use (non-commercial research and education). The `prompt` texts and stored field values are kept exactly as evaluated, including internal build tags in `meta`.
124
+
125
+ ## Citation
126
+
127
+ ```bibtex
128
+ @article{wang2026viewagent,
129
+ title = {Planning with the Views},
130
+ author = {Wang, Kangrui and Li, Linjie and Yang, Zhengyuan and Chen, Shiqi and
131
+ Wang, Zihan and Fei-Fei, Li and Wu, Jiajun and Guibas, Leonidas and
132
+ Wang, Lijuan and Li, Manling},
133
+ journal = {arXiv preprint arXiv:2605.29563},
134
+ year = {2026}
135
+ }
136
+ ```
SCHEMA.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Schema
2
+
3
+ One JSON object per line in `corpus/<task>_<split>.jsonl`; the Parquet files in `data/<task>/<split>.parquet` hold the
4
+ same rows with an extra `jsonl_idx` (0-based line number) and with `image_detail` and `meta` serialized as JSON text.
5
+
6
+ ## Fields of every task
7
+
8
+ | Field | Type | Meaning |
9
+ |---|---|---|
10
+ | `scene_id` | string | scene identifier |
11
+ | `sample_id` | string | `<scene>_sample_<k>`, shared by the P2V, V2P and IVP rows of one view pair |
12
+ | `prompt` | string | task text shown to the model; each `<image>` stands for the next entry of `image_path` |
13
+ | `image_path` | list of strings | images in prompt order, relative to `corpus/` |
14
+ | `image_detail` | object (JSON text in Parquet) | per image: `path`, `c2w_extrinsics` (4 x 4 OpenCV camera-to-world, z-up world frame, meters), `c2w_intrinsics` (3 x 3 pinhole K of the stored image) |
15
+ | `gt_answer` | string (P2V, V2P) / see right (IVP) | correct option letter; IVP: target pose `[tx, ty, tz, rx, ry, rz]`, meters and Euler XYZ degrees (camera-to-world) |
16
+ | `meta` | object (JSON text in Parquet) | step sizes, pitch limit, action-space flags, world up axis, image size, build tag, view-pair statistics, distractor construction, image statistics, ground-truth action letters and names |
17
+ | `action_space_version` | string | action-space identifier, also in `meta` |
18
+
19
+ ## IVP only
20
+
21
+ | Field | Type | Meaning |
22
+ |---|---|---|
23
+ | `gt_action_seq` | list of strings | the ground-truth action sequence from the start view to the target (canonical plan; action letters, names in `meta.gt_action_seq_names`) |
24
+
25
+ ## `image_detail` keys
26
+
27
+ - `init_view`: start view; `top_down_view`: overhead reference view;
28
+ - P2V / V2P: `view_0` ... `view_3` (the four candidate views; the answer's view is the target);
29
+ - IVP: `target_view`.
30
+
31
+ ## Action letters
32
+
33
+ `w` / `s` move forward / backward, `a` / `d` move left / right, `y` / `h` move up / down, `q` / `e` turn left / right,
34
+ `r` / `f` look up / down (names: `move_forward`, `move_backward`, `move_left`, `move_right`, `move_up`, `move_down`,
35
+ `turn_left`, `turn_right`, `look_up`, `look_down`).
36
+
37
+ ## render/images.jsonl (when present)
38
+
39
+ | Field | Meaning |
40
+ |---|---|
41
+ | `path` | image path relative to `corpus/` |
42
+ | `scene_id`, `kind` | scene; `option`, `target`, `initial` or `top_down` |
43
+ | `width`, `height` | image size (256 x 256) |
44
+ | `K`, `c2w` | camera of the render (same values as in `image_detail`) |
45
+ | `file_sha256` | SHA-256 of the original PNG file |
46
+ | `pixel_sha256` | SHA-256 of the decoded image as height x width x 3 uint8 RGB bytes (row-major) |
SHA256SUMS ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0 LICENSE
2
+ fa6ce1323f024bdd72870ebf678a9674817243a81850a69e4589d107722ab233 README.md
3
+ 06d6d1b270b20e4383b9e206c0bc106d7629acdc8427b902cfd7e28db58357f6 SCHEMA.md
4
+ 5122ac09faa1b17f8441ff0e0a587dfa94f5df67fe39231b2d84070c57b68561 corpus/interactive_view_planning_dev.jsonl
5
+ 3a890428ba364c787377ec2b9585c4f810e0d9fb0420442fb95a87cdfe294ad2 corpus/interactive_view_planning_test.jsonl
6
+ 6b6def2b3064f76fc1fcd63b451d92890763c2acc990ab33533bd5c08b712d28 corpus/interactive_view_planning_train.jsonl
7
+ 7d9f061cb2de4b7eee4efcbccf7c83d1544b6e60fd3b4ff59fc217fc03453e72 corpus/path_to_view_dev.jsonl
8
+ ae5faf8122a6dfc9f9ba7fac79259fdf4ca662f30afa281b55accf1c93b4c6a7 corpus/path_to_view_test.jsonl
9
+ ed618fcafad2cb68b0330a593176f27ab3d5d4c6c0457d1efa98ab8017bc0fe6 corpus/path_to_view_train.jsonl
10
+ d132a822b6745e07d5f6448f263a839d73c38d107a8ef0298d9546f0421f3a96 corpus/view_to_path_dev.jsonl
11
+ 1be811e01ef4587dc0d6d85ef936acf5ab711fec53f589ef271c701a1068a994 corpus/view_to_path_test.jsonl
12
+ 491ca6b773c2b9b6aad47ab19c0b5ad4f9527f5825ebbe80c7288ad792e99471 corpus/view_to_path_train.jsonl
13
+ 6e7d30f395d3341601ee4ba09fa2da37978718613aa95320678c35605c57bf32 data/interactive_view_planning/dev.parquet
14
+ cf7d20459805ee228dc832264b04f07c711f9ab95b662e54c7eb0f304f830c5b data/interactive_view_planning/test.parquet
15
+ de50326eab2ebd862c1acb92ced05292475e247e20fd6bd593ea07cf0070864e data/interactive_view_planning/train.parquet
16
+ f53e89e915bf95841560e22e9fa81b7198831b97624bfc28f8a258ead791865f data/path_to_view/dev.parquet
17
+ 3267020d4a1b2d4e4a0a69a753fe4711adaef33de0d0bd83723b0865752d31bc data/path_to_view/test.parquet
18
+ 5aa85c0217e5d8a52a2286b7e01aece3615f48202e03ff99ac02c66331219c28 data/path_to_view/train.parquet
19
+ 0bca54e41354634749eebd4c73a6e71d45721bb5fb051c98fe74df65e16e0305 data/view_to_path/dev.parquet
20
+ 1bd0d5fa324322c4b5fd63aa5ec1d296262e4c7601fd8007279de79d7da9e1f1 data/view_to_path/test.parquet
21
+ 1a0702a839d9167a3e336ee55b3fcb8ee86005b478c8790cb19a9fa3e0129732 data/view_to_path/train.parquet
22
+ b181d12e6f4e51a20e7cb3abe0976d5bc0850558ab169a185a156a005d05306f render/images.jsonl
23
+ bd9d7ff7186227af8d9e0e5869645910d2d8ecbb4bcdd3b4fe69e9a81043bc5e render/render_images.py
corpus/interactive_view_planning_dev.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/interactive_view_planning_test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/interactive_view_planning_train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/path_to_view_dev.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/path_to_view_test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/path_to_view_train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed618fcafad2cb68b0330a593176f27ab3d5d4c6c0457d1efa98ab8017bc0fe6
3
+ size 18366424
corpus/view_to_path_dev.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/view_to_path_test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
corpus/view_to_path_train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:491ca6b773c2b9b6aad47ab19c0b5ad4f9527f5825ebbe80c7288ad792e99471
3
+ size 12620562
data/interactive_view_planning/dev.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e7d30f395d3341601ee4ba09fa2da37978718613aa95320678c35605c57bf32
3
+ size 118892
data/interactive_view_planning/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf7d20459805ee228dc832264b04f07c711f9ab95b662e54c7eb0f304f830c5b
3
+ size 159586
data/interactive_view_planning/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de50326eab2ebd862c1acb92ced05292475e247e20fd6bd593ea07cf0070864e
3
+ size 946517
data/path_to_view/dev.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f53e89e915bf95841560e22e9fa81b7198831b97624bfc28f8a258ead791865f
3
+ size 176677
data/path_to_view/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3267020d4a1b2d4e4a0a69a753fe4711adaef33de0d0bd83723b0865752d31bc
3
+ size 236972
data/path_to_view/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aa85c0217e5d8a52a2286b7e01aece3615f48202e03ff99ac02c66331219c28
3
+ size 1396477
data/view_to_path/dev.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bca54e41354634749eebd4c73a6e71d45721bb5fb051c98fe74df65e16e0305
3
+ size 137168
data/view_to_path/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd0d5fa324322c4b5fd63aa5ec1d296262e4c7601fd8007279de79d7da9e1f1
3
+ size 182428
data/view_to_path/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a0702a839d9167a3e336ee55b3fcb8ee86005b478c8790cb19a9fa3e0129732
3
+ size 1089897
render/images.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b181d12e6f4e51a20e7cb3abe0976d5bc0850558ab169a185a156a005d05306f
3
+ size 13707732
render/render_images.py ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Re-create the images of the ViewSuite ScanNet corpus from the stored cameras.
3
+
4
+ The task files reference 256 x 256 PNG renders of ScanNet meshes, which this repository does not distribute
5
+ (ScanNet Terms of Use). Every image is a deterministic Habitat-Sim render of a ScanNet v2 mesh
6
+ (<scans>/<scene>/<scene>_vh_clean.ply) at the camera stored in render/images.jsonl (OpenCV camera-to-world
7
+ matrix `c2w` and intrinsics `K`, the same values as `image_detail` in the task files). When the corpus was built,
8
+ every image re-rendered pixel-identically with this renderer; other GPUs or drivers can differ slightly, so the
9
+ script checks every image against the pixel hash in the manifest and reports matches and differences.
10
+
11
+ python render/render_images.py --out corpus --scans <ScanNet v2 scans dir> --gpu 0
12
+ python render/render_images.py --out corpus --verify-only # only hash existing images
13
+
14
+ Requirements: the ViewSuite code release on PYTHONPATH (view_agent) and its Habitat-Sim environment (the one the
15
+ ScanNet render service uses), a GPU with OpenGL/EGL, and the ScanNet v2 meshes, obtained from ScanNet under its
16
+ Terms of Use. Prints a JSON summary; exits with status 1 if any image is missing or differs.
17
+
18
+ pixel_sha256 = SHA-256 of the decoded image as height x width x 3 uint8 RGB bytes (row-major), so it does not
19
+ depend on the PNG encoder; file_sha256 is the hash of the original PNG file.
20
+ """
21
+ import argparse
22
+ import collections
23
+ import hashlib
24
+ import json
25
+ import os
26
+ import sys
27
+
28
+ import numpy as np
29
+ from PIL import Image
30
+
31
+
32
+ def pixel_sha256(arr):
33
+ a = np.ascontiguousarray(np.asarray(arr)[..., :3].astype(np.uint8))
34
+ return hashlib.sha256(a.tobytes()).hexdigest()
35
+
36
+
37
+ def main():
38
+ here = os.path.dirname(os.path.abspath(__file__))
39
+ ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
40
+ ap.add_argument("--manifest", default=os.path.join(here, "images.jsonl"))
41
+ ap.add_argument("--out", required=True, help="corpus directory: images are written below it at their paths")
42
+ ap.add_argument("--scans", default=None, help="ScanNet v2 scans directory (<scans>/<scene>/<scene>_vh_clean.ply)")
43
+ ap.add_argument("--gpu", type=int, default=0)
44
+ ap.add_argument("--scenes", default=None, help="comma-separated subset of scene ids")
45
+ ap.add_argument("--verify-only", action="store_true")
46
+ ap.add_argument("--overwrite", action="store_true", help="re-render images that already exist")
47
+ a = ap.parse_args()
48
+
49
+ jobs = [json.loads(line) for line in open(a.manifest)]
50
+ if a.scenes:
51
+ keep = set(a.scenes.split(","))
52
+ jobs = [j for j in jobs if j["scene_id"] in keep]
53
+ by_scene = collections.defaultdict(list)
54
+ for j in jobs:
55
+ by_scene[j["scene_id"]].append(j)
56
+ stats = collections.Counter()
57
+ bad = []
58
+ for scene in sorted(by_scene):
59
+ todo = [j for j in by_scene[scene]
60
+ if a.overwrite or not os.path.exists(os.path.join(a.out, j["path"]))]
61
+ if todo and not a.verify_only:
62
+ if not a.scans:
63
+ raise SystemExit("--scans is required to render")
64
+ from view_agent.envs.scannet._common.render.habitat_render import HabitatRenderer
65
+ ply = os.path.join(a.scans, scene, f"{scene}_vh_clean.ply")
66
+ r = HabitatRenderer(ply, gpu_device_id=a.gpu, width=256, height=256)
67
+ try:
68
+ for j in todo:
69
+ img = np.asarray(r.render_image_from_cam_param(np.asarray(j["K"]), np.asarray(j["c2w"]),
70
+ j["width"], j["height"]))[..., :3]
71
+ dst = os.path.join(a.out, j["path"])
72
+ os.makedirs(os.path.dirname(dst), exist_ok=True)
73
+ Image.fromarray(img.astype(np.uint8)).save(dst)
74
+ stats["rendered"] += 1
75
+ finally:
76
+ r.close()
77
+ for j in by_scene[scene]:
78
+ dst = os.path.join(a.out, j["path"])
79
+ if not os.path.exists(dst):
80
+ stats["missing"] += 1
81
+ bad.append({"path": j["path"], "problem": "missing"})
82
+ continue
83
+ with Image.open(dst) as im:
84
+ h = pixel_sha256(np.asarray(im.convert("RGB")))
85
+ if h == j["pixel_sha256"]:
86
+ stats["pixel_identical"] += 1
87
+ else:
88
+ stats["different"] += 1
89
+ bad.append({"path": j["path"], "problem": "pixels differ"})
90
+ summary = {"images": len(jobs), **stats, "problems": bad[:50]}
91
+ print(json.dumps(summary, indent=1))
92
+ return 0 if stats["pixel_identical"] == len(jobs) else 1
93
+
94
+
95
+ if __name__ == "__main__":
96
+ sys.exit(main())