------ Computing k ------
Traceback (most recent call last):
File "d:/HuaweiMoveData/Users/ANJIAQI/Desktop/code/SoftNet-SpotME-main/main.py", line 63, in
main(config)
File "d:/HuaweiMoveData/Users/ANJIAQI/Desktop/code/SoftNet-SpotME-main/main.py", line 32, in main
k = cal_k(dataset_name, expression_type, final_samples)
File "d:\HuaweiMoveData\Users\ANJIAQI\Desktop\code\SoftNet-SpotME-main\load_label.py", line 98, in cal_k
N=total_duration/len(samples)
ZeroDivisionError: division by zero
------ Computing k ------ Traceback (most recent call last): File "d:/HuaweiMoveData/Users/ANJIAQI/Desktop/code/SoftNet-SpotME-main/main.py", line 63, in
main(config)
File "d:/HuaweiMoveData/Users/ANJIAQI/Desktop/code/SoftNet-SpotME-main/main.py", line 32, in main
k = cal_k(dataset_name, expression_type, final_samples)
File "d:\HuaweiMoveData\Users\ANJIAQI\Desktop\code\SoftNet-SpotME-main\load_label.py", line 98, in cal_k
N=total_duration/len(samples)
ZeroDivisionError: division by zero
总是出现这个错误,应该如何解决