andrewsonga / Total-Recon

[ICCV 2023] Total-Recon: Deformable Scene Reconstruction for Embodied View Synthesis
https://andrewsonga.github.io/totalrecon
Other
214 stars 6 forks source link

untar data #2

Closed Xin-97 closed 1 year ago

Xin-97 commented 1 year ago

Screenshot from 2023-05-03 19-19-52

Hello,

Thanks for your great work. There is some problem when I untar your data, can I help to have a look?

andrewsonga commented 1 year ago

Hello,

Thank you for the kind words about our project! Before I attempt to answer your question, let me provide some context. I had originally tarred the preprocessed data on CentOS Linux (Version 7), where the tar version was “tar (GNU tar) 1.26”.

After reading your github issue, I downloaded and untarred the database_humandog.tar.gz file in question on both Linux (CentOS 7) and Mac OS (13.0.1), using the commands bash download_preprocessed.sh; tar -xzvf database_humandog.tar.gz. I was able to successfully download and untar database_humandog.tar.gz for both cases, so I do not think this is an OS issue. However, the error message suggests that you were trying to untar the file from a BSD-based system (as opposed to a UID-based system such as Linux, which was the OS where I tarred the file in the first place). Therefore, I would recommend you to try adding the --numeric-owner flag to the untar command and see if it works:

tar -xzvf database_humandog.tar.gz --numeric-owner

Otherwise, try redownloading the tarred file and untar that instead. Let me know if you have any follow-up questions.

Xin-97 commented 1 year ago

Hi,

Thanks for your reply. I guess it may be the problem with my SSD.
I have another question about the depth, in read_depth of vidbase.py, I notice that you reshape the depth to 256192. Why the shape of depth is like that rather than the same as the image shape (720960)? Thanks!

andrewsonga commented 1 year ago

That is because the depth measurements provided by the iPad Pro has a resolution of 256 x 192. Later we resize it to be the same as the image shape (960x720) in vidbase.py https://github.com/andrewsonga/Total-Recon/blob/be22ad9e12739d26533e98b2cdab09f706e40a45/dataloader/vidbase.py#L162

andrewsonga commented 1 year ago

Closing this issue due to inactivity.