Getting some error while trying to train the model
rohitdoddapani opened this issue · 2 comments
rohitdoddapani commented
aashishrai3799 commented
Hi,
You've to resize images in the output folder to 160x160. You can use the following script to do so:
from PIL import Image
import os
in_path = 'outout/person1/' #replace "person1" with your subfolder name(s).
imgs = os.listdir(in_path)
for img in imgs:
imgg = Image.open(in_path+img)
imgg = imgg.resize((160,160))
imgg.save(in_path+img)
nazims-flow commented
Which file should be the above given script added ?