Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No method matching Array error #18

Open
shirish93 opened this issue Dec 4, 2016 · 1 comment
Open

No method matching Array error #18

shirish93 opened this issue Dec 4, 2016 · 1 comment

Comments

@shirish93
Copy link

Hello,

I ran into the following error while running train.sh. Would you have any ideas what I might have gotten wrong? I realize this project is likely wayyy past its support lifetime, so it's understandable if it's not worth debugging : ). I'm trying to compare Adagram Vs Word2Vec for synonym for my grad NLP final project but without it I'll skip on Adagram.

ERROR: LoadError: MethodError: no method matching Array{T,N}(::Base.#RemoteRef, ::Int64)
Closest candidates are:
Array{T,N}{T}(!Matched::Type{T}, ::Int64) at boot.jl:330
Array{T,N}{T}(!Matched::Type{T}, ::Int64, !Matched::Int64) at boot.jl:331
Array{T,N}{T}(!Matched::Type{T}, ::Int64, !Matched::Int64, !Matched::Int64) at boot.jl:332
...
in #inplace_train_vectors!#18(::Int64, ::Float64, ::Void, ::Float64, ::Bool, :: Int64, ::Float64, ::Float64, ::AdaGram.#inplace_train_vectors!, ::AdaGram.Vector Model, ::AdaGram.Dictionary, ::String, ::Int64) at /h/user/.julia/v0.5/AdaGr am/src/gradient.jl:152
in (::AdaGram.#kw##inplace_train_vectors!)(::Array{Any,1}, ::AdaGram.#inplace_t rain_vectors!, ::AdaGram.VectorModel, ::AdaGram.Dictionary, ::String, ::Int64) a t ./:0
in include_from_node1(::String) at ./loading.jl:488
in process_options(::Base.JLOptions) at ./client.jl:262
in _start() at ./client.jl:318
while loading /h/user/julia/train.jl, in expression starting on line 105

My knowledge of Julia is very limited, so I am unable to do much debugging. Could this be related to the fact that I'm running Julia directly without having installed it to the system? (

@ecamaj
Copy link

ecamaj commented Jan 8, 2017

Please look at this issue: #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants