Skip to content

Conversation

@chengduoZH
Copy link
Collaborator

Error:

Traceback (most recent call last):
  File "fluid/mnist.py", line 167, in <module>
    run_benchmark(cnn_model, args)
  File "fluid/mnist.py", line 155, in run_benchmark
    test_avg_acc = eval_test()
  File "fluid/mnist.py", line 89, in eval_test
    accuracy.reset(exe)
NameError: global name 'accuracy' is not defined

Copy link
Owner

@dzhwinter dzhwinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we need to simplify the inference API. It's too complicated.

@dzhwinter dzhwinter merged commit 06d40d0 into dzhwinter:master Dec 18, 2017
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

Successfully merging this pull request may close these issues.

2 participants