Skip to content

Commit 0c51888

Browse files
authored
Merge pull request #10430 from panyx0718/infer
Add comment to explain how to run inference test
2 parents bb3247e + 9fccf46 commit 0c51888

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

paddle/fluid/inference/tests/book/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ function(inference_test TARGET_NAME)
2424
endforeach()
2525
endfunction(inference_test)
2626

27+
####################
28+
# Inference tests here depend on fluid/tests/book. If users want to run
29+
# individual test with ctest, they need to run tests in fluid/tests/book
30+
# first to generate saved model.
31+
####################
2732
# This unittest is buggy!
2833
#inference_test(fit_a_line)
2934
inference_test(image_classification ARGS vgg resnet)

0 commit comments

Comments
 (0)