backseason / PoolNet

Code for our CVPR 2019 paper "A Simple Pooling-Based Design for Real-Time Salient Object Detection"
MIT License
630 stars 153 forks source link

How to test? #66

Open 18718277909 opened 4 years ago

18718277909 commented 4 years ago

Hi, Thanks for your great job. But when I test my dataset, I meet an error "local variable 'image_root' referenced before assignment". So can you please tell me the data root of the testing dataset? Thanks.

backseason commented 4 years ago

You can set the varible here: https://github.com/backseason/PoolNet/blob/16b77d9e9f85bbd862d2f9be43d9d6f2eb9c8e95/main.py#L6