Hello,
I have trained an autocontext workflow in Ilastik that properly outputs stage1 and stage2 probabilities on Windows (run through GUI), but when I run the same .ilp file in headless mode on a Linux server the stage1 probabilities are correct and the stage2 probabilities look strange and have odd ranges.
I have 5 classes in both stage1 and stage2 for a total of 10 output channels. When I examine the Linux .h5 output file and print the channel index, max and min per channel, I find:
0 max, min:
1.0 0.0
1 max, min:
1.0 0.0
2 max, min:
1.0 0.0
3 max, min:
1.0 0.0
4 max, min:
1.0 0.0
5 max, min:
0.0010306347 9.972058e-05
6 max, min:
0.073952764 0.0068365945
7 max, min:
0.17684516 0.016430637
8 max, min:
0.21699436 0.020667035
9 max, min:
0.9559661 0.53117704
Where 5-9 are the stage2 channels.
My command line is:
run_ilastik.sh --headless --export_source="probabilities all stages" --readonly True --output_format="hdf5" --pipeline_result_drange="(0,1)" --export_drange="(0,1)" --output_filename_format={dataset_dir}/server_all_prob_hdf5/{nickname}.h5 --project=/<path_to_data>/kidney_he_x2p5_2stage_peb10841.ilp /<path_to_data>/*.tif
I made the model in Ilastik 1.3.3_post3 on Windows and am running it in 1.3.3_post3 on the server as well. I’ll see if selecting only “probabilities stage2” as a workaround avoids the issue but it would be nice to be able to get both stage1 and stage2 probability output working. Thanks!