Comments (1)
This is still an issue for this case
input_data = placeholder(Int32, shape=[20, 20])
embedding = get_variable("embedding", [10000, 200], Float32)
inputs = gather(embedding, input_data)
inputs = TensorFlow.split(1, 20, inputs)
20-element Array{TensorFlow.Tensor,1}:
Error showing value of type Array{TensorFlow.Tensor,1}:
ERROR: BoundsError: attempt to access 1-element Array{TensorFlow.ShapeInference.TensorShape,1} at index [2]
in getindex(::Array{TensorFlow.ShapeInference.TensorShape,1}, ::Int64) at ./array.jl:386
in get_shape(::TensorFlow.Tensor) at /local/home/fredrikb/.julia/v0.5/TensorFlow/src/shape_inference.jl:81
in show(::IOContext{Base.AbstractIOBuffer{Array{UInt8,1}}}, ::TensorFlow.Tensor) at /local/home/fredrikb/.julia/v0.5/TensorFlow/src/core.jl:711
in #sprint#304(::IOContext{Base.Terminals.TTYTerminal}, ::Function, ::Int64, ::Function, ::TensorFlow.Tensor, ::Vararg{TensorFlow.Tensor,N}) at ./strings/io.jl:35
in (::Base.#kw##sprint)(::Array{Any,1}, ::Base.#sprint, ::Int64, ::Function, ::TensorFlow.Tensor, ::Vararg{TensorFlow.Tensor,N}) at ./<missing>:0
in alignment(::IOContext{Base.Terminals.TTYTerminal}, ::Array{TensorFlow.Tensor,1}, ::Array{Int64,1}, ::Array{Int64,1}, ::Int64, ::Int64, ::Int64) at ./show.jl:1278
in print_matrix(::IOContext{Base.Terminals.TTYTerminal}, ::Array{TensorFlow.Tensor,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./show.jl:1406
in print_matrix(::IOContext{Base.Terminals.TTYTerminal}, ::Array{TensorFlow.Tensor,1}, ::String, ::String, ::String) at ./show.jl:1378
in #showarray#330(::Bool, ::Function, ::IOContext{Base.Terminals.TTYTerminal}, ::Array{TensorFlow.Tensor,1}, ::Bool) at ./show.jl:1617
in display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::MIME{Symbol("text/plain")}, ::Array{TensorFlow.Tensor,1}) at ./REPL.jl:132
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.