Skip to content

Hello, I would like to ask why this problem keeps occurring and there is no way to fix it #1

@123456789qwerfds

Description

@123456789qwerfds

Traceback (most recent call last):
File "cutAddPaste.py", line 110, in
train_dl, val_dl, test_dl, test_anomaly_window_num = data_generator(train_data, test_data, train_labels,
File "/data/wxc/CutAddPaste-main/dataloader/dataset.py", line 83, in data_generator
train_aug_x = cut_add_paste_outlier(train_origin, configs)
File "/data/wxc/CutAddPaste-main/dataloader/generate_negative.py", line 162, in cut_add_paste_outlier
cut_data[:, item] += slope
ValueError: operands could not be broadcast together with shapes (8,) (16,) (8,)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions