Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Segmentation Fault in mxnet.ndarray.split_v2 #19684

Closed
DNXie opened this issue Dec 16, 2020 · 2 comments
Closed

Segmentation Fault in mxnet.ndarray.split_v2 #19684

DNXie opened this issue Dec 16, 2020 · 2 comments

Comments

@DNXie
Copy link

DNXie commented Dec 16, 2020

Description

Segmentation fault in mxnet.ndarray.split_v2

Error Message

Segmentation fault: 11

To Reproduce

import mxnet
import numpy as np
ary=mxnet.nd.array(np.random.rand(0,1))
mxnet.ndarray.split_v2(ary=ary, indices_or_sections=-1)

Environment

OS: ubuntu 18.04
Python: 3.7.6
pip: 20.0.2
numpy: 1.18.5
mxnet: 1.6.0

@leezu
Copy link
Contributor

leezu commented Dec 16, 2020

0 shapes are unsupported in the mxnet.nd interface. Please update to MXNet 2 and use mxnet.np (or use the experimental mxnet.np in mxnet 1.x versions).

I'm closing the issue as it's unsupported.

@leezu leezu closed this as completed Dec 16, 2020
@leezu
Copy link
Contributor

leezu commented Dec 16, 2020

You can refer to #14253 for more information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants