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

View File

@@ -17,7 +17,7 @@ def report_debug_images(logger, iteration=0):
"""
# 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)
# report image as uint8