Open erlebach opened 7 years ago
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
Thank you! I have no direct experience with properties. Now I know: property implicitly defines a class variable.
Gordon
On Tue, May 30, 2017 at 9:23 AM, Sean Welleck notifications@github.com wrote:
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
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wellecks/vaes/issues/10#issuecomment-304876462, or mute the thread https://github.com/notifications/unsubscribe-auth/AAT0ZCc0E12JMyRzmWfxP199TpmG5hl-ks5r_Bg1gaJpZM4Npm1s .
-- Gordon Erlebacher Chair, Department of Scientific Computing
Hi,
Yet, in train(), you call:
(my line numbers no longer correspond to yours). Note that in UnlabelledDataSet, the last few lines are:
whitened is false, and self.images is not defined. Why does this work? Thanks.