Skip to content

RealDataHASC Failure #4

@H0key-22

Description

@H0key-22

I met
2025-06-07 10:58:41.943218: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
person101
Traceback (most recent call last):
File "/root/autodl-tmp/AutoCPD/test/RealDataHASC.py", line 64, in
result = labelSubject(subject_path, length, size, num_trim=100)
File "/root/miniconda3/envs/tf_gpu/lib/python3.10/site-packages/autocpd/utils.py", line 428, in labelSubject
return {"cp": cp_ind, "ts": ts_ind, "label": label_ind}
UnboundLocalError: local variable 'cp_ind' referenced before assignment
when I run the RealDataHASC.py.
Do I need to supplement the csv in the HASC Demo?

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