Skip to content

Commit

Permalink
Fixed CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
cypof committed Oct 17, 2014
1 parent 2c9abcb commit f5af8fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/caffe/test/test_imports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ImportsTest : public MultiDeviceTest<TypeParam> {
}

virtual void InitNet() {
string file = CMAKE_SOURCE_DIR "caffe/test/test_data/module.prototxt";
string proto =
"name: 'TestNetwork' "
"layers: { "
Expand All @@ -56,7 +57,7 @@ class ImportsTest : public MultiDeviceTest<TypeParam> {
" name: 'import' "
" type: IMPORT "
" import_param { "
" net: 'src/caffe/test/test_data/module.prototxt' "
" net: '" + file + "' "
" var { name: 'num_output' value: '1000' } "
" } "
"} "
Expand Down

0 comments on commit f5af8fb

Please sign in to comment.