Closed KingNoctis closed 3 years ago
Can I ask you about the issue? Have you fix the error out? If you've done, can you tell me what to do? I'm facing the same problem like you did before.
Hi there, sorry I do not remember if I fixed this problem or not, it has been a long time...but I would suggest you to try https://github.com/ludlows/CSI-Activity-Recognition, this one uses tf2.0 and it works for me. Good luck
------------------ Original ------------------ From: "ermongroup/Wifi_Activity_Recognition" @.>; Date: Sun, Nov 28, 2021 03:04 PM @.>; @.>;"State @.>; Subject: Re: [ermongroup/Wifi_Activity_Recognition] Issues in cross_vali_data_convert_merge.py (#32)
Can I ask you about the issue? Have you fix the error out? If you've done, can you tell me what to do? I'm facing the same problem like you did before.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks for your answering! I'll try it.
Hello, while I was trying to run cross_vali_data_convertmerge.py, the process of reading the csv files starts with 'input' is okay, but error occurs when reading the csv files starts with 'annotation'. The details of this error is shown below, thank you in advance if you could help me out! All the best!
input_file_name= ./Dataset/Data/input_bed_170309_1201_19.csv input_file_name= ./Dataset/Data/input_bed_170321_1325_20.csv annotation_file_name= ./Dataset/Data/annotation_bed_170308_1405_01.csv Traceback (most recent call last): File "cross_vali_data_convert_merge.py", line 106, in
x, y = dataimport(filepath1, filepath2)
File "cross_vali_data_convert_merge.py", line 88, in dataimport
y[k/slide_size,:] = np.array([2,0,0,0,0,0,0,0])
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indices.