Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sample code cannot run #611

Closed
Qiangqiang-Zhu opened this issue Feb 10, 2020 · 3 comments
Closed

The sample code cannot run #611

Qiangqiang-Zhu opened this issue Feb 10, 2020 · 3 comments
Labels
question Further information is requested

Comments

@Qiangqiang-Zhu
Copy link

Hello.
When I ran the sample code in this Readme, there was always "MXNetError: vector::_M_range_insert
" errors.
image

@Qiangqiang-Zhu Qiangqiang-Zhu added the question Further information is requested label Feb 10, 2020
@lostella
Copy link
Contributor

@1670811876 can you add a few details about your setup? What version of gluonts and mxnet are you using?

@thatdanghill
Copy link

thatdanghill commented Feb 11, 2020

I saw this error as well on Ubuntu when trying to iterate through forecasts for a DeepAR model.
My gluonts version was 0.4.2 and mxnet was 1.5.1.post0.
I patched it by rolling back mxnet from 1.5.1.post0 to 1.4.1 and pyarrow from 0.16.0 to 0.10.0.

I ran the same code on my macOS without any errors. My hunch is that the difference is my Linux machine has a GPU and has CUDA installed, although the models aren't using the GPU (I see INFO:root:Using CPU).

Update: I have configured Gluon to use the GPU, and I still need mxnet-cu100 1.4.1 and pyarrow 0.10.0.

@lostella
Copy link
Contributor

The problem is with mxnet-1.5.x I believe: there is a bug there that prevents sampling operators from working correctly on Linux, see apache/mxnet#16135

We look forward to mxnet-1.6 being released to solve issue. For now, I think sticking with mxnet-1.4.1 is the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants