{"record":{"id":"81137850c9c87789","repo":"tensorflow/models","slug":"unrecognized-augmentation-type-s","errorCode":null,"errorMessage":"Unrecognized augmentation_type: %s","messagePattern":"Unrecognized augmentation_type: (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/projects/videoglue/datasets/common/utils.py","lineNumber":436,"sourceCode":"          fn=random_square_crop_by_scale_fn,\n          feature_name=output_feature_name,\n          fn_name='{}_random_square_crop_by_scale'.format(output_feature_name),\n          stateful=sync_random_state)\n      def resize_and_pad_fn(x, state=None):\n        return processors.resize_and_pad(\n            frames=x,\n            max_resize=crop_size,\n            pad_size=crop_size,\n            random=True,\n            state=state)\n      preprocessor_builder.add_fn(\n          fn=resize_and_pad_fn,\n          feature_name=output_feature_name,\n          fn_name='{}_resize_random_pad'.format(output_feature_name),\n          # Use state to keep coherence between modalities if requested.\n          stateful=sync_random_state)\n    else:\n      raise ValueError('Unrecognized augmentation_type: %s' %\n                       augmentation_type)\n\n    if random_flip_image:\n      def random_flip_left_right_fn(x, state=None):\n        return processors.random_flip_left_right(\n            x, seed=seed, is_flow=False, state=state)\n      preprocessor_builder.add_fn(\n          fn=random_flip_left_right_fn,\n          feature_name=output_feature_name,\n          fn_name='{}_random_flip'.format(output_feature_name),\n          stateful=sync_random_state)\n  else:\n    # Crop images, either a 3-view crop or a central crop.\n    if multi_crop:\n      resize_smallest_fn = functools.partial(\n          processors.resize_smallest,\n          min_resize=min_resize,\n          is_flow=False)","sourceCodeStart":418,"sourceCodeEnd":454,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/projects/videoglue/datasets/common/utils.py#L418-L454","documentation":"Error \"Unrecognized augmentation_type: %s\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/projects/videoglue/datasets/common/utils.py:436 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e006f5f0d534913e49c1f1dae87364039fa607e2","analyzedAt":"2026-08-24T14:09:15.576Z","schemaVersion":2},"datasetVersion":"2026-08-24T17:17:21.512Z"}