Open jqliu09 opened 6 months ago
Hey, I saw the stored "sample_log" pictures in the Image_logs. But Actually the generated images in "sample_log" is different from the reconstructed ones. So could I ask what is that usage?
if sample: # get denoise row samples, z_denoise_row = self.sample_log(cond={"c_concat": [c_cat], "c_crossattn": [c]}, batch_size=N, ddim=use_ddim, ddim_steps=ddim_steps, eta=ddim_eta) x_samples = self.decode_first_stage(samples) log["samples"] = x_samples if plot_denoise_rows: denoise_grid = self._get_denoise_row_from_list(z_denoise_row) log["denoise_row"] = denoise_grid
Hey, I saw the stored "sample_log" pictures in the Image_logs. But Actually the generated images in "sample_log" is different from the reconstructed ones. So could I ask what is that usage?