Fix DeprecationWarning (#658)

This commit is contained in:
Rizwan Hasan 2022-04-25 04:27:52 +06:00 committed by GitHub
parent b18b888966
commit 382d361bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ def report_debug_images(logger, iteration=0):
""" """
# report image as float image # report image as float image
m = np.eye(256, 256, dtype=np.float) m = np.eye(256, 256, dtype=float)
logger.report_image("image", "image float", iteration=iteration, image=m) logger.report_image("image", "image float", iteration=iteration, image=m)
# report image as uint8 # report image as uint8