Skip to content

Commit

Permalink
sort files
Browse files Browse the repository at this point in the history
  • Loading branch information
shoarora committed Nov 27, 2018
1 parent d22413e commit 83831ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw7_release/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def get_detector(part_h, part_w, parts, image_paths):
n = len(image_paths)
part_shape = (part_h,part_w)
avg_part = np.zeros((part_shape))
image_paths = sorted(image_paths)
for i,image_path in enumerate(image_paths):
image = io.imread('./face/'+image_path, as_grey=True)
part_r = parts[i][0]
Expand Down

0 comments on commit 83831ec

Please sign in to comment.