lllyasviel / lllyasviel/ControlNet
The meaning and usage of sample_log
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the sample_log call shown in the issue and inspect how its samples, z_denoise_row, and decoded x_samples are used for Image_logs. Compare the generated and reconstructed images to determine the purpose of each output. Done means documenting the meaning and usage of sample_log clearly, including why those images differ.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100