Skip to content

Commit

Permalink
Merge pull request #2612 from ih4cku/master
Browse files Browse the repository at this point in the history
register a dummy reducer to prevent mincepie runtime error
  • Loading branch information
shelhamer authored Apr 14, 2017
2 parents 08bded8 + e7f543b commit 68215cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/extra/resize_and_crop_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def map(self, key, value):
yield value, FLAGS.output_folder

mapreducer.REGISTER_DEFAULT_MAPPER(ResizeCropImagesMapper)

mapreducer.REGISTER_DEFAULT_REDUCER(mapreducer.NoPassReducer)
mapreducer.REGISTER_DEFAULT_READER(mapreducer.FileReader)
mapreducer.REGISTER_DEFAULT_WRITER(mapreducer.FileWriter)

Expand Down

0 comments on commit 68215cc

Please sign in to comment.