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

MXNet throw 'vector iterator not dereferencable' error in DEBUG version #2810

Closed
dianyancao opened this issue Jul 23, 2016 · 3 comments
Closed

Comments

@dianyancao
Copy link

When I try to debug MXNet with lstm bucketing example(and I tested some others) by vs2013,
MXNet throw 'vector iterator not dereferencable' error in DEBUG version,
but it does not occur in RELEASE version.
The error is from function
'GraphExecutor::CachedSegOpr GraphExecutor::CreateCachedSegOpr' at 1086 line
I use the test code at this link:
https://github.com/dianyancao/mxnet/blob/master/example/rnn/lstm_bucketing.py

How to fix this error?

@piiswrong
Copy link
Contributor

@tqchen

@horsepurve
Copy link

horsepurve commented Jul 31, 2016

I have the same problem while compiling with OpenBLAS on windows, but with MKL it's fine. And it happens when doing model.predict(data_test).

@dianyancao
Copy link
Author

Thanks to #2879 1084 line in 'graph_executor.cc' to
‘’‘if (wit == write_vars.end() || *wit != *rit) {’‘’ will fix this error.@horsepurve

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

No branches or pull requests

3 participants