-
Notifications
You must be signed in to change notification settings - Fork 3
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
Some problems for Cityscapes preprocessing #2
Comments
Hi, seq_length=3 means that we process (-2, 0, 2) frames, stack them into a single image and save it. When training, we load this image and split it into 3 parts, i.e., the target frame (0) and the source frames (-2, 2). If you set seq_length=1, the saved image will only contain frame 0. To align with the training setting of our method and previous methods like ManyDepth, you should use seq_length=3. BTW, you succeed to run it with seq_length=1, so I think there is no bug. You may check it again. Maybe wait a while for the processing? Another possibility: dump_root should not be an existing folder. When you rerun this script, you'd better set a new path for dump_root or delete the existing one. |
Thank you very much for your answer. I think there may be a problem with the data set. May I ask if you have the resource leftImg8bit_sequence_trainvaltest.zip? The link to the official website is too slow to download. |
I am sorry that I don't have the resource now. Maybe VPN is helpful. And you can also download with wget (refer to https://github.com/cemsaz/city-scapes-script). If you try wget, note that the package ID for leftImg8bit_sequence_trainvaltest.zip is 14. |
I used these instructions to preprocess cityscapes
python prepare_train_data.py
--img_height 512
--img_width 1024
--dataset_dir <path_to_downloaded_cityscapes_data>
--dataset_name cityscapes
--dump_root <your_preprocessed_cityscapes_path>
--seq_length 3
--num_threads 8
But when I set --seq_length 3, nothing should happen to the data set, and there's nothing in the preprocessed_cityscapes folder, but when I set --seq_length 1, The processed images appear in the preprocessed_cityscapes folder. Do the Settings --seq_length 3 and --seq_length 1 affect the images?
The text was updated successfully, but these errors were encountered: