modelzoo.common.pytorch.model_utils.convert_checkpoint.diff_checkpoints_from_file#

modelzoo.common.pytorch.model_utils.convert_checkpoint.diff_checkpoints_from_file(file_left: str, file_right: str, tensor_comparison_op: str = 'equal') bool[source]#

Compare two checkpoints (left and right). Returns True if the dicts are the same.