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
3 answers

GluonCV - Use GPU for inference in object detection

I'm using GluonCV for object detection, on Ubuntu 18.04 and with Python. I re-trained the ssd_512_resnet50_v1_custom model on a custom dataset, and I wanted to test the inference FPS on a server with a GeForce RTX 2080 Ti GPU (works fine on my…
Carlo
  • 1,321
  • 12
  • 37
0
votes
1 answer

Amazon Elastic Inference Client Library Logging

I am using mxnet python library for using AWS EIA. When I am binding it with mx.mod.Module, I am getting these messages. Using Amazon Elastic Inference Client Library Version: x.x.xx Number of Elastic Inference Accelerators Available: x Elastic…
0
votes
1 answer

GluonCV, action recognition tutorial error

I've been trying to run the GluonCV tutorial for action recognition. I didn't modify anything, but I'm getting an error at the very beginning of the script, when applying the transformation function to the image. The error is: AttributeError:…
Carlo
  • 1,321
  • 12
  • 37
0
votes
1 answer

MXNet predict not working when model is cached

I have an MXNet MultilayerPerceptron inside a class MyModel. I first load the trained weights from a file. I am performing prediction with the MLP like this: class MyModel: ... def predict(self, X): data_iterator =…
Tyrannas
  • 4,303
  • 1
  • 11
  • 16
0
votes
1 answer

Installing AI::MXNet on Perl 5.24

I am unable to install AI::MXNet module on Perl version > 5.24 using Windows 10 and ubuntu 16. I have tried using ppm install AI::MXNet , cpanm install AI::MXNet and cpan install AI::MXNet. I have attached the error message that is being returned.…
0
votes
0 answers

Converting a trained RGB resnet50 model to grayscale

Is there are direct way to convert a trained RGB resnet50 mxnet model to grayscale. I'm just looking so save some CPU cycles not having to process 3 channels in the the first layer since my input images are grayscale anyway. I'd also like to avoid…
pkuhar
  • 581
  • 6
  • 17
0
votes
1 answer

Multiprocessing in mxnet gpu support

I have a model trained by mxnet gpu support and i load this model on gpu. My problem is that when I multiprocess I get an invalid pointer error.how to do multiprocessing in mxnet gpu support?
Mkg Rty
  • 39
  • 1
  • 4
0
votes
1 answer

Memory leak when running mxnet cpu inference

I tested 100 pictures and the analysis of memory_profiler is listed below. Why does line 308 cause a lot of memory growth? mxnet==1.5.1 Line # Mem usage Increment Line Contents ================================================ 297 8693.719…
xjx0524
  • 1,531
  • 2
  • 10
  • 5
0
votes
1 answer

How to open and select a subset of images from .rec file in python?

I have a folder containing the following files: train.idx, train.rec, property, lfw.bin, cfp_fp.bin, agedb_30.bin This folder contains face images. I have already used ImageRecordIter in the following code. However everytime that I print the first…
sasha
  • 11
  • 2
0
votes
1 answer

AWS SageMaker MXNet USE_CUDA=1

I am using the AWS ml.p2.xlarge sagemaker instance and conda_amazonei_mxnet_p36 kernel after install MXnet CUDA !pip install mxnet-cu101 when I try to run the following code mx_tfidf = mx.nd.sparse.array(tfidf_matrix, ctx=mx.gpu()) I am getting…
0
votes
1 answer

how to load multi .rec file in MXNet?

When I have a .rec file, whenever I need to add new data, I have to pack a new .rec, which is time consuming and wasteful. Is there any way to design an dataiterator to read multiple .rec? thanks!
Wang Yilan
  • 31
  • 3
0
votes
1 answer

Gradient descent for linear regression with mxnet.autograd - performance issues

I implemented a simple gradient descent algorithm for linear regression, using mxnet.autograd. Everything works just fine, but the performance is awful. I'm using vanilla gradient descent and not SGD, but I doubt that's the issue...if I simply use…
Carlo
  • 1,321
  • 12
  • 37
0
votes
1 answer

mxnet gradient descent for linear regression, variable types error

I'm trying to implement a simple gradient descent for linear regression. It works normally if I compute the gradient manually (by using the analytical expression), but now i was trying to implement it with autograd from the mxnet module. This is the…
Carlo
  • 1,321
  • 12
  • 37
0
votes
1 answer

MXNet package installation failure in R

I have been having issues trying to install MXNet in R. I am running the 3.6.1 version of R for which it prompts me saying package ‘mxnet’ is not available (for R version 3.6.1) From this I've been advised to try install the package by using…
0
votes
1 answer

How to convert data(tensor) across different deep learning frameworks directly in gpu without copying to cpu?

For example, I have a cuda tensor in pytorch, how to directly convert it to mxnet/tensorflow in gpu without copying it to cpu? Frequently copying data between cpu and gpu is very time-consuming.
Meta Fan
  • 1,545
  • 2
  • 17
  • 28