mxnet
mxnet copied to clipboard
Mxnet errors while running gluoncv from mxnet docker image
As I was not able to run the gluoncv with mxnet on my M1 mac, so I tried to use the docker file as python interpreter.
mxnet/python:1.9.1_aarch64_cpu_py3 which is running Python 3.7.13, mxnet==1.9.1b20220517 I installed gluoncv==0.10.5.post0 in that docker and getting the following two errors:
mxnet.base.MXNetError: MXNetError: Invalid Parameter format for std expect tuple of
when trying to do gluoncv.data.transforms.presets.segmentation.test_transform on the image
and:
mxnet.base.MXNetError: MXNetError: Invalid Parameter format for layout expect int or None but value='', in operator Convolution(name="", stride="(2, 2)", no_bias="True", kernel="(3, 3)", layout="NCHW", num_group="1", dilate="(1, 1)", pad="(1, 1)", num_filter="64")
when trying to load model using model = gluoncv.model_zoo.get_model('fcn_resnet101_voc', pretrained=True)
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
Getting the same error using mxnet/python:1.9.1_aarch64_cpu_py3. Interestingly, the error only occurs when run in this docker container for this image on raspberrypi (arm64). It works when run in mxnet/python:1.9.1_cpu_py3 on a linux desktop (amd64).