class_docstr: Utility class containing functions to load cluster assignments from files
  and visualize them or export them to different formats
class_docstr_tok: ["Utility","class","containing","functions","to","load","cluster","assignments","from","files","and","visualize","them","or","export","them","to","different","formats"]
code: def load_cluster_assigment(cls, file_path: str) -> ClusterAssignment:
      with g_pathmgr.open(file_path, "rb") as f:
          content = torch.load(f)
          return ClusterAssignment(
              config=content[cls._CONFIG_KEY],
              cluster_assignments=content[cls._ASSIGN_KEY],
          )
  
file_path: vissl/vissl/utils/cluster_utils.py
imports: import os
  from dataclasses import dataclass
  from typing import Dict, List
  import numpy
  import torch
  from iopath.common.file_io import g_pathmgr
  from vissl.config import AttrDict
  from vissl.data import build_dataset
label_desc: Use image node_id 2 for calling the ClusterAssignmentLoader obj's underlying member method code with example usage: obj.load_cluster_assigment(cls, file_path) and returns: ClusterAssignment