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

mxnet throws no errors when binding the wrong context

I wish to see exactly which cpu or gpu my mxnet program is running, so I add a print self._ctx at the source code of executor.py. Then I bind the executor with gup(10), but no error was thrown since I only have one gpu in my computer. Can someone…
Hallazie
  • 11
  • 3
1
vote
1 answer

Inception - mxnet model

I am new to image classification. I am trying to solve a problem on kaggle using mxnet in python. I was trying to run a script code which is one of the solutions for that problem. Code was like…
neha
  • 49
  • 6
1
vote
1 answer

Multi-task learning network structure design

I'm trying to do text classification using CNN. Here's some of my label: dog, cat, bird, football, basketball... As these classes are somehow too fine-grained to have good precision, plus the relatively small amount of training data, I group them…
zihaolucky
  • 196
  • 1
  • 11
1
vote
2 answers

Feed Mxnet Rec to Tensorflow

I have created Mxnet Rec data through Im2rec. I would like to feed this into Tensorflow. Is it possible ? and How would i do that? Any idea ?
Ashwin Raju
  • 155
  • 4
  • 12
1
vote
1 answer

how can jump from python to c++ in mxnet

Now i am reading source code in mxnet. The code about reading data is that train_dataiter = mx.io.MNISTIter().And I found the class MNISTIter: public IIterator {}is implenmented in src/io. How can it jump from python to c++?I have wondered how…
刘米兰
  • 183
  • 2
  • 11
1
vote
1 answer

fail to install mxnet in ios (El Capitan) and run python (2.7) examples

I have tried to run install Mxnet deeplearning framework but I failed because of the following error when I tried to run the python example, and I could not find the best treatment in the web. MacBook-Pro-4:mxnet chinhiroshi$ python…
1
vote
1 answer

Using MXNet pre-trained image classification model in Python

I am trying to archieve everything described for R in Python 3. But so far, I am not getting any further. The tutorial in R is described here: http://mxnet.readthedocs.org/en/latest/R-package/classifyRealImageWithPretrainedModel.html How can I do…
www.data-blogger.com
  • 4,076
  • 7
  • 43
  • 65
0
votes
0 answers

Error in training YOLOv3 model with custom dataset using Gluon CV: TBlob.get_with_shape mismatch

I'm currently training a YOLOv3 model on a custom dataset using the script from Gluon CV's GitHub repository. Here's the link to the script: https://github.com/dmlc/gluon-cv/blob/master/scripts/detection/yolo/train_yolo3.py. During training, I…
courage
  • 806
  • 1
  • 8
  • 9
0
votes
0 answers

KerasMXNet using Python 3.7 or 3.8

Our team is into deep learning and uses kerasmxnet (a really old and deprecated package: https://github.com/awslabs/keras-apache-mxnet). The package is today limiting us to Python 3.6 and I am trying to upgrade us to 3.7 or even 3.8 if possible. I’m…
user2103008
  • 414
  • 7
  • 19
0
votes
0 answers

Q Learning, wrong matrix shape for calculation

I'm trying to adapt the Q learning example from https://github.com/lanking520/RL-FlappyBird to play a different game, Pathery. When calculating Q, I get an error about shape mismatch. (QAgent.java L95) NDList QReward = trainer.forward(preInput); …
0
votes
0 answers

"ImportError: cannot import name _LIB ", mxnet Error

I'm using conda environment with python 2.7.18 and a couple of neccessary packages installed for running a pre-written code. While executing the code, I face this error: Traceback (most recent call last): File…
Z.M.
  • 1
  • 2
0
votes
2 answers

Adding and regular np.array

I have a loss variable that is returned after forward path, made of 4 "sub-losses" such as : print(my_loss) > Loss: [0.37887186 0.4668851 0.4145702 0.506646 ] I would like to sum all losses by epoch, while keeping the…
Jouline
  • 90
  • 7
0
votes
1 answer

What is the version of MXNet for CUDA 12.0?

I am running a neural net of gpu cloud platform with 4 GPUs A100.When I run the code for training I am getting this error: MX call MXNDArrayCreateEx failed... MXNetError: Compile with USE_CUDA=1 to enable GPU usage From the support suggested couple…
0
votes
1 answer

Difference when setting as framework"'image-classification" and framework="mxnet' in AWS Sagemaker?

I am using AWS Sagemaker to perform image classification. My understanding is that Sagemaker would use MXNet for image classification by default.(based on the answer Sagemaker multi-model endpoints with unsupported built-in algorithms) Would someone…
Daesung
  • 13
  • 3
0
votes
3 answers

How do I denormalize L2-Normalized Data in MXNet?

I normalized my Data with the built in L2Normalization from MXNet ndarray. Since I want to know the actual value of the prediction I have to denormalize the data to analyze it properly. For normalization I used: mx.nd.L2Normalization(x,…