tensorflow/models · error · ValueError
%s does not exist.
Error message
%s does not exist.
What it means
Error "%s does not exist." thrown in tensorflow/models.
Source
Thrown at official/nlp/finetuning/superglue/run_superglue.py:76
'RTE': 'cls_accuracy',
'WiC': 'cls_accuracy',
'WSC': 'cls_accuracy',
'BoolQ': 'cls_accuracy',
'ReCoRD': 'cls_accuracy',
'AX-g': 'cls_accuracy',
}
AXG_CLASS_NAMES = ['entailment', 'not_entailment']
RTE_CLASS_NAMES = ['entailment', 'not_entailment']
CB_CLASS_NAMES = ['entailment', 'neutral', 'contradiction']
BOOLQ_CLASS_NAMES = ['True', 'False']
def _override_exp_config_by_file(exp_config, exp_config_files):
"""Overrides an `ExperimentConfig` object by files."""
for exp_config_file in exp_config_files:
if not tf.io.gfile.exists(exp_config_file):
raise ValueError('%s does not exist.' % exp_config_file)
params_dict.override_params_dict(
exp_config, exp_config_file, is_strict=True)
return exp_config
def _override_exp_config_by_flags(exp_config, input_meta_data):
"""Overrides an `ExperimentConfig` object by flags."""
if FLAGS.task_name in 'AX-b':
override_task_cfg_fn = functools.partial(
binary_helper.override_sentence_prediction_task_config,
num_classes=input_meta_data['num_labels'],
metric_type='matthews_corrcoef')
elif FLAGS.task_name in ('CB', 'COPA', 'RTE', 'WiC', 'WSC', 'BoolQ', 'ReCoRD',
'AX-g'):
override_task_cfg_fn = functools.partial(
binary_helper.override_sentence_prediction_task_config,
num_classes=input_meta_data['num_labels'])View on GitHub (pinned to e006f5f0d5)
When it happens
Trigger: Thrown at official/nlp/finetuning/superglue/run_superglue.py:76 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tensorflow/models@e006f5f0d5 (2026-08-24).
Data as JSON: /api/errors/6a67c4ab792c9e62.
Report an issue: GitHub.