Comments (3)
Got the following error from gdb/lldb:
* thread #1: tid = 0xe373d, 0x0000000106e73cb1 libtensorflow.so`tensorflow::NodeBuilder::NodeOut::NodeOut(tensorflow::Node*, int) + 33, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x98)
* frame #0: 0x0000000106e73cb1 libtensorflow.so`tensorflow::NodeBuilder::NodeOut::NodeOut(tensorflow::Node*, int) + 33
frame #1: 0x0000000106e74e8d libtensorflow.so`void std::__1::vector<tensorflow::NodeBuilder::NodeOut, std::__1::allocator<tensorflow::NodeBuilder::NodeOut> >::__emplace_back_slow_path<tensorflow::Node* const&, int const&>(tensorflow::Node* const&&&, int const&&&) + 253
frame #2: 0x0000000106e7420b libtensorflow.so`tensorflow::NodeBuilder::Input(tensorflow::Node*, int) + 91
frame #3: 0x00000001022302a4 tensorflow.node`TensorflowNode::Operation::AddInput(info=0x00007fff5fbfe118) + 250 at operation.cc:245 [opt]
frame #4: 0x000000010222c67c tensorflow.node`Nan::imp::FunctionCallbackWrapper(info=0x00007fff5fbfe190) + 137 at nan_callbacks_12_inl.h:174 [opt]
frame #5: 0x000000010017b0c2 node`v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) + 466
frame #6: 0x00000001001e6eef node`v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) + 911
frame #7: 0x00000001001e6449 node`v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) + 281
from tensorflow-nodejs.
Ah, this is because the all ops only can accept the Operation
as its inputs except for graph.constant
, passing a Tensor
causes this problem @zihan-git
from tensorflow-nodejs.
BTW, may I ask you to fix this problem by checking the type of input and make always be an operation for ops like the following?
if (input instanceof tensorflow.Tensor) {
input = this.constant(input);
}
from tensorflow-nodejs.
Related Issues (20)
- API: renaming const and import HOT 1
- use cpplint for cpp with travis CI HOT 1
- PMR: attempting to use uninitialized value Variable
- ThrowStatusError() would drop the message of status
- Import all ops by TF_GetAllOpList
- PMR: initial values for parameters/variables
- [Error] Library not loaded: bazel-out/darwin_x86_64-opt/bin/tensorflow/libtensorflow.so HOT 3
- Error: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-win32-x86_64-1.2.1.tar.gz Not Found HOT 3
- Image.decodeJpeg HOT 1
- Could not locate the bindings file HOT 6
- WebAssembly HOT 1
- looking for sample with simple image identification according to model and labels HOT 3
- model save in model.ckpt file
- 支持GPU吗? HOT 1
- node > python > C wrapper ? HOT 1
- No support for your platform win32 HOT 1
- discussion: move repo to nodejs-tensorflow org HOT 8
- proto path to load fails HOT 2
- npm prebuild issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-nodejs.