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

module mxnet has no attribute nd

I am trying to use gluonts library. I installed gluonts 0.12.2 and when I try to import gluonts it says 'module mxnet has no attribute nd'. mxnet was installed by dependence with version 1.6.0. I am using macos, m1 pro. how can I solve this…
1
vote
1 answer

The mxnet's cpp package reports error when #include regarding dmlc/base.h

I would like to use the cpp package of mxnet. So what I did was initially to download the mxnet files from the related github repository. Then I did the following: cd mxnet mkdir build cd build cmake -DUSE_CPP_PACKAGE=1 .. cmake --build .…
Stathis G.
  • 145
  • 2
  • 11
1
vote
0 answers

is there any python code to disable the mxnet console logs while executing the face detector and face encoder models

Mxnet framework producing console logs while model loading and inferences of face model. Please find below the console logs which is producing while executing the python code. [12:26:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by…
1
vote
1 answer

MXNET - How to add dropout layer to ResNet_v1 pretrained model

I am trying to finetune a pretrained model in mxnet: ResNet50_v1. This model does not have dropout and I would like to add it to avoid overfitting and make it look similar to the last layers of I3D_Resnet50_v1_Kinetics400. I tried to do the…
Beatriz
  • 33
  • 4
1
vote
0 answers

During use gluoncv and mxnet, gpu is not working

Version I used: python 3.6.5 mxnet 1.5.0 cuda 9.2 (I also installed cuda 11.4 and cudnn 8.2.4 because I checked cmd and my NVIDIA used it) cudnn 7.6.5 window10 64bit Question: I used mxnet and gluoncv for image segmentation and gpu problem occured…
Green Lee
  • 11
  • 2
1
vote
0 answers

Example of LSTMCell usage in MXNet

I'm trying to make use of LSTM Cell, according to this tutorial: https://mxnet.apache.org/versions/1.2.1/api/python/gluon/rnn.html model =…
Anonymous
  • 4,692
  • 8
  • 61
  • 91
1
vote
1 answer

How to rotate an image using only the mxnet ndarray and contrib.nd.array APIs?

How to rotate an image using only the mxnet ndarray and contrib.nd.array APIs I'm trying to rotate an image using base mxnet array api. I also trying to avoid using code which breaks the mxnet pipeline. eg. Perhaps this is pedantic, but its also…
netskink
  • 4,033
  • 2
  • 34
  • 46
1
vote
0 answers

Conda environment.yml with option for mutually exclusive packages

I have an environment.yml with 3 conda packages and ~10 pip packages. One of the pip packages is MXNet, which have one package for CPU-only and another package for GPU only. Ideally I want a user to only be able to install a single environment.yml…
Zoom
  • 400
  • 1
  • 5
  • 20
1
vote
1 answer

mxnet model convert to onnx success but ort.InferenceSession(model) failed

Ask a Question I success convert mxnet model to onnx but it failed when inference .The model 's shape is (1,1,100,100) convert code sym = 'single-symbol.json' params = '/single-0090.params' input_shape = (1, 1, 100, 100) onnx_file =…
JiaoPaner
  • 25
  • 4
1
vote
0 answers

Export MXNet 'pick' operator to ONNX

I'm new to deep learning and I want to export a MXNet model to ONNX. Running the follow python program: sym = 'Experiment401_0_out-symbol.json' params = 'Experiment401_0_out-0000.params' input_shape = (1,3,640,832) onnx_file =…
ee44552
  • 11
  • 1
1
vote
0 answers

Gluoncv Auto Tasks Object_detection won't work with num_trials>1

I am trying to use gluoncv.auto.tasks.object_detection in order to do a hyper parameter search on multiple object detection models, but I am facing a problem when using the following config: from gluoncv.auto.tasks.object_detection import…
czr
  • 658
  • 3
  • 13
1
vote
1 answer

Fine-tuning SOTA video models on your own dataset - Sign Language

I am trying to implement a sign classifier using gluoncv API as part of my final year college project. Data set: http://facundoq.github.io/datasets/lsa64/ I followed the Fine-tuning SOTA video models on your own dataset tutorial and…
Aslam-Ep
  • 61
  • 5
1
vote
1 answer

Cannot import mxnet package in my environment

I want to install mxnet with gpu. and used pip install mxnet-cu90. However, when I am importing the package I come across this error: Traceback (most recent call last): File "", line 1, in File…
harry r
  • 786
  • 2
  • 6
  • 19
1
vote
1 answer

Creating a LeNet 10 neural network

I am trying to write a training loop in MXNet with the Gluon API and write a validation loop to evaluate a trained network. I am currently trying to define a network. I need define a network based on the LeNet architecture but instead of 10 output…
HollowDev
  • 63
  • 5
1
vote
0 answers

Using mxnet with CUDA freezes python

I tried to install mxnet with CUDA support and eventually succeeded. Although the installation finally worked, all my python applications are freezing whenever I try to actually use it. To be more precise, I'm trying to run the validation…