Giter Site home page Giter Site logo

knetml / mac-network Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 4.0 29.87 MB

Memory, Attention and Composition (MAC) Network for CLEVR implemented via KnetLayers

License: MIT License

Julia 86.28% Shell 0.94% Jupyter Notebook 12.79%
attention clevr deep-learning julia knet machine-learning machine-reasoning nlp vqa

mac-network's People

Contributors

denizyuret avatar ekinakyurek avatar feyzaakyurek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mac-network's Issues

Package HDF5 not found in current path

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.

Can't get this working

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?

Package versions in Manifest may not be compatible with Julia 1.1

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.