Micro-Expression-with-Deep-Learning icon indicating copy to clipboard operation
Micro-Expression-with-Deep-Learning copied to clipboard

I can't run the train.py with CASME2 dataset.

Open dyyzhmm opened this issue 7 years ago • 4 comments

There are so many errors when running train.py with CASME2 dataset. I use this: python main.py --train ./train.py --dB CASME2_Optical --batch_size=1 --spatial_epochs=2 --temporal_epochs=2 --train_id='default_test' --spatial_size=224 --flag='st4se' --objective_flag=1

I have modified the static variables like the path of directory, but still have problem with Train_X = np.vstack(Train_X) in function data_loader_with_LOSO of utilities.py.

It costs me couples of days. I feel so upset.

dyyzhmm avatar Oct 14 '18 10:10 dyyzhmm

There are so many errors when running train.py with CASME2 dataset. I use this: python main.py --train ./train.py --dB CASME2_Optical --batch_size=1 --spatial_epochs=2 --temporal_epochs=2 --train_id='default_test' --spatial_size=224 --flag='st4se' --objective_flag=1

I have modified the static variables like the path of directory, but still have problem with Train_X = np.vstack(Train_X) in function data_loader_with_LOSO of utilities.py.

It costs me couples of days. I feel so upset.

Me too. Can you give me a mailbox?

ZYDi avatar Jan 03 '19 08:01 ZYDi

HI, can you try with "st" first?

so sorry because it runs fine on my pc.

IcedDoggie avatar Jan 03 '19 12:01 IcedDoggie

@ZYDi I make it finally. The reason is that I make a mistake with the dataset CASME2 and CASME2_OPtical_Flow.

dyyzhmm avatar Jan 06 '19 10:01 dyyzhmm

@ZYDi [email protected] That's my mailbox.

dyyzhmm avatar Jan 06 '19 10:01 dyyzhmm