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

UnlabelledDataSet: self.images #10

Open
erlebach opened this issue May 29, 2017 · 2 comments
Open

UnlabelledDataSet: self.images #10

erlebach opened this issue May 29, 2017 · 2 comments

Comments

@erlebach
Copy link

Hi,

Yet, in train(), you call:

      feed_dict[x], feed_dict[x_w] = training_data.next_batch(batch_size, whitened=False)

(my line numbers no longer correspond to yours). Note that in UnlabelledDataSet, the last few lines are:

    if whitened:
        return self.images[start:end], self._whitened_images[start:end]
    else: return self._images[start:end], self.images[start:end]

whitened is false, and self.images is not defined. Why does this work? Thanks.

@wellecks
Copy link
Owner

Sorry about that, this is messy and needs refactoring - it's actually calling the @property self.images, which is actually just defined as self._images

@erlebach
Copy link
Author

erlebach commented May 30, 2017 via email

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

2 participants