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

Input/output shapes of GANs for sequential data

I am trying to do time series prediction using GANs. I am using MXNet/Gluon. Thus, I have a sequential data of size (N, 1), which I have transformed it into (N-stepsize, stepsize). Now I have a hard time understanding the input out shapes of the…
Dick
  • 1,035
  • 1
  • 8
  • 8
0
votes
1 answer

How to fix this error:"MXNetError: Shape inconsistent, Provided"

I am new to mxnet, I am trying to do this code: from mxnet import nd, sym from mxnet.gluon import nn class HybridNet(nn.HybridBlock): def __init__(self, **kwargs): super(HybridNet, self).__init__(**kwargs) self.hidden =…
chengjun zhang
  • 101
  • 1
  • 1
  • 9
0
votes
1 answer

How to make pycharm use a different cuda toolkit

I want to run an MXNet module in GPU. I have a system which has Ubuntu 18.04 along Cuda 10.0 installed. Apparently this is not covered yet by MXNet binary files so I was focusing on installing 2 cuda versions in my pc (see also here). Anyway I now…
Eypros
  • 5,370
  • 6
  • 42
  • 75
0
votes
1 answer

How to parse mxnet params file into plain text?

I'm trying to use Python to parse mxnet params into plain text. The code looks like the below. But the parsing result is not plain string, but some encoded text looks like this, "... \xaa>\x0f\xed\x8e>\xaf!\x8f>g ..." Could anybody give me some tips…
apepkuss
  • 13
  • 3
0
votes
1 answer

Gluon code not much faster on GPU than on CPU

we're training a network for a recommender system, on triplets. The core code for the fit method is as follows: for e in range(epochs): start = time.time() cumulative_loss = 0 for i, batch in enumerate(train_iterator): #…
Germán Sanchis
  • 629
  • 6
  • 6
0
votes
1 answer

How to fix numpy error in tensorboard in combination with mxnet?

I am trying to learn how to visualize layer activations in a convolutional neural network using MXNet and Tensorboard. When following the tutorial, however, I run into an error that seems to be related to numpy. I followed this…
Ralf Sürig
  • 115
  • 1
  • 4
0
votes
1 answer

Where should I put cblas.h so that my build of mxnet will find it?

I'm trying to install mxnet by cloning a git repository as follows: git clone --recursive https://github.com/dmlc/mxnet However, when I try to build it by dropping into the mxnet directory and running make as follows: make -j $(nproc) USE_OPENCV=1…
user1245262
  • 6,968
  • 8
  • 50
  • 77
0
votes
0 answers

Skip loading CUDA libraries on import mxnet

Is it possible to make "import mxnet" skip loading CUDA libraries when only inference on CPU is intended? Context: MXNet is installed with CUDA support and model trainings are usually run on GPU's however inference can be run in parallel on many…
0
votes
1 answer

mxnet build with intel mkl always throw error "Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll."

os : windows 10 64bits compiler : vc2015 64bits update 3 mxnet : 1.3.1 Building mxnet 1.3.1(mxnet1.4.0 has bugs, can't build it under windows,please check14203 for more details). I can build the mxnet with cpp-package, but when I call the forward…
StereoMatching
  • 4,971
  • 6
  • 38
  • 70
0
votes
1 answer

Speed-up tensorflowjs model

I trained a model using mxnet framework. The inference time for the model is ~ 9 milliseconds. The model mainly consists of conv layers and uses depthwise separable convolution. I want to run that model in browser. I converted the model to ONNX…
Soubhi M. Hadri
  • 133
  • 1
  • 15
0
votes
1 answer

Mxnet with symbol API: batch normalization update

I am currently training a convolutional neural network using Mxnet, with the C++ Symbol API. This network contains some Batchnormalization layers, which contains the four parameter NDArray. Two of them, the moving_mean and moving_variance parameter…
Emile D.
  • 602
  • 2
  • 11
  • 20
0
votes
1 answer

AWS Deeplens with Keras and MXNet Model: ValueError for symbol 'data' not found

I have a CNN model that I made using Keras using MXNet as the backend. I am able to create, train, and export a model without a hitch. However, when I attempted to load this model to the DeepLens, I get the following error: ValueError: [91mYou…
0
votes
1 answer

How can I get mxnet back end code for various functions?

I am trying to understand how the internal flow goes in mxnet when we call forward . Is there any way to get source code of mxnet?
Shubham Tyagi
  • 181
  • 1
  • 3
  • 14
0
votes
1 answer

MXNet-Caret Training and Optimization

I am using MXNet library in RStudio to train a neural network model. When training the model using caret, I can tune (among others) the "momentum" parameter. Is this related with the Stochastic Gradient Descent optimizer? I know that this is the…
0
votes
1 answer

Not able to process some images for face detection using mtcnn mehtod, implemented using mxnet and python

I am trying to process a bunch of images for face recognition. I have several sets of images which I am trying to process, some of them processed fine but in a particular set there are some images which are not able to process and gives this…
sidd
  • 629
  • 10
  • 30