code: def prepare_save_path(args):
      if not os.path.exists(args.save_path):
          os.mkdir(args.save_path)
  
      folder = "{}_{}_{}_d_{}_g_{}".format(
          args.model_name,
          args.dataset,
          args.encoder_model_name,
          args.hidden_dim,
          args.gamma,
      )
      n = len(
          [
              x
              for x in os.listdir(args.save_path)
              if x.startswith(folder)
          ]
      )
      folder += str(n)
      args.save_path = os.path.join(args.save_path, folder)
  
      if not os.path.exists(args.save_path):
          os.makedirs(args.save_path)
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/train.py
imports: import os
  import logging
  import time
  from .dataloader import EvalDataset, TrainDataset, NewBidirectionalOneShotIterator
  from .dataloader import get_dataset
  from .utils import get_compatible_batch_size, save_model, CommonArgParser
  import torch
  import numpy
  import torch.multiprocessing
  from .train_pytorch import load_model
  from .train_pytorch import train, train_mp
  from .train_pytorch import test, test_mp
  from ogb.lsc import WikiKG90MDataset, WikiKG90MEvaluator
label_desc: Use image node_id 2 for calling a global function with example usage: prepare_save_path(args) without return types