You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Example {
public static void main(String[] args) throws Exception {
final Session session = new Session(new SessionOptions());
GraphDef def = new GraphDef();
tensorflow.ReadBinaryProto(Env.Default(),
"somedir/trained_model.proto", def);
Status s = session.Create(def);
if (!s.ok()) {
throw new RuntimeException(s.error_message().getString());
}
}
}
====
OS is mac 10.13.1
The text was updated successfully, but these errors were encountered:
Stack: [0x00007000050c3000,0x00007000051c3000], sp=0x00007000051bdc00, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsystem_c.dylib+0x1432] strlen+0x12
C [libtensorflow_cc.so+0x22790fa] perftools::gputools::internal::DsoLoader::GetDsoHandle(tensorflow::StringPiece, void**, perftools::gputools::internal::DsoLoader::LoadKind)+0x11a
C [libtensorflow_cc.so+0x2278f4c] perftools::gputools::internal::DsoLoader::GetCublasDsoHandle(void**)+0xcc
C [libtensorflow_cc.so+0x227b022] std::__1::__function::__func<tensorflow::Status ()(void**), std::__1::allocator<tensorflow::Status ()(void**)>, tensorflow::Status (void**)>::operator()(void**&&)+0x12
C [libtensorflow_cc.so+0x227a7cf] perftools::gputools::internal::CachedDsoLoader::FetchHandleResult(std::__1::function<tensorflow::Status (void**)>)+0x2f
C [libtensorflow_cc.so+0x227a6af] perftools::gputools::internal::CachedDsoLoader::GetCublasDsoHandle()+0x6f
C [libtensorflow_cc.so+0x22053c2] perftools::gputools::initialize_cublas()+0xf2
====
====
public class Example {
public static void main(String[] args) throws Exception {
final Session session = new Session(new SessionOptions());
GraphDef def = new GraphDef();
tensorflow.ReadBinaryProto(Env.Default(),
"somedir/trained_model.proto", def);
Status s = session.Create(def);
if (!s.ok()) {
throw new RuntimeException(s.error_message().getString());
}
}
}
====
OS is mac 10.13.1
The text was updated successfully, but these errors were encountered: