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

In GluonTS, how to get the feature importance of every timestep, when using the TemporalFusionTransformer model?

Im using the MXNet implementation of the TFT model, and I want to get the feature importance for every timestep from the trained model. Unfortunately, there is no such implemented functionwhich would satisfy my demand. According to the original…
NeverSayEver
  • 103
  • 1
  • 7
0
votes
1 answer

How to do a weighted pooling in Mxnet?

I want to do a 2d convolutional operation that uses same 1x2x4 weight on every channel. (Note: the input height & width are bigger than our kernel, so I can't just use a dot product.) How can I do this is mxnet? I tried to use the same instance of a…
Anonymous
  • 4,692
  • 8
  • 61
  • 91
0
votes
1 answer

How to move entire net parameters from gpu to cpu?

My net parameters have been initialized on gpu but I want to move them to cpu. I've tried copying net as a whole: net = net.as_in_context(mx.cpu()) # obviously doesn't work As well as setting individual parameters: for param in…
Anonymous
  • 4,692
  • 8
  • 61
  • 91
0
votes
1 answer

Can't load onnx model converted from mxnet

I'm trying to launch model R100 (mxnet) from here: https://github.com/deepinsight/insightface/tree/master/model_zoo I converted it to onnx with that: sym = './model-symbol.json' params = './model-0000.params' input_shape = (1,3,112,112) onnx_file =…
Dmitry
  • 160
  • 9
0
votes
0 answers

Warning: This notebook was not authored by Google How to determine whether safe to run?

I am a newbie to Colabs and want to work through this tutorial on Linear Algebra There is a snippet !pip install -U mxnet-cu101==1.7.0 and another from mxnet import np, npx npx.set_np() x = np.array(3.0) y = np.array(2.0) x + y, x * y, x / y,…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
0
votes
1 answer

Getting exception when code runs but no when code is being debugged on DJL

I am using DJL as a wrapper library for Numpy in Java to perform complex operations on matrices and I am having issues while trying to perform an NDArray#any() call. I am creating a matrix from a serie of operations and then I want to test if it…
sbd2
  • 79
  • 1
  • 11
0
votes
1 answer

Intel warp shuffle dose not support width != warp_size , while compiling the MXNet ResNet_18 model

while compiling the MXNet ResNet_18 model for the Intel integrated graphics, using the below command: target = tvm.target.intel_graphics() relay.build_module.build(mod, target, params=params) getting error: File "./source/intrin_rule_opencl.cc",…
Remi_TRish
  • 193
  • 1
  • 8
0
votes
0 answers

How to resolve the AttributeError: 'NoneType' object has no attribute 'CONTENT_TYPE'

I am working on a recommendation engine by using MXNET on Sagemaker by following a tutorial. After executing the following cell I am getting the AttributeError: 'NoneType' object has no attribute 'CONTENT_TYPE' test_preds= [] for array in…
0
votes
1 answer

ModuleNotFoundError: No module named 'mxnet.contrib.amp' When importing gluonnlp

I have the following versions of mxnet==1.4.0 and gluonnlp==0.9.1 installed using pip. However when I run the following codeimport gluonnlp as nlp it yields the following error ModuleNotFoundError: No module named 'mxnet.contrib.amp' So I try to…
The Singularity
  • 2,428
  • 3
  • 19
  • 48
0
votes
1 answer

ValidationError: Graph must be in single static assignment (SSA) form, however 'layer1_0_relu0_fwd' has been used as output names multiple times

When converting MXNet i3d_resnet50_v1_custom model to onxx I got an error like this: ValidationError: Graph must be in single static assignment (SSA) form, however 'layer1_0_relu0_fwd' has been used as output names multiple times. onxx version I…
Aslam-Ep
  • 61
  • 5
0
votes
1 answer

Why PyCharm not running the same code as run in shell?

I have a strange behavior today. When I am running my mxnet model load program in PyCharm it gives : terminate called after throwing an instance of 'dmlc::Error' what(): [14:21:09]…
Prometheus
  • 105
  • 1
  • 2
  • 8
0
votes
1 answer

How to call a custom mxnet operator in DJL (Deep Java Library)?

How do I call a custom mxnet operator from DJL? E.g. the my_gemm operator from the examples.
Christoph Henkelmann
  • 1,437
  • 1
  • 12
  • 17
0
votes
0 answers

Error installing package mxnet in r 4.0.3 on Mac

I need to install the package MXNET on a Mac OS. I have tried install.packages("mxnet") and get the following error Warning in install.packages : unable to access index for repository…
Mary
  • 153
  • 1
  • 2
  • 10
0
votes
2 answers

Running GluonCV object detection model on Android

I need to run a custom GluonCV object detection module on Android. I already fine-tuned the model (ssd_512_mobilenet1.0_custom) on a custom dataset, I tried running inference with it (loading the .params file produced during the training) and…
Carlo
  • 1,321
  • 12
  • 37
0
votes
0 answers

Why the pip command for installing MXNET on Windows is not working/not installing properly?

I was trying to install the mxnet framework for d2l, using the instructions provided in the documentation at https://d2l.ai/chapter_installation/index.html# . But for whatever reason when I run the command for the GPU version of mxnet: pip install…