Open HLKunn opened 2 years ago
CK+: 2021-12-06 08:03:03.795587: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll 100%|██████████| 8/8 [00:00<00:00, 534.32it/s] 0%| | 0/981 [00:00<?, ?it/s] Traceback (most recent call last): File "E:/人工智能应用技术/大作业/FacialExpressionRecognition/src/LBP.py", line 200, in evaluate_lbp(1, 3, 3) File "E:/人工智能应用技术/大作业/FacialExpressionRecognition/src/LBP.py", line 126, in evaluate_lbp res = LBP().get_lbp(x[i]) File "E:/人工智能应用技术/大作业/FacialExpressionRecognition/src/LBP.py", line 56, in get_lbp mat = image[i widx: (i + 1) widx, j widy: (j + 1) widy] TypeError: 'NoneType' object is not subscriptable
Process finished with exit code 1
CK+: 2021-12-06 08:03:03.795587: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll 100%|██████████| 8/8 [00:00<00:00, 534.32it/s] 0%| | 0/981 [00:00<?, ?it/s] Traceback (most recent call last): File "E:/人工智能应用技术/大作业/FacialExpressionRecognition/src/LBP.py", line 200, in
evaluate_lbp(1, 3, 3)
File "E:/人工智能应用技术/大作业/FacialExpressionRecognition/src/LBP.py", line 126, in evaluate_lbp
res = LBP().get_lbp(x[i])
File "E:/人工智能应用技术/大作业/FacialExpressionRecognition/src/LBP.py", line 56, in get_lbp
mat = image[i widx: (i + 1) widx, j widy: (j + 1) widy]
TypeError: 'NoneType' object is not subscriptable
Process finished with exit code 1