text: import os
  
  
  def create_log_dir(experiment_name):
      path = os.path.join(os.getcwd(), experiment_name)
      try:
          os.makedirs(path, exist_ok=True)
      except OSError:
          print("Creation of the directory %s failed" % path)
      else:
          print("Successfully created the directory %s " % path)
      return path
  