knetml / mac-network Goto Github PK
View Code? Open in Web Editor NEWMemory, Attention and Composition (MAC) Network for CLEVR implemented via KnetLayers
License: MIT License
Memory, Attention and Composition (MAC) Network for CLEVR implemented via KnetLayers
License: MIT License
I got this on a fresh install:
ArgumentError: Package HDF5 not found in current path:
- Run `import Pkg; Pkg.add("HDF5")` to install the HDF5 package.
Hello, I am really struggling with this notebook.
I have tried setups using windows 10; centos 7 Ubuntu on virtual box and fedora on Virtual box.
I have tried the Knet AMI in Ohio region and I have tried fedora and ubuntu deep learing AMIs as well.
The problem is that if I use a Linux that works with Knet (amazon or fedora or even centos) then they don't have libz.so.1.2.9 or later, so ImageMagick will fail - the julia Libld will use /lib64 to find it and I can't figure out how to change that so that it uses a local path.
On Ubuntu amis there is a KNet test fail in conv.jl which seems to cause the notebook to blow up at
results,prediction,interoutputs = singlerun(Mrun,feat,question;p=o[:p],selfattn=o[:selfattn],gating=o[:gating]);
(segmentation fault)
Can you say exactly the config that you are using to get this to work ? I saw it demoed at CSAIL so I know it does! Or can you give me the tip that will let me reset the Libld to use the right Libz?
I get the following error in cell 5:
Error encountered while loading "/mnt/efs/comp541/MAC-Network/data/demo/CLEVR_v1.0/images/val/CLEVR_val_013382.png".
Fatal error:
rethrow(exc) not allowed outside a catch block
Stacktrace:
[1] rethrow(::InitError) at ./error.jl:52
[2] handle_error(::InitError, ::FileIO.File{FileIO.DataFormat{:PNG}}) at /home/ec2-user/.julia/packages/FileIO/lt9I0/src/error_handling.jl:80
[3] handle_exceptions(::Array{Any,1}, ::String) at /home/ec2-user/.julia/packages/FileIO/lt9I0/src/error_handling.jl:75
[4] #load#27(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}) at /home/ec2-user/.julia/packages/FileIO/lt9I0/src/loadsave.jl:193
[5] load(::FileIO.File{FileIO.DataFormat{:PNG}}) at /home/ec2-user/.julia/packages/FileIO/lt9I0/src/loadsave.jl:172
[6] #load#13(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at /home/ec2-user/.julia/packages/FileIO/lt9I0/src/loadsave.jl:118
[7] load(::String) at /home/ec2-user/.julia/packages/FileIO/lt9I0/src/loadsave.jl:118
[8] top-level scope at In[5]:1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.