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

python example/gan/dcgan.py error #4299

Closed
zhanghan328 opened this issue Dec 20, 2016 · 4 comments
Closed

python example/gan/dcgan.py error #4299

zhanghan328 opened this issue Dec 20, 2016 · 4 comments

Comments

@zhanghan328
Copy link
Contributor

Operating System:
ubuntu 16.04
I just operated the example. And i turn down the batch size, the error remains.

-> train_iter = mx.io.NDArrayIter(X_train, batch_size=batch_size)
(Pdb) continue
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

the error comes out after loading data.
My gpu is GTX1060,6G.
Who can help me ?

@zhanghan328
Copy link
Contributor Author

@piiswrong

@inflation
Copy link

Which version did you try? And could you confirm that you have enough memory?

@ysh329
Copy link
Contributor

ysh329 commented Mar 22, 2017

I met same question.
#5525

@yajiedesign
Copy link
Contributor

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

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

4 participants