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
0
votes
1 answer

Issues with neural net number of rounds with caret ensemble

I'm creating a simple ensemble of two xgboost and mxnet models. The data frame is A3n.df with the classification variable at A3n.df[,1]. Both the models run fine on their own and get believable accuracy. All data is normalized 0-1, shuffled and the…
Garglesoap
  • 565
  • 6
  • 18
0
votes
1 answer

Running model in custom Data Set(2 classes) error in testing phase (MXNet framework)

i am running a model for my own data set(the project was implemented for training/testing with ImageNet) with 2 classes. I have made all the changes (in config files etc) but after training finishes(successfully), i get the following error when…
0
votes
1 answer

Error using mx.mlp from mx.net package r

I have installed the mx.net package in R version 3.4.3 using cran <- getOption("repos") cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/" options(repos = cran) install.packages("mxnet"). Some issues occur while estimating…
Esmee
  • 21
  • 2
0
votes
1 answer

mxnet regression divide by zero error

Try to edit the example of https://mxnet.incubator.apache.org/tutorials/python/linear-regression.html to develop a machine learning solution for solving quadratic equations. I am now getting divide by zero error: INFO:root:Epoch[0]…
FindOutIslamNow
  • 1,169
  • 1
  • 14
  • 33
0
votes
1 answer

Getting Segmentation fault while running tornado app on multiple core

I am running tornado app as given below app = make_app() server = tornado.httpserver.HTTPServer(app) server.bind(8888) server.start(0) # autodetect number of cores and fork a process for each print("server started at port…
chetan dev
  • 611
  • 2
  • 6
  • 16
0
votes
1 answer

Difficulty understanding required matrix layout for mxnet nn

Got a dataframe with columns 2:37 as variables and column one as a binary response variable. mx.set.seed(1234) train.x = data.matrix(A3n.df[,2:37]) train.y = A3n.df[,1] data <- mx.symbol.Variable("data") fc1 <- mx.symbol.FullyConnected(data,…
Garglesoap
  • 565
  • 6
  • 18
0
votes
2 answers

MXNet ML lib C++ segmentation fault on OS X

I have a problem with Apache MXNet machine learning library on OS X. I have been able to run Python version of Lenet, convolutional neural network. I installed these with pip under both Anaconda Python 2.7 and 3.6. conda create -n mxnet27…
Sami Badawi
  • 977
  • 1
  • 10
  • 22
0
votes
1 answer

Error in loading CNN model for text classification prediction

I am very new to Convolutional Neural Network and I basically followed this example: https://mxnet.incubator.apache.org/tutorials/nlp/cnn.html?highlight=convolutional in training my data. Now I run and had the .params and .json file, I was trying…
Yatong
  • 95
  • 1
  • 1
  • 8
0
votes
1 answer

mxnet: parameters are always on CPU

When using mxnet, after building and training a module mod, I called the method mod.get_params() to inspect the weights and bias of the model. However, I found that even if I set the context to mx.gpu(0) when creating the module, the outputs of the…
Runze Mao
  • 1
  • 1
0
votes
1 answer

how to predict test rmse in mxnet graphlab? model.evaluate(dataiter) does not work

import graphlab as gl from graphlab import mxnet as mx # Define the network symbol, equivalent to linear regression net = mx.symbol.Variable('data') net = mx.symbol.FullyConnected(data=net, name='fc1', num_hidden=1) net =…
0
votes
1 answer

Implementing bilinear interpolation with mxnet.ndarray.UpSampling

When I use the function UpSampling (python, mxnet version: 1.0.0) with nearest interpolation, everything goes normal (prints upscaled output shape): nfilters = 16 xx = nd.random_normal(shape=[2,nfilters,64,64],ctx=mx.cpu()) print…
Foivos
  • 545
  • 4
  • 13
0
votes
1 answer

MxNet neural nets won't learn

I'm having trouble making an MLP in MxNet learn. It tends to output fairly constant values, only occasionally outputting anything different. I'm using the Pima Indians dataset to do binary classification, but no matter what I do (normalisation,…
0
votes
1 answer

Implementing contrastive loss function in mxnet

I want to train siamese net using depth image obtaining from kinect.I want to use contrastive loss function to train this network, but I'm not find contrastive loss function in mxnet.My implement is as follow: def LossFunc(distance, label,…
ziwen qin
  • 31
  • 3
0
votes
1 answer

Why does the weight matrix of the mxnet.gluon.nn.Dense object has no shape?

I try to follow this nice MXNet Tutorial. I create an extremely simple neural network (two input unit, no hidden units and one output unit) doing this: from mxnet import gluon net = gluon.nn.Dense(1, in_units=2) After that I try to take a look at…
Roman
  • 124,451
  • 167
  • 349
  • 456
0
votes
1 answer

How many output nodes should my Convolutional Neural Network have?

I am using the Passenger Screening Challenge from the Kaggle website for a class project. I've implemented an out-of-the-box Convolutional Neural Network from this tutorial:…