Giter VIP home page Giter VIP logo

painregression's People

Contributors

eglxiang avatar happynear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

painregression's Issues

matlab crashes when running ./scripts/extract_feature.m

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

Python inference

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.