LArbys / LArCV

Liquid Argon Computer Vision
11 stars 9 forks source link

Store ROIs Warnings #59

Open lyates17 opened 7 years ago

lyates17 commented 7 years ago

After hand-scanning a sample today, I clicked the "Store ROIs" button. The process seemed to run much more slowly than it had previously (i.e., took multiple minutes instead of ~10 seconds) and I received a long string of warning messages like the below. I subsequently loaded the output file produced by "Store ROIs" as an input, and the ROIs appear in the correct events and correct locations, so I'm not sure how significant the issue is.

[NORMAL] IOManager::get_data Created TTree partroi_handscan_tree (id=0) w/ 0 entries... [NORMAL] IOManager::get_data Created TTree pixel2d_handscan_tree (id=1) w/ 0 entries... [NORMAL] IOManager::get_data Created TTree pixel2d_labels_tree (id=2) w/ 0 entries... storing ROIs for (5767L, 0L, 24L) storing (<ROOT.larcv::Pixel2D object at 0x6cb82c0>, <ROOT.larcv::Pixel2D object at 0x6f11560>, <ROOT.larcv::Pixel2D object at 0x6caa490>) storing labels for event= 0 plane= 0 : 0 plane= 0 : 0 plane= 0 : 0 storing labels for event= 1 plane= 0 : 0 plane= 0 : 0 plane= 0 : 0 [WARNING] IOManager::set_id Override event id for product pixel2d by handscan from (5767,0,24) to (5767,9,454) [WARNING] IOManager::set_id Override event id for product pixel2d by labels from (5767,0,24) to (5767,9,454) storing labels for event= 2 plane= 0 : 0 plane= 0 : 0 plane= 0 : 0 [WARNING] IOManager::set_id Override event id for product pixel2d by handscan from (5767,9,454) to (5767,46,2350) [WARNING] IOManager::set_id Override event id for product pixel2d by labels from (5767,9,454) to (5767,46,2350) storing labels for event= 3 plane= 0 : 0 plane= 0 : 0 plane= 0 : 0 [WARNING] IOManager::set_id Override event id for product pixel2d by handscan from (5767,46,2350) to (5767,97,4859) [WARNING] IOManager::set_id Override event id for product pixel2d by labels from (5767,46,2350) to (5767,97,4859) storing ROIs for (5767L, 99L, 4975L) storing (<ROOT.larcv::Pixel2D object at 0x6f69760>, <ROOT.larcv::Pixel2D object at 0x6f69d90>, <ROOT.larcv::Pixel2D object at 0x7a3ba00>) storing labels for event= 4 plane= 0 : 0 plane= 0 : 0 plane= 0 : 0 [WARNING] IOManager::set_id Override event id for product pixel2d by handscan from (5767,97,4859) to (5767,99,4975) [WARNING] IOManager::set_id Override event id for product pixel2d by labels from (5767,97,4859) to (5767,99,4975) storing labels for event= 5 plane= 0 : 0 plane= 0 : 0 plane= 0 : 0 [WARNING] IOManager::set_id Override event id for product pixel2d by handscan from (5767,99,4975) to (5769,0,27) [WARNING] IOManager::set_id Override event id for product pixel2d by labels from (5767,99,4975) to (5769,0,27)

(And so on...)

twongjirad commented 7 years ago

@lyates17 whew. I'm glad your ROIs were saved correctly. This is a bug for the pixel labeling. The run,subrun,event seems to be behind by one for the label data.