Skip to content

Commit

Permalink
Merge pull request #10430 from panyx0718/infer
Browse files Browse the repository at this point in the history
Add comment to explain how to run inference test
  • Loading branch information
panyx0718 committed May 7, 2018
2 parents bb3247e + 9fccf46 commit 0c51888
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions paddle/fluid/inference/tests/book/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ function(inference_test TARGET_NAME)
endforeach()
endfunction(inference_test)

####################
# Inference tests here depend on fluid/tests/book. If users want to run
# individual test with ctest, they need to run tests in fluid/tests/book
# first to generate saved model.
####################
# This unittest is buggy!
#inference_test(fit_a_line)
inference_test(image_classification ARGS vgg resnet)
Expand Down

0 comments on commit 0c51888

Please sign in to comment.