Questions tagged [mxnet.jl]

6 questions
5
votes
1 answer

How to get a gradient node with mxnet.jl and Julia?

I'm trying to replicate the following example from the mxnet main docs with mxnet.jl in Julia: A = Variable('A') B = Variable('B') C = B * A D = C + Constant(1) # get gradient node. gA, gB = D.grad(wrt=[A, B]) # compiles the gradient function. f =…
Bernhard Kausler
  • 5,119
  • 3
  • 32
  • 36
3
votes
0 answers

How to use Conv1d with MXNet.jl or Flux in Julia?

I've tried to translate the Conv1d Python Keras example from: https://machinelearningmastery.com/cnn-models-for-human-activity-recognition-time-series-classification into Julia using mxnet.jl and Flux packages. I was able to train the model but with…
Piotr De
  • 157
  • 8
2
votes
1 answer

Problem installing MXNet.jl using Julia1.2 in UBUNTU 16.04

I am having some trouble installing "MXNet.jl" package in julia. 1) I first tryed typing: (v1.2) pkg> add MXNet and I get this: (v1.2) pkg> add MXNet Updating registry at `~/.julia/registries/General` Updating git-repo…
GEBRU
  • 495
  • 2
  • 11
1
vote
0 answers

MXNet regression example in Julia fails

Running the code for regression-example.jl fails with the following error: MethodError: no method matching (::MXNet.mx.var"#5784#5785")(::Float64, ::NDArray{Float32,1}) Closest candidates are: #5784(::Any) at…
sophros
  • 14,672
  • 11
  • 46
  • 75
1
vote
1 answer

Understand the example for Simple 3-layer MLP using MXNet in Julia

I have a basic understanding of neural networks. I understand that there should be a y matrix (expected result) which stores 0 or 1 corresponding to different category labels. As an example, for digit recognition, if the number to be identified is…
Abhishek Kishore
  • 340
  • 2
  • 13
1
vote
1 answer

How to help iJulia notebook find an externally compiled library

I am trying to run a compiled version of mxnet in an iJulia notebook, but when I execute the command using MXNet, I get the follow error: InitError: error compiling __init__: error compiling _populate_symbol_creator_cache!: error compiling…
ultradian
  • 581
  • 5
  • 20