cea52f3bbf3ccd4cbba0668eb5b92936c0606bc7,flowers/trainer/preprocess.py,ExtractLabelIdsDoFn,process,#ExtractLabelIdsDoFn#Any#Any#,119
Before Change
// image_uri(,label_ids)*
row = context.element
if not row:
context.aggregate_to(skipped_empty_line, 1)
return
context.aggregate_to(csv_rows_count, 1)
uri = row[0]
After Change
// Row format is: image_uri(,label_ids)*
if not row:
skipped_empty_line.inc()
return
csv_rows_count.inc()
uri = row[0]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: cea52f3bbf3ccd4cbba0668eb5b92936c0606bc7
Time: 2017-02-10
Author: andreasst@google.com
File Name: flowers/trainer/preprocess.py
Class Name: ExtractLabelIdsDoFn
Method Name: process
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: cea52f3bbf3ccd4cbba0668eb5b92936c0606bc7
Time: 2017-02-10
Author: andreasst@google.com
File Name: flowers/trainer/preprocess.py
Class Name: TFExampleFromImageDoFn
Method Name: process
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: cea52f3bbf3ccd4cbba0668eb5b92936c0606bc7
Time: 2017-02-10
Author: andreasst@google.com
File Name: flowers/trainer/preprocess.py
Class Name: ReadImageAndConvertToJpegDoFn
Method Name: process