Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ message(STATUS "${PROJECT_NAME} repository tag: ${GIT_REPOSITORY_TAG}")
install_source(LIST RepositoryTag)

# these are minimum required versions, not the actual product versions
find_package( protobuf REQUIRED )
find_package( art REQUIRED )
find_package( art_root_io REQUIRED )
find_package( artdaq_core REQUIRED )
Expand Down
3 changes: 2 additions & 1 deletion sbndcode/Commissioning/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
add_subdirectory(fcls)

include_directories(${HEP_HPC_INCLUDE_DIRS})
include_directories($ENV{OPENMPI_INCLUDE_DIR})
set(
MODULE_LIBRARIES
larcorealg::Geometry
Expand Down
5 changes: 3 additions & 2 deletions sbndcode/SBNDCVN/tf/tf_graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@

#include "tf_graph.h"

#include "tensorflow/cc/saved_model/bundle_v2.h"
#include "tensorflow/cc/saved_model/constants.h"
#include "tensorflow/cc/saved_model/loader.h"
#include "tensorflow/cc/saved_model/tag_constants.h"
#include "tensorflow/core/platform/env.h"

#include "tensorflow/core/public/session_options.h"
Expand Down Expand Up @@ -51,7 +52,7 @@ tf::Graph::Graph(const char* graph_file_name,
status = tensorflow::LoadSavedModel(tensorflow::SessionOptions(),
tensorflow::RunOptions(),
graph_file_name,
{tensorflow::kSavedModelTagServe},
{},
fBundle);
std::cout << "tf_graph loaded SavedModelBundle with status: " << status.ToString() << std::endl;
if (!status.ok()) return;
Expand Down
2 changes: 1 addition & 1 deletion test/ci/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ install_scripts(AS_TEST)

install_fhicl()

install(FILES fcl_file_checks.list DESTINATION "${sbndcode_UPS_PRODUCT_NAME}/${sbndcode_UPS_PRODUCT_VERSION}/test")
install(FILES fcl_file_checks.list DESTINATION "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/${PROJECT_VERSION}/test")