code: def get_ckpt_epochs() -> List[int]:
      paths = glob.glob(get_ckpt_path("*"))
      return sorted(
          [int(osp.basename(path).split(".")[0]) for path in paths]
      )
  
file_path: pytorch_geometric/torch_geometric/graphgym/checkpoint.py
imports: import glob
  import os
  import os.path
  from typing import Any, Dict, List, Optional, Union
  import torch
  from torch_geometric.graphgym.config import cfg
label_desc: Use image node_id 7 for calling a global function with example usage: get_ckpt_epochs() and returns: sorted