Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RealEstate10K download error #10

Open
XinyuMeng opened this issue Mar 20, 2024 · 3 comments
Open

RealEstate10K download error #10

XinyuMeng opened this issue Mar 20, 2024 · 3 comments

Comments

@XinyuMeng
Copy link

I am very sorry to bother you, but there was an error when I downloaded the RealEstate10K dataset. The error message is as follows:

(base) mxy@ZYR:~/DataSets/cross_attention_renderer/data_download$ python3 generate_realestate.py  test
[INFO] Loading data list ...  Done! 
[INFO] 0 movies are used in test mode
########################################
TOTAL : 0 sequnces
[INFO] Start downloading 0 movies
Done!

How do I download this data set correctly? Thank you very much

@yilundu
Copy link
Owner

yilundu commented Mar 20, 2024

Hi -- can you see why the data list is empty?

@XinyuMeng
Copy link
Author

Sorry I'm a little confused, but when I try to debug the generate_realestate.py file,it seems to skip the following code:

self.isDone:
for txt_file in self.list_seqnames:
dir_name = txt_file.split('/')[-1]
seq_name = dir_name.split('.')[0]

# extract info from txt
seq_file = open(txt_file, "r")
lines = seq_file.readlines()
youtube_url = ""
list_timestamps= []
for idx, line in enumerate(lines):
if idx == 0:
youtube_url = line.strip()
else:
timestamp = int(line. split(' ')[0])
list_timestamps.append(timestamp)
seq_file.close()

isRegistered = False
for i in range(len(self.list_data)):
if youtube_url == self.list_data[i].url:
isRegistered = True
self.list_data[i]. add(seq_name, list_timestamps)
else:
pass

@XinyuMeng
Copy link
Author

I'm very sorry to bother you, this is a stupid question, the data set path error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants