Comments (2)
Hmm, where did that NodeDef
come from? Are you sure it's actually valid? Can you link me to to the raw protobytes for it so I can examine it?
from tensorflow.jl.
I'm not sure anymore, since I can't reproduce it anymore, sorry. Closing this issue for now, unless it comes up again.
The closest I've come to reproducing the same NodeDef
is in this file:
| | |_| | | | (_| | | Version 0.5.0 (2016-09-19 18:14 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin13.4.0
julia> using TensorFlow; const TF = TensorFlow
TensorFlow
julia> using ProtoBuf
julia> nodedef = open("nodedef.proto") do f
readproto(f, TF.tensorflow.NodeDef())
end
name: hidden1_1/weights
op: Variable
attr {
key: dtype
value {
type: Float32
}
}
attr {
key: shape
value {
shape: [28,128]
}
}
attr {
key: _output_shapes
value {
}
}
attr {
key: shared_name
value {
string:
}
}
attr {
key: container
value {
string:
}
}
julia> dump(nodedef)
TensorFlow.tensorflow.NodeDef
name: String "hidden1_1/weights"
op: String "Variable"
input: Array{AbstractString}((0,))
device: String ""
attr: Dict{AbstractString,TensorFlow.tensorflow.AttrValue}
slots: Array{UInt8}((16,)) UInt8[0x01,0x00,0x01,0x00,0x00,0x01,0x01,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00]
keys: Array{AbstractString}((16,))
1: String "dtype"
2: #undef
3: String "shape"
4: #undef
5: #undef
...
12: #undef
13: #undef
14: #undef
15: #undef
16: #undef
vals: Array{TensorFlow.tensorflow.AttrValue}((16,))
1: TensorFlow.tensorflow.AttrValue
s: #undef
i: Int64 0
f: Float32 0.0
b: Bool false
_type: Int32 1
shape: #undef
tensor: #undef
list: #undef
placeholder: #undef
2: #undef
3: TensorFlow.tensorflow.AttrValue
s: #undef
i: Int64 0
f: Float32 0.0
b: Bool false
_type: Int32 0
shape: TensorFlow.tensorflow.TensorShapeProto
dim: Array{TensorFlow.tensorflow.TensorShapeProto_Dim}((2,))
1: TensorFlow.tensorflow.TensorShapeProto_Dim
size: Int64 28
name: String ""
2: TensorFlow.tensorflow.TensorShapeProto_Dim
size: Int64 128
name: String ""
unknown_rank: Bool false
tensor: #undef
list: #undef
placeholder: #undef
4: #undef
5: #undef
...
12: #undef
13: #undef
14: #undef
15: #undef
16: #undef
ndel: Int64 0
count: Int64 5
age: UInt64 5
idxfloor: Int64 1
maxprobe: Int64 0
which now works fine for me:
julia> TF.Operation(nodedef)
<Operation 'hidden1_1/weights'>
from tensorflow.jl.
Related Issues (20)
- Add docs for Eager mode HOT 1
- Configuration. HOT 1
- Installation fails using latest Conda.jl HOT 2
- Import Frozen Networks from Python? HOT 3
- Using tf.keras with Tensorflow.jl HOT 3
- FYI: Support TF v1.12.2 that "Fixes a potential security vulnerability where carefully crafted GIF images can produce a null pointer dereference during decoding" HOT 3
- Passing a type in `shape` kw argument leads to exciting tensors HOT 1
- Tensorflow 2.0 API branch? HOT 1
- Error installing TensorFlow on Ubuntu HOT 5
- Documentation/Example of Input Pipeline
- Support 2.1.0 and/or 1.15.2 HOT 8
- sefault on julia 1.3-rc5 HOT 1
- PyCall not found error HOT 15
- TensorFlow.jl with Google's Coral board HOT 1
- Release v0.12
- MNIST package not found in the examples
- TF2 and incongruence with TF Dev summit message? HOT 1
- Support for TF 2.3? HOT 2
- Is there a good reason to revive this project? HOT 5
- Feedback on Detected CODE_INJECTION
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.jl.