Skip to content
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 tesing #18

Open
Xiaofeng-life opened this issue Sep 27, 2020 · 2 comments
Open

problems when tesing #18

Xiaofeng-life opened this issue Sep 27, 2020 · 2 comments

Comments

@Xiaofeng-life
Copy link

Hello. I have a problem when testing, error is as follows:
Traceback (most recent call last):
File "test_test.py", line 272, in
offline_eval()
File "test_test.py", line 264, in offline_eval
officialEval(os.path.join(flags.path.model, 'model.ckpt-%d'%(iter_now)))
File "test_test.py", line 198, in officialEval
officialEvalSub(path_txt_test, [flags.path.test_file], 'test', path_model_now)
File "test_test.py", line 186, in officialEvalSub
video_score_mean = video_score/video_frame_count
ZeroDivisionError: float division by zero

@clks-wzz
Copy link
Owner

"video_frame_count" is zero. You should adjust the test file to your own style.

@haiderasad
Copy link

how to add test file and where in test.py? should update documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants