Skip to content

Commit 408801a

Browse files
authored
step1
1 parent a9eedbc commit 408801a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make_source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
int(head_cord[0] - crop_size): int(head_cord[0] + crop_size), :]
9696
plt.imshow(head)
9797
plt.savefig(str(test_head_dir.joinpath('pose_{}.jpg'.format(idx))))
98-
98+
plt.clf()
9999
cv2.imwrite(str(test_img_dir.joinpath('{:05}.png'.format(idx))), img)
100100
cv2.imwrite(str(test_label_dir.joinpath('{:05}.png'.format(idx))), label)
101101
if idx % 100 == 0 and idx != 0:

0 commit comments

Comments
 (0)