-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data_dict['X2'] = np.concatenate((data_dict['X2'], np.load(DATASET.train_folder + '/hog_features.npy')), axis=1) #29
Comments
Hi,you can check convert_fer2013_to_images_and_landmarks.py,modify "visualise" to "visualize".Then you will get correct landmarks.npy and hog_features.npy.and run"python train.py --train=yes",it will works! |
Hello, I didn't expect someone to reply me. Thank you very much. Your method is really useful
…------------------ 原始邮件 ------------------
发件人: "amineHorseman/facial-expression-recognition-using-cnn" <[email protected]>;
发送时间: 2020年8月13日(星期四) 中午1:33
收件人: "amineHorseman/facial-expression-recognition-using-cnn"<[email protected]>;
抄送: "杨倩"<[email protected]>;"Manual"<[email protected]>;
主题: Re: [amineHorseman/facial-expression-recognition-using-cnn] data_dict['X2'] = np.concatenate((data_dict['X2'], np.load(DATASET.train_folder + '/hog_features.npy')), axis=1) (#29)
when i did 'python train.py --train=yes', code 'data_dict['X2'] = np.concatenate((data_dict['X2'], np.load(DATASET.train_folder + '/hog_features.npy')), axis=1)' from data_loader.py reprted a error, which is 'numpy.AxisError: axis 1 is out of bounds for array of dimension 1' ,i do not know how to correct it, i tried to amend axis=1 to axis=0, well , code 'return X[start]'
from utils.py showed me a new error ,which is 'index 9006 is out of bounds for axis 0 with size 0'
anyway, i want to ask Did anyone run this code successfully,and how should i correct my code, thanks.
Hi,you can check convert_fer2013_to_images_and_landmarks.py,modify "visualise" to "visualize".Then you will get correct landmarks.npy and hog_features.npy.and run"python train.py --train=yes",it will works!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
convert_fer2013_to_images_and_landmarks.py,modify "visualise" to "visualize.I tried that but it didn't work.Could you tell me how to change it |
I didn't just change one code, but also changed several codes. I can give you my modified code, hope it will help you
…------------------ 原始邮件 ------------------
发件人: "amineHorseman/facial-expression-recognition-using-cnn" <[email protected]>;
发送时间: 2020年12月16日(星期三) 下午3:22
收件人: "amineHorseman/facial-expression-recognition-using-cnn"<[email protected]>;
抄送: "yangqian"<[email protected]>;"Manual"<[email protected]>;
主题: Re: [amineHorseman/facial-expression-recognition-using-cnn] data_dict['X2'] = np.concatenate((data_dict['X2'], np.load(DATASET.train_folder + '/hog_features.npy')), axis=1) (#29)
convert_fer2013_to_images_and_landmarks.py,modify "visualise" to "visualize.I tried that but it didn't work.Could you tell me how to change it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello, I have the same issue, even adjusting the code. This problem may also be because the landmarks.npy file is empty. |
Did anyone resolve this issue? I am still getting File "C:\Users\WELCOME\Desktop\FYP\data_loader.py", line 20, in load_data |
Hello, can you send me a copy of the code you modified? My email address [email protected] |
can you send me a copy?thanks mail:[email protected] |
Hello, I changed "visualise" to "visualize but got an error. Can you send me a copy of the code you modified? My email address is [email protected] |
You have solved this problem, and I have encountered the same problem as you. I really need your modification opinions. Thank you very much. |
My email is [email protected]. Thanks again |
Sorry, I have lost this code
…------------------ 原始邮件 ------------------
发件人: "amineHorseman/facial-expression-recognition-using-cnn" ***@***.***>;
发送时间: 2023年2月17日(星期五) 晚上7:24
***@***.***>;
***@***.******@***.***>;
主题: Re: [amineHorseman/facial-expression-recognition-using-cnn] data_dict['X2'] = np.concatenate((data_dict['X2'], np.load(DATASET.train_folder + '/hog_features.npy')), axis=1) (#29)
You have solved this problem, and I have encountered the same problem as you. I really need your modification opinions. Thank you very much.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
|
You have solved this problem, and I have encountered the same problem as you. I really need your modification opinions. Thank you very much.My email is [email protected]. |
You have solved this problem, and I have encountered the same problem as you. I really need your modification opinions. Thank you very much.My email is [email protected] |
when i did 'python train.py --train=yes', code 'data_dict['X2'] = np.concatenate((data_dict['X2'], np.load(DATASET.train_folder + '/hog_features.npy')), axis=1)' from data_loader.py reprted a error, which is 'numpy.AxisError: axis 1 is out of bounds for array of dimension 1' ,i do not know how to correct it, i tried to amend axis=1 to axis=0, well , code 'return X[start]'
from utils.py showed me a new error ,which is 'index 9006 is out of bounds for axis 0 with size 0'
anyway, i want to ask Did anyone run this code successfully,and how should i correct my code, thanks.
The text was updated successfully, but these errors were encountered: