Shortcuts

WandbGenVisBackend

class mmedit.visualization.WandbGenVisBackend(save_dir: str, init_kwargs: Optional[dict] = None, define_metric_cfg: Optional[dict] = None, commit: Optional[bool] = True, log_code_name: Optional[str] = None, watch_kwargs: Optional[dict] = None)[source]

Wandb visualization backend for MMEditing.

add_image(name: str, image: numpy.array, step: int = 0, **kwargs)[source]

Record the image to wandb. Additional support upload gif files.

Parameters
  • name (str) – The image identifier.

  • image (np.ndarray) – The image to be saved. The format should be RGB.

  • step (int) – Useless parameter. Wandb does not need this parameter. Default to 0.

Read the Docs v: zyh/doc-notfound-extend
Versions
master
latest
stable
zyh-doc-notfound-extend
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.