happynear / painregression Goto Github PK
View Code? Open in Web Editor NEWTransferring Face Verification Nets To Pain and Expression Regression
License: MIT License
Transferring Face Verification Nets To Pain and Expression Regression
License: MIT License
when I run ./scripts/extract_feature.m, I got the following error messages:
I1119 12:20:25.223507 9956 layer_factory.hpp:77] Creating layer data
I1119 12:20:25.223526 9956 net.cpp:84] Creating Layer data
I1119 12:20:25.223532 9956 net.cpp:380] data -> data
I1119 12:20:25.223543 9956 net.cpp:380] data -> label
I1119 12:20:25.223556 9956 image_data_layer.cpp:39] Opening file /home/tt/TOSHIBA/deepFaceStuff/PainRegression/prototxt/sublist/1/list_val.txt
I1119 12:20:25.562822 9956 image_data_layer.cpp:107] A total of 2134 images.
E1119 12:20:25.563374 9956 io.cpp:91] Could not open or find file I1119 12:20:25.223507 9956 layer_factory.hpp:77] Creating layer data
I1119 12:20:25.223526 9956 net.cpp:84] Creating Layer data
I1119 12:20:25.223532 9956 net.cpp:380] data -> data
I1119 12:20:25.223543 9956 net.cpp:380] data -> label
I1119 12:20:25.223556 9956 image_data_layer.cpp:39] Opening file /home/tt/TOSHIBA/deepFaceStuff/PainRegression/prototxt/sublist/1/list_val.txt
I1119 12:20:25.562822 9956 image_data_layer.cpp:107] A total of 2134 images.
E1119 12:20:25.563374 9956 io.cpp:91] Could not open or find file /home/tt/TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png
F1119 12:20:25.563396 9956 image_data_layer.cpp:127] Check failed: cv_img.data Could not load /home/tt/TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png
*** Check failure stack trace: ***
F1119 12:20:25.563396 9956 image_data_layer.cpp:127] Check failed: cv_img.data Could not load /home/tt/TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png
*** Check failure stack trace: ***
how ever /TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png is just there
new_height and new_width are both zero before calling
cv::Mat cv_img = ReadImageToCVMat(root_folder + lines_[lines_id_].first, new_height, new_width, is_color);
in image_data_layer.cpp
Hi!
I have been trying to you your model in python in a inferece mode over another dataset and I do not get the pain detection correctly.
I am using the trained weights that you provide in google drive and the graph that I use is face_deploy.prototxt with a little change in the InputData
layer by this:
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape: { dim: 1 dim: 3 dim: 112 dim: 96 }
}
transform_param {
mean_value: 128
scale: 0.0078125
}
}
I think that my python code is correct so I do not know what may be going wrong. Do you have any idea? Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.