ContrastiveLearningHAR
ContrastiveLearningHAR copied to clipboard
Bug in the get_windows_dataset_from_user_list_format function during preprocessing
I've observed a bug in this function - if n_windows = 1 due to a large window size, then np.squeeze will make user_dataset_windowed[user_id][0] a number with dimension 0 rather than a numpy array, and that will break the preprocessing script.