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

Cannot install Keras MXNet without CUDA support on a machine with GPUs

I am explicitly trying to install a version of mxnet WITHOUT CUDA support. When installing with cuda support I could run this example here. I am following the keras & mxnet installation guide here. Steps to reproduce successful CUDA-enabled…
OneRaynyDay
  • 3,658
  • 2
  • 23
  • 56
0
votes
1 answer

Some problems encountered when using deconvolution

the version of mxnet is 0.9, I use the Deconvolution operator base on resnet-50 for instance segmentation, but after dealing with several batch, the program breaks down, the error message is [17:36:55]…
sfy
  • 1
0
votes
1 answer

MXNET reshape calling ctypes

Here trying to learn MXNET with “The Straight Dope”. On Linear Algebra - Tensors, I get ctypes error when running, X = nd.arange(24).reshape((2, 3, 4)) The error is, C:\Anaconda2\lib\site-packages\mxnet\ndarray\ndarray.pyc in reshape(self, *shape,…
Mosy
  • 175
  • 1
  • 1
  • 9
0
votes
1 answer

Application crashes after I change the mxnet model

Problem I have tried to replace the Mxnet models in WhatsThis with my own Caffe models that I ported to Mxnet with https://github.com/Microsoft/MMdnn . When I run the application, I get a white screen with no elements and the application crashes.…
0
votes
1 answer

Python failure on mod.bind()

Description Index type must be set for one_hot operator, but I do not find where or how to set it. Environment info ----------Python Info---------- Version : 3.6.5 Compiler : GCC 7.2.0 Build : ('default', 'Apr 29 2018 16:14:56') Arch…
0
votes
1 answer

"Live updates" when training a machine learning model in r shiny

I am currently developing an user interface based on R markdown and shiny to make it easy to execute a machine learning training process for other users not proficient in R. This training process is done by a custom built function around the R…
Kurt
  • 5
  • 4
0
votes
1 answer

Manipulating nn.Dense() layer parameters manually in MxNet

I'm trying to implement my own optimization algorithm for MxNet (Imperative / Gluon) that does not use gradients. My question is pretty simple is there a simple way to create new nn.Dense(...) layer initialized with parameters (i.e. Biases and…
Lu4
  • 14,873
  • 15
  • 79
  • 132
0
votes
1 answer

MXnet - ImageRecordIter and data augmentation for ROI-Pooling enabled CNN

How can I perform data augmentation when I use ROI-Pooling in a CNN network which I developed using MXnet ? For example suppose I have a resnet50 architecture which uses a roi-pooling layer and I want to use random-crops data augmentation in the…
obelix
  • 880
  • 2
  • 16
  • 43
0
votes
1 answer

mxnet scala use one_hot params error

object LoadTest1 { def main(args: Array[String]): Unit = { var b = NDArray.array(Array(1, 2, 3), shape = Shape(1, 3)) //var c = b.copy() val a = NDArray.one_hot(Map("indices" -> NDArray.array(Array(1f, 2f, 3f), shape = Shape(1, 3)), …
Guox Duan
  • 11
  • 3
0
votes
2 answers

importing mxnet in python window 10 using intellj

when i import mxnet using import mxnet as mx in intellij (python) then compier generate error OSError: [WinError 126] The specified module could not be found" and shows trackcall shows line 1 "import mxnet as mx" in test.python mxnet…
Ali Hassan
  • 39
  • 1
  • 12
0
votes
1 answer

single mangement system covers several ML frameworks

Question: is there any open source project which covers all ML framework management in a single system? Scenario Description: in some education scenario, many studies and teachers would like to use different ML frameworks such as Tensorflow, Caffe,…
0
votes
1 answer

Is there any side effect by using ‘Sequential()’ or ‘HybridSequential()’ as a container only?

I am reading a tutorial about MxNet. The writers use ‘mxnet.gluon.nn.Sequential()’ as a container to store some blocks (see code 1); then, they rewrite the connection of blocks in ‘def forward(self, x)’ (see codes 2 and 3). Is there any side effect…
Blue Bird
  • 318
  • 2
  • 9
0
votes
1 answer

The built-in VGG16 network in MxNet is not working

I would like to test the trained built-in VGG16 network in MxNet. The experiment is to feed the network with an image from ImageNet. Then, I would like to see whether the result is correct. However, the results are always error! Hi, how stupid the…
Blue Bird
  • 318
  • 2
  • 9
0
votes
1 answer

When forward using MXNet, how to do with varying 'batch size' in data_shapes?

Hi,I have a question that, how can I make predict with unfixed input data? I will try to describe in detail clear: I use MTCNN for face detection(it's ok unfamiliar with that), and it employs 3 networks: PNet, RNet, ONet. PNet detects a mass of…
庹宇翔
  • 13
  • 5
0
votes
1 answer

How to calculate bincount in mxnet

I am trying to implement my customer layer for neural network using mxnet. I was wondering if there is a function in mxnet similar to np.bincount. If not, is there a way I can calculate it without having to convert my mx.ndarray to numpy?
deepAgrawal
  • 673
  • 1
  • 7
  • 25