질문과 답변

[퀘스트2] 데이터 없음???
2022. 8. 18 (목) 16:50 dragon 조회 53 좋아요 0 스크랩 0 댓글 2

PS C:\Users\YBLee\PycharmProjects\STM32_Quest_AI_dargon_2022\HAR>  python RunMe.py --dataDir=Log_data
Using TensorFlow backend.
Running HAR on WISDM dataset, with following variables
merge = True                                          
modelName = IGN,                                      
segmentLength = 24                                    
stepSize = 24                                         
preprocessing = True                                  
trainTestSplit = 0.6                                  
trainValidationSplit = 0.7                            
nEpochs = 20                                          
learningRate = 0.0005                                 
decay =1e-06                                          
batchSize = 64                                        
verbosity = 1                                         
dataDir = Log_data                                    
nrSamplesPostValid = 2                                
Segmenting Train data
Segments built : 100%|???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????| 27456/27456 [00:30<00:00, 895.45 segments/s]
Segmenting Test data
Segments built : 100%|??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????| 18304/18304 [00:15<00:00, 1198.84 segments/s] 
Segmentation finished!
preparing data file from all the files in directory  Log_data
parsing data from  IoT01-MemsAnn_03_Oct_19_10h_00m_36s.csv
Warning
No data with required labels was found in the AI logged directory:Log_data
Traceback (most recent call last):
  File "RunMe.py", line 128, in <module>
    TrainX, TrainY, ValidationX, ValidationY, TestX, TestY = myDataHelper.prepare_data()
  File "C:\Users\YBLee\PycharmProjects\STM32_Quest_AI_dargon_2022\HAR\PrepareDataset.py", line 276, in prepare_data
    train_x1, train_y1, validation_x1, validation_y1, test_x1, test_y1 = self.prepare_self_logged_data()
TypeError: cannot unpack non-iterable NoneType object

이미 Log_data 폴더를 만들어서 데이터를 넣었는데도 마지막 단계에서 계속 데이터가 없다고 경고를 하는데  해결책이 있나요?
참고로 디렉토리 구조는 아래와 같이 만들었습니다.

wansoo 2022.08.18 17:20 답글  |  신고
IoT01-MemsAnn_03_*.csv 파일을 다른 걸로 해서 시도해 보시죠..?
dragon 2022.08.19 00:43 신고
댓글
고맙습니다.

로그인 후
참가 상태를 확인할 수 있습니다.