WuJie1010 / Facial-Expression-Recognition.Pytorch

A CNN based pytorch implementation on facial expression recognition (FER2013 and CK+), achieving 73.112% (state-of-the-art) in FER2013 and 94.64% in CK+ dataset
MIT License
1.78k stars 548 forks source link

About preprocessing CK+ #108

Open HCookY95 opened 3 years ago

HCookY95 commented 3 years ago

@WuJie1010 @Hippasuss

Hi authors,

I have a question about CK+ preprocess py file. I got the output which is:

(981, 48, 48) (981,) Save data finish!!!

datafile.create_dataset("data_pixel", dtype = 'uint8', data=data_x) datafile.create_dataset("data_label", dtype = 'int64', data=data_y)

Could you tell me what should I change the code? I think that's because I use python3 rather than python2.

Sincerely