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

making a pre-trained mxnet network fully convolutional

I wish to convert one of the existing pre-trained mxnet models available here to a fully convolutional one. This means being able to input an image of any size, specifying the stride, and getting a full output. For instance, assume the model was…
zuuz
  • 859
  • 1
  • 12
  • 23
1
vote
1 answer

Rscript.exe is getting hang after the execution of R script from file using mxnet package

Rscript.exe is getting hang without closing console after the execution of R script using mxnet package.Can anyone suggest to close the console after the execution
Anandan M
  • 31
  • 5
1
vote
1 answer

mx.viz.plot_network, cannot plot resnet

guys, I download resnet-152 from this url: http://data.mxnet.io/models/imagenet-11k/resnet-152/ Then, I try to plot this resnet with 152 layers in this way: import mxnet as mx sym, arg_params, aux_params = mx.model.load_checkpoint('resnet-152',…
tsuifrank
  • 11
  • 2
1
vote
2 answers

Mxnet iterator (NDArrayIter) shuffling happens once?

When enabling the shuffle of the data using a NDArrayIter, do you know is the shuffling happens once at the beginning, or the data is re-shuffled at the end of each epoch? Many thanks!
HALMTL
  • 39
  • 3
1
vote
1 answer

Running Ptr-Net on MXNet

We have a Ptr-Net model that we want to run. Can the MXNet be useful for this scenario. If not, what are the other libraries that we can use to run Ptr-Net models? We are building a Ptr-Net model using TensorFlow as of now.
Murali
  • 11
  • 1
1
vote
1 answer

Mxnet MNIST training example returns almost constant rmse

I did a little modification to the fit.py mxnet python example file (image-classification) by adding the rmse loss: # evaluation metrices eval_metrics = ['accuracy'] eval_metrics.append('rmse') Then running the MNIST training example, one can…
HALMTL
  • 39
  • 3
1
vote
1 answer

mxnet: is there's a way to monitor, in the call back, the learning rate value?

For debugging purpose, I would like to monitor in my fit callback func the learning rate value to make sure my mx.lr_scheduler.MultiFactorScheduler does the job as expected. Unfortunately the learning rate does not seem the be accessible in the…
HALMTL
  • 39
  • 3
1
vote
1 answer

How bind to names in MXNET mx.io.internal.arrayiter() output?

I rewrote an example available here (link to data in document) https://github.com/dmlc/mxnet/blob/master/example/recommenders/demo1-MF.ipynb library(mxnet) DF <- read.delim("./data/ml-100k/u.data", header=F) names(DF) <- c("user", "item", "score",…
p2004r
  • 95
  • 6
1
vote
1 answer

Error using my own python data iterator in mxnet

I am trying to create my own data iterator to use with mxnet. When I run it I get the error : Traceback (most recent call last): File "train.py", line 24, in batch_end_callback = mx.callback.Speedometer(batch_size, 1) # output progress for…
Tal Darom
  • 1,379
  • 1
  • 8
  • 26
1
vote
1 answer

What is the optimum hardware requirements to run MXNET smoothly

I am using my MacBookPro. I am trying to run the mxnet python demo code and the execution time is extremely slow. It takes a lot time to execute the code. Is this normal? Also i want to run mxnet on Raspberry Pi 3.
1
vote
1 answer

How to use im2rec in MXnet to create my own dataset

In windows 10, I followed the step-by-step MXnet tutorial to use im2rec.py to create a dataset. I created a image list file like this: integer_image_index \t label_index \t path_to_image Next, I modified .txt to .lst. Finally, I executed the…
Y.Weng
  • 33
  • 5
1
vote
1 answer

Mxnet on mobile GPU

I want to run a Neural Network on mobile. Currently, I am exploring Mxnet (http://mxnet.io) framework for deploying it (only for Inference). As I am concerned about the execution time performance on mobile, I want to know if it runs on the GPU of…
Ruppesh Nalwaya
  • 1,409
  • 2
  • 14
  • 22
1
vote
1 answer

mxnet standard installation error

I want to config the config.mkfile to use the cuda. I modified these options: USE_CUDA = 1 ADD_LDFLAGS = /usr/local/cuda-8.0/lib64 ADD_CFLAGS = /usr/local/cuda-8.0/lib64 USE_CUDA_PATH = /usr/local/cuda USE_CUDNN = 1 USE_NVRTC = 1 while I run make…
Ghrua
  • 6,746
  • 5
  • 17
  • 25
1
vote
1 answer

Pass additional constructor arguments to custom layer in MXNet

I'm using the CustomOp class in MXNet to create a new transformation layer. This layer has output_dimensionality as a hyper-parameter for the layer. This dimensionality can't automatically be inferred from the data, but needs to be chosen by the…
Leopd
  • 41,333
  • 31
  • 129
  • 167
1
vote
1 answer

Error running deep learning image classification example with Mxnet library on Python

I am trying to run the this image classification example that uses Mxnet library in python and the pre-trained deep learning model Inception-BN. The execution throws and error on this line: prob = model.predict(batch)[0] with the error…
nest
  • 1,385
  • 1
  • 15
  • 34