emotiw2017 icon indicating copy to clipboard operation
emotiw2017 copied to clipboard

What does 'frames_val.npy' stand for?

Open fakjhhoetg opened this issue 7 years ago • 3 comments

I appreciate the contribution of the wonderful code.

I have a questions.

At release.ipynb - 2, - In[5] What does 'frames_test.npy' represent?

I am in trouble with the following error. 「 FileNotFoundError: [Errno 2] No such file or directory: 'data_phase3/frames_val.npy' 」

I would appreciate it if you could tell me how to make 'frames_test.npy'.

I also want to know details of your directory hierarchy.

Please answer.

Windows-Python3.5-Tensorflow 1.2.1

fakjhhoetg avatar Oct 06 '17 13:10 fakjhhoetg

Hi, @fakjhhoetg

frames_*.npy have the following essence: it is a dict of raw frames where the key is a filename and the value is a numpy.ndarray with shape (3, 224, 224). val stands for the validations set, test for the test set, train for the train set.

I cannot exactly describe the directory hierarchy, seems that it lost on some server but don't hesitate to ask about particular misunderstandings.

arassadin avatar Oct 06 '17 13:10 arassadin

Thank you for your quick answer. @arssadin

Also,I have a question about " emotiw2017 / ft_imagenet_release.py " Could you tell me the details of X_train.npy , X_val.npy , y_train.npy , y_val.npy ? e.g. shape .

I am sorry to trouble you , but answer please.

fakjhhoetg avatar Oct 15 '17 05:10 fakjhhoetg

Hi, @fakjhhoetg

X*.npy stores raw frames and y*.npy stores corresponding emotion labels. X*.npy is 4D array where the channel index really depends on your Keras configuration, e.g. (N, 3, 224, 224). y*.npy is 1D.

arassadin avatar Oct 15 '17 19:10 arassadin