Seanforfun / GMAN_Net_Haze_Removal

Single Image Dehazing with a Generic Model-Agnostic Convolutional Neural Network
https://ieeexplore.ieee.org/document/8686264
38 stars 21 forks source link

Dead lock for dehazenet_options.py #4

Closed Seanforfun closed 6 years ago

Seanforfun commented 6 years ago

I started a conditional block at the beginning of consumer, and every time producer put a task into the task queue, it will release all the consumers which are waiting. However, if the number tasks not enough, the producers are finished before Consumer threads are created, so the consumer is blocked forever. I removed the conditional lock and let the main thread sleep for 0.0001 second between producer and consumer. So we can make sure producer threads are created before consumers.

noobgrow commented 5 years ago

hello! Could u please provide the training dataset?Or where can I get it? thanks for your help!

Seanforfun commented 5 years ago

hello! Could u please provide the training dataset?Or where can I get it? thanks for your help!

Hello, The training dataset is from a paper Benchmarking Single Image Dehazing and Beyond. You can download the dataset from their website. I download the data and generate my own tf-record file. You questions doesn't match this issue so if you have any further questions please re-open an new issue for making everything clear. 😄 Regards.