LArbys / LArCV

Liquid Argon Computer Vision
11 stars 9 forks source link

[CRITICAL] <MultiROICropper::process> MultiROICropper.cxx::L50 EventImage2D size 0 <= target channel 0 #88

Closed twongjirad closed 7 years ago

twongjirad commented 7 years ago

Running ssnet_example on tufts cluster on new tagger output.

[NORMAL]  <IOManager::get_data> Created TTree partroi_croimerge_tree (id=24) w/ 0 entries...
[NORMAL]  <IOManager::get_data> Created TTree image2d_tpc_tree (id=25) w/ 0 entries...

[CRITICAL] MultiROICropper.cxx::L50 EventImage2D size 0 <= target channel 0 Traceback (most recent call last): File "pyana.py", line 94, in in_proc.process_entry(event_counter,True) TypeError: none of the 2 overloaded methods succeeded. Full details: bool larcv::ProcessDriver::process_entry(unsigned long entry, bool force_reload = false) => (C++ exception of type larcv::larbys) bool larcv::ProcessDriver::process_entry() => takes at most 0 arguments (2 given) Failed with return code 256 Error occurred! cleaning...

twongjirad commented 7 years ago

Duh. The producer name for the images were wrong.

drinkingkazu commented 7 years ago

The error message is explicitly complaining about zero size image array. So I don't think it has to do with ROI for this particular error message. This is either the producer label being wrong or serious bug that made empty Image2DArray.

vgenty commented 7 years ago

I think the image2d producer name is wrong

Created TTree image2d_tpc_tree... makes me thing ssnet is looking for "tpc" producer for EventImage2D.

in pyana_in*.cfg I changed the image producer to run on my own input-to-tagger LArCV file

vgenty commented 7 years ago

dang @drinkingkazu beat me

drinkingkazu commented 7 years ago

ha, yes when available I suggest we look at complaints made from code, like we should respect compiler error/warning messages :)

twongjirad commented 7 years ago

heh. sorry guys, this shouldn't have been an issue. I thought I would do a better job of tracking bugs as a way to provide hints for future users. But this issue is just due to my stupidity.