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

How to preprocess the dataset? #6

Closed
WhoisZihan opened this issue Nov 22, 2019 · 2 comments
Closed

How to preprocess the dataset? #6

WhoisZihan opened this issue Nov 22, 2019 · 2 comments

Comments

@WhoisZihan
Copy link

Hi, thanks for sharing your code. I downloaded the gtFine_trainvaltest.zip (241MB) dataset and decompressed it, but I don't quite follow the instructions in the README.

First, python utils/convert_bin_to_hdf5.py file contains hardcoded file val.txt, but where can I find this file? I don't see such file in the repository or the dataset.

Also, what should I do to run the whole repo from scratch, for example, from dataset preprocess to training, validating and testing? Some more detailed instructions would be a great help.

  • Run python3 utils/convert_bin_to_hdf5.py
  • Run python3 main.py

Are the two commands above all that needed to run the repository?

Thanks!

@anirudh-chakravarthy
Copy link
Owner

anirudh-chakravarthy commented Nov 23, 2019

Hi,

As discussed here, cityscapes-preprocess is used before conversion to hdf5 file format. Preprocessing will generate all the requirements necessary to proceed further. The directory contains its own README for usage, once you preprocess it you can move to the training (or whatever task you wish to perform).

@WhoisZihan
Copy link
Author

Thanks, I see.

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