(cuts) [acfozxhek4@ae1510f9a80c scripts_analysis]$ python run_metrics.py --config ../../config/Tongue_seed2023.yaml
Computing the metrics in a single experiment.
0%| | 0/300 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/work/home/acfozxhek4/UnsupervisedMedicalSeg/src/scripts_analysis/run_metrics.py", line 578, in
range_aware_ssim(label_true=hashmap[p1],
File "/work/home/acfozxhek4/UnsupervisedMedicalSeg/src/scripts_analysis/../utils/metrics.py", line 43, in range_aware_ssim
data_range = label_true.max() - label_true.min()
TypeError: numpy boolean subtract, the -
operator, is not supported, use the bitwise_xor, the ^
operator, or the logical_xor function instead.
(cuts) [acfozxhek4@ae1510f9a80c scripts_analysis]$ python run_metrics.py --config ../../config/Tongue_seed2023.yaml
Computing the metrics in a single experiment.
0%| | 0/300 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/work/home/acfozxhek4/UnsupervisedMedicalSeg/src/scripts_analysis/run_metrics.py", line 578, in
range_aware_ssim(label_true=hashmap[p1],
File "/work/home/acfozxhek4/UnsupervisedMedicalSeg/src/scripts_analysis/../utils/metrics.py", line 43, in range_aware_ssim
data_range = label_true.max() - label_true.min()
TypeError: numpy boolean subtract, the -
operator, is not supported, use the bitwise_xor, the ^
operator, or the logical_xor function instead.
I encountered this error when using my own dataset.