code: def __convert_numpy_types(self, metrics_dict):
      for k, v in metrics_dict.items():
          if v.__class__.__name__ == "float32":
              metrics_dict[k] = float(v)
  
          if v.__class__.__name__ == "float64":
              metrics_dict[k] = float(v)
  
imports: import contextlib
  import json
  import os
  import shutil
  from datetime import datetime
  import numpy
  import pandas
  from imageio import imwrite
  from tensorboard.compat.proto.event_pb2 import Event
  from tensorboard.compat.proto.event_pb2 import SessionLog
  from torch.utils.tensorboard import SummaryWriter, FileWriter
label_desc: Use image node_id 13 for calling the Experiment obj's underlying member method code with example usage: obj.__convert_numpy_types(metrics_dict) without return types