-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems when testing. #19
Comments
The main problem is that the Thanks for your help in advance. |
Maybe the dataset is not correctly written, so that the length of dataloader(test_input_fn) is zero. Please check it. |
@clks-wzz @eesaeedkarimi @clks-wzz I would like to know about the test score, in the util_test_OULU_Protocol_1.py the Testscor.txt, file can you please tell me about that text file? how to generate those text files. it will be a great help for my studies hope for a reply thank you |
When I run
test.py
and changeisOnline
toFalse
the following error occurs:File "/media/saeed/New Volume/PAD/Codes/FAS-SGTD/fas_sgtd_multi_frame/test.py", line 284, in
offline_eval()
File "/media/saeed/New Volume/PAD/Codes/FAS-SGTD/fas_sgtd_multi_frame/test.py", line 275, in offline_eval
officialEval(os.path.join(flags.path.model, 'model.ckpt-%d'%(iter_now)))
File "/media/saeed/New Volume/PAD/Codes/FAS-SGTD/fas_sgtd_multi_frame/test.py", line 205, in officialEval
officialEvalSub(path_txt_dev, [flags.path.dev_file], 'dev', path_model_now)
File "/media/saeed/New Volume/PAD/Codes/FAS-SGTD/fas_sgtd_multi_frame/test.py", line 195, in officialEvalSub
fid.write(video_name_encode + ',' + str(video_score_mean) + '\n')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Process finished with exit code 1
Please help to fix it. Thanks.
The text was updated successfully, but these errors were encountered: