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

Where to find the train-list "train_bigger_patch.lst" #2

Closed
thomasdic2000 opened this issue Nov 9, 2017 · 3 comments
Closed

Where to find the train-list "train_bigger_patch.lst" #2

thomasdic2000 opened this issue Nov 9, 2017 · 3 comments

Comments

@thomasdic2000
Copy link

I tried to use the default 'imglists/train.lst,' but seems format not recognized. Could you please provide the train-list you used? Thanks.

@GrassSunFlower
Copy link
Contributor

You can try using data_prep/get_cityscapes_list.py to generate the data list

@acgtyrant
Copy link

@GrassSunFlower How to decide image_path and label_path in get_cityscapes_list.py?

As my understanding to this file, I should pass some arguments as below:

root = '/home/acgtyrant/BigDatas/Cityscapes'
image_path = 'leftImg8bit/train'
label_path = 'gtFine/train'

And cityscaples_loader.read_data will read the full image path and label path as item[0] and item[1].

However, utils.get_single_image_duc will still join item[0] and data_dir again while the item[0] is the full path already, the same for item[1].

@GrassSunFlower
Copy link
Contributor

Yes, it is working this way.
You can try change the content of data_dir into something like . or modify the output of the get_cityscapes_list output.

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

4 participants