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
6
votes
2 answers

Getting OSError: libnccl.so.2 while importing mxnet

My configurations are: gpu: Nvidia GeForce MX450 with 2GB Graphics Card Cuda version: 10.1 MxNet Version: mxnet-cu101: 1.8.0 While trying to mxnet using import mxnet I am getting the following error: OSError: libnccl.so.2: cannot open shared object…
Labiba Kanij
  • 301
  • 2
  • 13
5
votes
1 answer

Predicting locally with a model trained on Sagemaker

I have trained a model on AWS SageMaker by using the built-in algorithm Semantic Segmentation. This trained model named as model.tar.gz is stored on S3. So I want to download this file from S3 and then use it to make inference on my local PC without…
min2bro
  • 4,509
  • 5
  • 29
  • 55
5
votes
1 answer

Where can I find a pre-trained variational autoencoder that's trained on natural images?

Does anyone know a pre-trained variational autoencoder (VAE) or a VAE-GAN that's trained on natural images? I have been searching for a variational autoencoder that is trained on natural images (e.g. ImageNet) where I can extract latent features…
Lynn Le
  • 113
  • 2
  • 8
5
votes
1 answer

Hadoop streaming job using Mxnet failing in AWS Emr

I have setup an emr step in AWS datapipeline. The step command looks like this:…
ishan3243
  • 1,870
  • 4
  • 30
  • 49
5
votes
1 answer

Using im2rec in MXnet to create dataset with png images

I am trying to follow the example here and create my own dataset for training using MXnet. My data is organized as specified in the example: /data yes/ file1.png file2.png ... no/ file1.png file2.png …
TravisJ
  • 1,592
  • 1
  • 21
  • 37
5
votes
1 answer

How do you concatenate symbols in mxnet

I have 2 symbols in MXNet and would like to concatenate them. How can i do this: eg: a = [100,200], b = [300,400], Id like to get c = [100,200,300,400]
Karishma Malkan
  • 2,069
  • 1
  • 16
  • 14
5
votes
1 answer

MXNet print intermediate symbol values

How do i find the actual numerical values held in an MXNet symbol. Suppose I have, x = mx.sym.Variable('x') y = mx.sym.Variable('y') z = x + y, if x = [100,200] and y=[300,400], I want to print: z = [400,600], sort of like tensorflow's eval()…
Karishma Malkan
  • 2,069
  • 1
  • 16
  • 14
5
votes
1 answer

How to change layers in pretrained model in Mxnet

I have a pre-trained Mxnet model. I need to change last two layers and add new two layers for testing. Basically, I need to create a probability map of the image. How can i do that ?
Ashwin Raju
  • 155
  • 4
  • 12
5
votes
1 answer

How to get a gradient node with mxnet.jl and Julia?

I'm trying to replicate the following example from the mxnet main docs with mxnet.jl in Julia: A = Variable('A') B = Variable('B') C = B * A D = C + Constant(1) # get gradient node. gA, gB = D.grad(wrt=[A, B]) # compiles the gradient function. f =…
Bernhard Kausler
  • 5,119
  • 3
  • 32
  • 36
5
votes
1 answer

How to make a smooth kernel in Convolution Neural Networks with MXNet framework?

My datasets is MNIST, and ML library is MXNet I used the CNN algorithm to practice ML. Then I found the reference tutorial, page 6 and 7. I guess the default kernel is all '1' instances in a matrix (kernel in MXNet). How to make the smoothly kernel…
Husky
  • 542
  • 5
  • 22
4
votes
1 answer

MXNet parameter serialisation with numpy

I want to use a pre-trained MXNet model on s390x architecture but it doesn't seem to work. This is because the pre-trained models are in little-endian whereas s390x is big-endian. So, I'm trying to use…
Masquerade
  • 3,580
  • 5
  • 20
  • 37
4
votes
1 answer

Assertion 'GDK_IS_DISPLAY (display)' failed - Cannot decide type for the following arguments: data

I'm doing a vehicle tracking and counting program. I encounter an error when I try to run this block of code: import mxnet import gluoncv as gcv import cv2.cv2 as cv2 import matplotlib.pyplot as plt import math import numpy as np import…
chocolatte
  • 352
  • 4
  • 15
4
votes
1 answer

How to See the details of Models Trained by Autogluon?

I am just trying my hand in automated model training via Amazon Autogluon based on Mxnet, especially, TabularPrediction. It is indeed training several models such as Catboost, LightGBM etc. based on the training data and dumping the models into a…
Della
  • 1,264
  • 2
  • 15
  • 32
4
votes
1 answer

Python virtualenv setuptools package issue

Using virtualenv with -p python2 While installing pip install gluoncv it errors out with following error Requirement already satisfied: setuptools in ./mxv16_p2/lib/python2.7/site-packages (45.0.0) ERROR: Package 'setuptools' requires a different…
Chaitanya Bapat
  • 3,381
  • 6
  • 34
  • 59
4
votes
1 answer

Puzzling mxnet performance under Python vs Mathematica

I compared mxnet performance between Mathematica and Python and observe more than an order of magnitude performance differences and would like advises on how to improve performance under Python. My NN is an MLP for regression, with 3 float inputs,…
Yves Poissant
  • 147
  • 1
  • 10
1
2
3
46 47