Coder Social home page Coder Social logo

cnn-ris's Introduction

Expression-Clasification

Making accurate object detection at the edge: review and new approach

Datasets and AntCNN-G's trained models can be obtained in the following two ways:

1.Google Cloud Disk:https://drive.google.com/drive/folders/1WHebQdZrACVms0_3RDGxTTTSyuzfR48C?usp=sharing 2.链接:https://pan.baidu.com/s/1gai-6yjIL-QmLdNTDXUUnQ 提取码:dug8

Please put fer2013_data.h5, RAF_data.h5, CK_data.h5 in the data folder downloaded from the above link into the ./data path.Then, put the RAF_AntCNN and FER2013_AntCNN folders under the models folder downloaded from the above link into ./models.

That is, the data folder contains the following files:

    ./data:         
            --RAF_data.h5          
            --RAF.py             
            --fer2013_data.h5             
            --fer.py
            --CK_data.h5         
            --CK.py

The models folder contains the following files:

    ./models: 
            --RAF_AntCNN              folder  
              --PrivateTest_model.t7  
            --FER2013_AntCNN          folder  
              --PrivateTest_model.t7
            --AntCNN.py
            --AntGCNN.py
            --__init__.py

Experimental environment:

    python 3.6
    pytorch 0.4.0

Running on the Raspberry Pi 3B+:

    pytorch2onn.py: Pytorch cannot be directly converted to an IR file. 
            Therefore, you need to convert the pytorch model to an onxx file using the pytorch2onn.py file.
            Finally, you can convert the onnx file to an IR file on ubuntu.
    
    pi_demo.py: Run on the Raspberry Pi 3B+ using an IR file.

In addition, the modified path of the file is required.

First, we use the dlib library to capture faces. The implementation of this part can be viewed in our other project implementation:https://github.com/tobysunx/face_recognition

If this work is useful to you, please cite:

   Huang, Z., Yang, S., Zhou, M. et al. Making accurate object detection at the edge: review and new approach. 
   Artif Intell Rev (2021). https://doi.org/10.1007/s10462-021-10059-3

cnn-ris's People

Contributors

yangshunzhi1994 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.