We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9eedbc commit 408801aCopy full SHA for 408801a
make_source.py
@@ -95,7 +95,7 @@
95
int(head_cord[0] - crop_size): int(head_cord[0] + crop_size), :]
96
plt.imshow(head)
97
plt.savefig(str(test_head_dir.joinpath('pose_{}.jpg'.format(idx))))
98
-
+ plt.clf()
99
cv2.imwrite(str(test_img_dir.joinpath('{:05}.png'.format(idx))), img)
100
cv2.imwrite(str(test_label_dir.joinpath('{:05}.png'.format(idx))), label)
101
if idx % 100 == 0 and idx != 0:
0 commit comments