mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix DeprecationWarning (#658)
This commit is contained in:
parent
b18b888966
commit
382d361bff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user