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

Problem: Cannot pass theano.shared to .itertrain() #134

Open
Philipp777 opened this issue Dec 11, 2017 · 0 comments
Open

Problem: Cannot pass theano.shared to .itertrain() #134

Philipp777 opened this issue Dec 11, 2017 · 0 comments

Comments

@Philipp777
Copy link

First of all, thanks a lot for this clean piece of software 👍

I am using .itertrain() to train a deep autoencoder with a train and a validation dataset (numpy.ndarray) supplied, while doing various monitoring tasks.
The problem is the inefficient execution footprint since for every invocation of .itertrain() the datasets are copied from host to GPU. Correct me if I am wrong :)
So, in order to overcome this bottleneck, I tried to supply the datasets as theano.shared objects to .itertrain() which doesnt seem to work. After consulting the documentation of .itertrain(), it is not possible to supply a theano.shared object directly, but a downhill.dataset.Dataset object can be supplied, which, in turn, can be populated with a theano.shared object.
Unfortunately, this also doesnt work... What am I doing wrong?

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

No branches or pull requests

1 participant