-
Notifications
You must be signed in to change notification settings - Fork 172
Description
In normalization.py,
-
You resize/normalize/crop each of source label image according to the size ratio between the 2nd source label image and 2nd target label image (i.e., 00001.png). But, when you calculate the head position of the normalized label image in Line 77, you used the coordinate of the 1st entry (i.e., head position of the 1st original source label image):
Line 77:
source_cord_y, source_cord_x = pose_cord[0]
Shouldn't the above be changed to the 2nd entry (i.e., pose_cord[0] -> pose_cord[1]) as follow:
source_cord_y, source_cord_x = pose_cord[1] ???
-
In line 84, when you crop the head image of the normalized label image, you used the old label image:
Line 84:
head = img[int(new_head_x - crop_size): int(new_head_x + crop_size),
Shouldn't the above be changed to crop the 'new_source' instead of 'img' as follow:
head = new_source[int(new_head_x - crop_size): int(new_head_x + crop_size), ???