-
Notifications
You must be signed in to change notification settings - Fork 1
Description
作者您好,这是一项非常好的工作,非常感谢您的分享!在看见您的论文的第一时间,我就选择了复现了您这项工作,但存在一些问题,在Train and test for the second stage中test on trainSet and get the uncertainty-filterd pseudo-label时的前the testing case: patient010_frame13数据没有任何问题,往后就会出现Traceback (most recent call last):
File "/home/zlj/workspace/wha/DMSPS-master/code/test/test_2d_forall_fast_txtver_forTrainSetUncertaintyOnly_Mean.py", line 304, in
Inference(FLAGS, test_save_path)
File "/home/zlj/workspace/wha/DMSPS-master/code/test/test_2d_forall_fast_txtver_forTrainSetUncertaintyOnly_Mean.py", line 268, in Inference
metric_singleEval = test_single_volume_2d_forTrainUncertainty(image_path, net, test_save_path, FLAGS, uncertainty_path_save)
File "/home/zlj/workspace/wha/DMSPS-master/code/test/test_2d_forall_fast_txtver_forTrainSetUncertaintyOnly_Mean.py", line 177, in test_single_volume_2d_forTrainUncertainty
organ_max = get_the_first_k_largest_components(pred_uncertainty_unanotated == lab_ind, 1)# input binary map
File "/home/zlj/workspace/wha/DMSPS-master/code/test/uttils.py", line 54, in get_the_first_k_largest_components
output = output + np.asarray(labeled_array == max_i_label, np.uint8)
ValueError: operands could not be broadcast together with shapes (256,208) (2,) 这样的错误,想知道作者有没有出现过类似的问题,为什么会出现这样的问题,该如何解决,方便之余能否解惑一二,期待您的回复。