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

Can not testing pre-trained model on Cityscape #1

Closed
Timo-hab opened this issue Sep 25, 2016 · 1 comment
Closed

Can not testing pre-trained model on Cityscape #1

Timo-hab opened this issue Sep 25, 2016 · 1 comment

Comments

@Timo-hab
Copy link

Timo-hab commented Sep 25, 2016

Hi, i am trying to test the pretrained model on Cityscapes, but get no output.

I downloaded the gtFine_trainvaltest.zip" and "leftImg8bit_trainvaltest.zip', unziped it and saved it in /data/CityScapes/.
So the paths are:
/data/CityScapes/gtFine/val/frankfurt/...
/data/CityScapes/leftImg8bit/val/frankfurt/...

But when i execute, it says: Number of validation data: 0

The output of imdb is the following:

   `root_path: 'data/CityScapes/'
    anno_path: 'data/CityScapes//%s/%s/%s/%s'
     img_path: 'data/CityScapes//leftImg8bit/%s/%s/%s_leftImg8bit.png'
         sets: [1x1 struct]
      classes: [1x1 struct]
       images: [1x1 struct]
  num_classes: 19
classes_names: {1x19 cell}`

Maybe the two "//" in the path cause the problem?

@Timo-hab Timo-hab changed the title can not testing pre-trained model on Cityscape Can not testing pre-trained model on Cityscape Sep 25, 2016
@golnazghiasi
Copy link
Owner

The default path to data (opts.dataDir) in "LRRTestOnCityScape.m" is "data/CityScapes/" which is a local directory. If you have saved your data in "/data/CityScapes/" then you should change "opts.dataDir" to "/data/CityScapes/".

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