Unverified Commit 27745e5b authored by Luming Tang's avatar Luming Tang Committed by GitHub
Browse files

fix typo in plot_visualization_utils.py (#5599)

'fix' -> 'fig'
parent 8aadef5f
...@@ -22,7 +22,7 @@ plt.rcParams["savefig.bbox"] = 'tight' ...@@ -22,7 +22,7 @@ plt.rcParams["savefig.bbox"] = 'tight'
def show(imgs): def show(imgs):
if not isinstance(imgs, list): if not isinstance(imgs, list):
imgs = [imgs] imgs = [imgs]
fix, axs = plt.subplots(ncols=len(imgs), squeeze=False) fig, axs = plt.subplots(ncols=len(imgs), squeeze=False)
for i, img in enumerate(imgs): for i, img in enumerate(imgs):
img = img.detach() img = img.detach()
img = F.to_pil_image(img) img = F.to_pil_image(img)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment