Giter Site home page Giter Site logo

fer2013_model_test's Introduction

Facial ML trained model test program

This is a piece of reality test program for testing the trained ML data model.

Set environment for MacOS

clone this github repo

install python3.7

install pip

set up python virtual environment

  • python3 -m venv the-name-of-your-python-virtual-environment
  • source the-name-of-your-python-virtual-environment/bin/activate
  • For example as below
  • python3 -m venv emovm
  • source emovm/bin/activate

install the opencv (opencv-contrib-python-4.1.1.26)

sudo pip install opencv-contrib-python

install all required packaged (denpendences)

cd FER2013_Model_Test

  • pip install -r requirements.txt

Running tests

You can run the tests with:

python3 do_test.py

Quit this process

press Ctrl + c

Set environment for Windows

Windows environment need Admin previlige to install Python3 packages

Link abot to get ADMIN Access

https://www.itechtics.com/enable-administrator-account-windows-10/

https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/

https://www.itechtics.com/enable-administrator-account-windows-10/

https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/

install python3.7

install PIP for windows

https://www.makeuseof.com/tag/install-pip-for-python/

Run following command to install following tools

  • pip install virtualenv
  • pip install virtualenvwrapper-win

Make a directory for this project then cd into the project directory to clone the github repo

Create Python virtual running environment under your project directory as below

mkvirtualenv HelloPeter

Go into the cloned repo directory

cd fer2013_model_test

Run PIP to install all dependence packages

pip install -r requirements.txt pip install opencv-contrib-python

run the test program

python do_test.py

fer2013_model_test's People

Contributors

angui100 avatar

Watchers

James Cloos avatar Tom Shannon avatar  avatar

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.