AttributeError: 'GaussianDiffusion' object has no attribute 'module'
Amarkr1 opened this issue · 1 comments
Amarkr1 commented
Modified this to:
X_0s, X_ts = self.ema_model.all_sample(batch_size=batches, img=og_img, times=s_times) # change for DP
seems to solve the error.
arpitbansal297 commented
Yes, .module is there because of data parallel.