Wifi_Activity_Recognition
Wifi_Activity_Recognition copied to clipboard
Issues in cross_vali_data_convert_merge.py
Just to make sure that I'm doing this right:
I switched this:
To this:
Since I was getting this error message:
Also, do I need to run this code in order to see your data 'PCA_STFT_visualize.ipynb' in jupyter notebook or can I already visualize it? Any help is appreciated, Thanks!
Hi, @AV-Coding Thank you for trying out my code. When does this error be shown? While "bed" data is processing? or another activity?
This happens when I start the script cross_vali_data_convert_merge.py
. It no longer happens though since it seems like when Dataset
is unzipped, it creates a data
folder.
Hi,I have encountered the same problem. Have you solved it?
Traceback (most recent call last):
File "./test_wu/cross_vali_data_convert_merge.py", line 109, in
Thanks!
@beyond96 , I have also encountered this problem. But I just change the variables of "filepath1" and "filepath2" to the correct path of dataset on my computer.
@AV-Coding You can try as follows: Find the code " y[k/slide_size,:] = np.array([0,1,0,0,0,0,0,0]) " in file "cross_vali_data_convert_merge.py" Change all the / to // (I think the contributor just forget the / results in float in python ) At last you can open terminal in the folder to run "python ./cross_vali_data_convert_merge.py "