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

Create mxnet.ndarray.NDArray from pycuda.driver.DeviceAllocation

I am trying to pass output of some pycuda operation to the input of mxnet computational graph. I am able to achieve this via numpy conversion with the following code import pycuda.driver as cuda import pycuda.autoinit import numpy as np import mxnet…
Victor Proon
  • 271
  • 1
  • 2
  • 16
0
votes
1 answer

Efficiently accessing arbitrary NDArray batches in mxnet

Fitting convnets such as Resnet and VGG benefits from the ImageRecordIter python class, that allows efficiently loading batches from large collections of RGB images stored in RecordIO .rec files, Does anybody know about equivalent facilities for…
Pierrick Bruneau
  • 147
  • 1
  • 10
0
votes
1 answer

OSError: [WinError 126] Cannot find the specified module

When I import mxnet package in PyChram, I met an OSError which I've never met before, and I don't know how to solve it. Here's the error information: Traceback (most recent call last): File…
0
votes
1 answer

MXNet installation fails on python in windows 8.1 with platform.architecture == ('WindowsPE','64bit')

On python3 the error stack is: >>> import mxnet Traceback (most recent call last): File "", line 1, in File "C:\Python36\lib\site-packages\mxnet\__init__.py", line 24, in from .context import Context, current_context, cpu, gpu,…
Emil
  • 629
  • 2
  • 7
  • 24
0
votes
1 answer

How to understand the speed numbers in log of SageMaker image classification example

I am playing around the SageMaker example for Caltech Image Classification notebook: link. I followed the steps in the notebook but changed the resource section to use ml.p3.16xlarge which has 8 V100 GPU's as follows: "ResourceConfig": { …
skyuuka
  • 605
  • 1
  • 6
  • 22
0
votes
1 answer

What's the right way to customize the Optimizer in Keras with colocate_gradients_with_ops=True?

I have my workload partitioned on two GPUs (aka, model partitioning). By default, TF/Keras allocates all the gradients on GPU0 but I want to use the colocate_gradients_with_ops to spread the allocation across two GPU. I'm looking for a simple way…
auro
  • 1,079
  • 1
  • 10
  • 22
0
votes
1 answer

docker Illegal instruction(core dumped) when import mxnet from the image ufomy/deepo

I used docker and deepo from this website: https://github.com/ufoym/deepo#GPU, When I start the container, I can import all the frameworks (tensorflow, caffe, pytorch)except mxnet. I don't know why. What should I do? The error can be seen from this…
AnnaYin
  • 1
  • 4
0
votes
2 answers

"OSError: [WinError 126] The specified module could not be found" while importing mxnet library

After installing below packages on Windows 8.1 CPU 64-bit using conda command: "conda install mxnet", I am getting error (OSError: [WinError 126] The specified module could not be found) while importing mxnet library. Packages installed:…
0
votes
1 answer

MXNet - Dot Product of Sparse Matrices

I'm in the process of building a content recommendation model using MXNet. Despite being ~10K rows, out of memory issues are thrown with CPU and GPU contexts in MXNet. The current code is below. ``` import mxnet as mx import numpy as np import…
Greg
  • 29
  • 2
  • 4
0
votes
1 answer

mxnet training loss never changes but accuracy oscillates

I am using mxnet to train a VQA model, the input is (6244,) vector and the output is a single label During my epoch, the loss never change but the accuracy is oscillating in a small range, the first 5 epochs are Epoch 1. Loss: 2.7262569132562255,…
Litchy
  • 355
  • 1
  • 4
  • 18
0
votes
0 answers

Inception Model mxnet on Raspberry Pi: fix an unknown activation type error?

I'm trying to implement the Inception model on a Raspberry Pi using mxnet, and getting an error that I haven't been able to unravel: "unknown activation type". I successfully installed opencv, mxnet, and all dependencies. I'm running a short python…
DJP_123
  • 1
  • 1
0
votes
1 answer

OSError: [WinError 126] The specified module could not be found importing mxnet in Pycharm

I am using Pycharm, importing mxnet to the project I think I meet a file loss error but I could not find the solution Traceback (most recent call last): File "C:/E/ZJL_Test_package/ZJL_Test/feature/extract_image.py", line 1, in from…
Litchy
  • 355
  • 1
  • 4
  • 18
0
votes
1 answer

What does ''Failed to allocated to CPU memory" mean in MXNet?

It is weird that no such questions yet on stackoverflow. I am using MXNet, trying to run the VQA example on my PC, using mx.io.DataIter to read the data, but mxnet.base.MXNetError: [11:05:07]…
Litchy
  • 355
  • 1
  • 4
  • 18
0
votes
1 answer

resnet-binary model in BMXnet to train my own data, but get float weights not binary weights

I have used the resnet-binary model in BMXnet to train my own data, but get float weights not binary weights. Why? The parameter of the network Load the trained model and use model.get_params()
0
votes
1 answer

mxnet-mkl Floating point exception (core dumped) in CPU Intel(R) Xeon(R) CPU E5-26xx v4

i used command "pip install mxnet-mkl" ,when i import mxnet get Floating point exception (core dumped) import mxnet Floating point exception (core dumped) more detail https://github.com/apache/incubator-mxnet/issues/12105 anybody…
zhengjie
  • 11
  • 2