Always create CAFFE:RNG for prefetch thread to simplify logic#558
Always create CAFFE:RNG for prefetch thread to simplify logic#558
Conversation
|
For some reason I don't understand yet the test_data_layer.bin now fails. |
|
It seems a problem related to setting the seed in the test. |
|
Tests failed: |
|
The test cases are trying to test the combinations of cropping, scaling and mirroring. It is almost impossible to debug all the entangled interactions. The bad smells of the intricate test cases suggest that it is urgent to refactor the data layers. |
|
|
@sguada, @shelhamer, @jeffdonahue, the bug is due to that the DataLayer::phase_ was never explicitly initialized or set. The ImageDataLayer is not tested as thoroughly but has the same bug. The WindowDataLayer doesn't have the phase_ field. Please help fix them. |
|
Just to inform, the branch of sguada was functional to overcome the following error:
If you have clues pointing to prefetch_rng_ issue, it is doable to use this branch. However, I have no idea if it produces another errors. @sguada, Have you used it in your projects? |
To avoid untested cases in the
Data_layer,Image_Data_LayerandWindow_Data_Layeralways create the random number generator.This should fix #553 #508 and should help in the Data source redesign @Yangqing