GithubHelp home page GithubHelp logo

can not run about face_classification HOT 12 CLOSED

oarriaga avatar oarriaga commented on June 3, 2024
can not run

from face_classification.

Comments (12)

oarriaga avatar oarriaga commented on June 3, 2024

Hello @xbsdsongnan ,
the problem might be related to the keras version. I am currently using keras 2.0 with tensorflow 1. as backend. Could you verify that you are using the same versions?

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

Operating environment:keras-2.0.4 numpy-1.12.1 pyyaml-3.12 scipy-0.19.0 six-1.10.0,tensorflow-1.1.0,python2/python3,opencv2/opencv3。but can not run。
take python3
Error:(python3:5250): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
take python2
Error:Attempt to unlock mutex that was not locked
please help me .thank you ,you can take email to me,because I send email to you last day.

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

datasets/imdb_crop/imdb.mat' can not find

from face_classification.

oarriaga avatar oarriaga commented on June 3, 2024

@xbsdsongnan the datasetes are not given. If you wanted to re-train the network you would have to download them. In the other case, I just accepted a PR that might fix your problem which might be related to the following line ( which you could also just delete ) in the video_test.py file.

cv2.startWindowThread()

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

Thank you ,i try to it,but, not succeed

from face_classification.

oarriaga avatar oarriaga commented on June 3, 2024

Which version of OpenCV are you using?

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

python2 and opencv2.7.13,but i saw your code,so i make python3 and opencv 3.2.0

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

because my system can not python3 with opencv2.7.13,so i have two environment,one python2 with opencv 2.7.13,another, python3 with opencv3.20

from face_classification.

oarriaga avatar oarriaga commented on June 3, 2024

Could you tell me the line in which it fails, and along with the error?

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

(python3:6172): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(python3:6172): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

if run python2 ,Attempt to unlock mutex that was not locked

from face_classification.

xbsdsongnan avatar xbsdsongnan commented on June 3, 2024

OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize,

from face_classification.

Related Issues (20)

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.