SoftNet-SpotME icon indicating copy to clipboard operation
SoftNet-SpotME copied to clipboard

The k-value problem

Open ANGLE404 opened this issue 10 months ago • 1 comments

------ 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

总是出现这个错误,应该如何解决

ANGLE404 avatar Apr 06 '24 06:04 ANGLE404

It seems that the length of samples is zero. Could you please verify that the dataset is in its original form?

genbing99 avatar Apr 21 '24 01:04 genbing99

Closing due to inactivity.

genbing99 avatar May 25 '24 07:05 genbing99