Questions tagged [mxnet]

Apache MXNet is a fast, scalable, open source deep learning framework that supports Python, R, Scala, C++, Julia, Go, and Javascript. MXNet can run on multiple CPUs and multiple GPUs distributed across multiple hosts, with almost linear scalability.

Apache MXNet: Flexible and Efficient Library for Deep Learning

For more details see http://mxnet.io/

Flexible

Supports both imperative and symbolic programming

Portable

Runs on CPUs or GPUs, on clusters, servers, desktops, or mobile phones

Multiple Languages

Supports over 7 programming languages, including C++, Python, R, Scala, Julia, Matlab, Javascript and Perl.

Auto-Differentiation

Calculates the gradient automatically for training a model

Distributed on Cloud

Supports distributed training on multiple CPU/GPU machines, including AWS, GCE, Azure, and Yarn clusters

Performance

Optimized C++ backend engine parallelizes both I/O and computation

701 questions
1
vote
2 answers

mxnet cannot LoadLegacyJSON

I have been trying to compile the prediction API using the amalgamation but when I try to use the library I get the following error: mxnet/nnvm/src/core/pass.cc:30: Check failed: reg != nullptr Cannot find pass LoadLegacyJSON in the registry here is…
dabhand
  • 517
  • 3
  • 10
1
vote
1 answer

Can we use spacy with MXnet

Can we use spacy with MXnet to build a deep neural network(NLP) We are building an application using mxnet. How to use spacy with Mxnet
1
vote
1 answer

mxnet or keras why they have different results?

I have my own dataset. I want to do a classification task. But I built same symbol network in Mxnet and Keras. Even the optimizer rules are same. But the results are different. my Mxnet code is here: and results: it looks like ramdon? But my…
Luv
  • 263
  • 3
  • 9
1
vote
1 answer

Neural networks example using MXNet in Julia

I'm trying to build a neural network that can answer to the xor problem. My code is the following: using MXNet using Distributions using PyPlot xor_data = zeros(4,2) xor_data[1:0] = 1 xor_data[1:1] = 1 xor_data[2:0] = 1 xor_data[2:1] =…
1
vote
1 answer

can't predict in mxnet 0.94 for R

I have been able to use nnet and neuralnet to predict values in a conventional backprop network, but have been strugling to do the same with MXNET and R for many reasons. This is the file (simple CSV with headers, columns have been…
David
  • 55
  • 7
1
vote
1 answer

mod.predict gives more columns than expected

I am using MXNet on IRIS dataset which has 4 features and it classifies the flowers as -'setosa', 'versicolor', 'virginica'. My training data has 89 rows. My label data is a row vector of 89 columns. I encoded the flower names into number -0,1,2 as…
Abhishek Kishore
  • 340
  • 2
  • 13
1
vote
1 answer

Permission denied in distributed Mxnet training

I am working on MXNet, a library for deep learning. My implemented structure is in both single machine and distributed CPU machines. I followed the tutorial on the MXNet official site. The implementation on single machine was running without any…
1
vote
1 answer

How to map softMax output to labels in MXNet

In Deep learning the predictions are often encoded using one hot vector. I am using MXNet for creating a simple Neural Network which classifies images of animals as cats,dogs,horses etc. When I call the Predict method of MXNet it returns me a…
Abhishek Kishore
  • 340
  • 2
  • 13
1
vote
1 answer

Running Alexnet using MxNet

I am trying to play with the alexnet code in the /mxnet/example/image-classification/symbols directory using MxNet Framework. I am not an expert in AI. Can some explain explain how to run it using GPUs? I have tried the following for single…
1
vote
1 answer

How is the index of label determined in MXNet

I am trying to understand the Handwritten Digit recognition for MXNet in python here The code which creates the training data and label data is shown below: def read_data(label_url, image_url): with gzip.open(download_data(label_url)) as flbl: …
Abhishek Kishore
  • 340
  • 2
  • 13
1
vote
3 answers

Import mxnet error in python windows10

I installed mxnet in python in windows. >>> import mxnet There is a mistake. Traceback (most recent call last): File "", line 1, in File "d:\Anaconda2\lib\site-packages\mxnet-0.7.0- py2.7.egg\mxnet\__init__.py", line 7,…
Y.Weng
  • 33
  • 5
1
vote
1 answer

How can I extract the filters learned in a Convolution layer?

I have a Convolution layer in my R code, created as: conv1 <- mx.symbol.Convolution(data=data, kernel=c(10,1), num_filter=10) Once the net is fully trained, how can I extract the 10 filters?
Dan
  • 11
  • 3
1
vote
1 answer

Unable to understand char-lstm example in MXNET for Julia

I am trying to understand the char lstm example mentioned here - char-lstm julia example Function lstm_cell accepts the second parameter as previous state - function lstm_cell(data::mx.SymbolicNode, prev_state::LSTMState,…
Abhishek Kishore
  • 340
  • 2
  • 13
1
vote
1 answer

mxnet binary operations only work in one direction

I am trying to port some mxnet code from python. I am running into an issue with simple binary operations on symbols. I have a self-contained reproducible example below: library(mxnet) data <- mx.symbol.Variable('data') x <-…
Zelazny7
  • 39,946
  • 18
  • 70
  • 84
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