Skip to content

Commit

Permalink
python lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Advitya17 committed Feb 23, 2024
1 parent e62e68d commit e036c2f
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions responsibleai_vision/tests/test_feature_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@
MEAN_PIXEL_VALUE = ExtractedFeatures.MEAN_PIXEL_VALUE.value
FRIDGE_METADATA_FEATURES = [
'SensingMethod', 'GPSVersionID', 'ISOSpeedRatings', 'SceneType',
'SceneCaptureType', 'SubjectDistance', 'CustomRendered', 'SubjectDistanceRange',
'DigitalZoomRatio', 'ApertureValue', 'ImageWidth', 'GPSDOP', 'MaxApertureValue',
'ColorSpace', 'FocalLengthIn35mmFilm', 'ExposureMode', 'Saturation', 'ExposureTime',
'ExifImageHeight', 'FNumber', 'YCbCrPositioning', 'Make', 'MeteringMode', 'ExposureBiasValue',
'ExposureProgram', 'ComponentsConfiguration', 'ExifImageWidth', 'ExifInteroperabilityOffset',
'BrightnessValue', 'ImageLength', 'FlashPixVersion', 'SubsecTimeOriginal', 'Model',
'SubsecTimeDigitized', 'ResolutionUnit', 'DateTimeOriginal', 'XResolution', 'FocalLength',
'Sharpness', 'GPSLongitude', 'Contrast', 'Software', 'GPSLatitude', 'MakerNote', 'GPSDateStamp',
'GPSAltitude', 'GPSProcessingMethod', 'GPSTimeStamp', 'GPSLatitudeRef', 'WhiteBalance',
'GPSLongitudeRef', 'Flash', 'SubsecTime', 'YResolution', 'DateTimeDigitized', 'DateTime',
'GPSAltitudeRef', 'Orientation', 'ShutterSpeedValue', 'ExifVersion']
'SceneCaptureType', 'SubjectDistance', 'CustomRendered',
'SubjectDistanceRange', 'DigitalZoomRatio', 'ApertureValue',
'ImageWidth', 'GPSDOP', 'MaxApertureValue', 'ColorSpace',
'FocalLengthIn35mmFilm', 'ExposureMode', 'Saturation', 'ExposureTime',
'ExifImageHeight', 'FNumber', 'YCbCrPositioning', 'Make', 'MeteringMode',
'ExposureBiasValue', 'ExposureProgram', 'ComponentsConfiguration',
'ExifImageWidth', 'ExifInteroperabilityOffset', 'BrightnessValue',
'ImageLength', 'FlashPixVersion', 'SubsecTimeOriginal', 'Model',
'SubsecTimeDigitized', 'ResolutionUnit', 'DateTimeOriginal', 'XResolution',
'FocalLength', 'Sharpness', 'GPSLongitude', 'Contrast', 'Software',
'GPSLatitude', 'MakerNote', 'GPSDateStamp', 'GPSAltitude',
'GPSProcessingMethod', 'GPSTimeStamp', 'GPSLatitudeRef', 'WhiteBalance',
'GPSLongitudeRef', 'Flash', 'SubsecTime', 'YResolution',
'DateTimeDigitized', 'DateTime', 'GPSAltitudeRef', 'Orientation',
'ShutterSpeedValue', 'ExifVersion']


def validate_extracted_features(extracted_features, feature_names,
expected_feature_names, data,
Expand Down

0 comments on commit e036c2f

Please sign in to comment.