code: def diffusion_defaults():
      """
      Defaults for image and classifier training.
      """
      return dict(
          learn_sigma=False,
          diffusion_steps=1000,
          noise_schedule="linear",
          timestep_respacing="",
          use_kl=False,
          predict_xstart=False,
          rescale_timesteps=False,
          rescale_learned_sigmas=False,
      )
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_ernievil_base/reverse_diffusion/model/script_util.py
imports: import argparse
  import inspect
  from .None import gaussian_diffusion
  from .respace import space_timesteps
  from .respace import SpacedDiffusion
  from .unet import EncoderUNetModel
  from .unet import SuperResModel
  from .unet import UNetModel
label_desc: Use image node_id 1 for calling a global function with example usage: diffusion_defaults() and returns: dict