Coder Social home page Coder Social logo

astar-har's Introduction

A*HAR: A NEW BENCHMARK TOWARDS SEMI-SUPERVISED LEARNING FOR CLASS IMBALANCED HUMAN ACTIVITY RECOGNITION

The tensorflow code for "A*HAR: A NEW BENCHMARK TOWARDS SEMI-SUPERVISED LEARNING FOR CLASS IMBALANCED HUMAN ACTIVITY RECOGNITION " (https://arxiv.org/abs/2101.04859)

The environment can be found in dockerhub: docker pull loklu/mt_tensorflow:tf1.2.1_py35_lib2

The code runs on Python 3. Install the dependencies and prepare the datasets with the following commands:

pip install tensorflow==1.2.1 numpy scipy pandas
./prepare_data.sh

To train the model, run:

  • 'python /experiments/har/har.py --template X' for HAR models. modify arguments in template.py for choosing type of experiment and no: of unlabeled samples , Where X can be defined as suitable template

astar-har's People

Contributors

govindvs avatar arunraja-hub avatar lin-j avatar

Stargazers

DengErrrr avatar Jessica Sena avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

astar-har's Issues

cifar10 data_path error

Error in trials:

file_data = np.load(self.DATA_PATH)
  File "/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 428, in load
    fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'data/images/cifar/cifar10/cifar10_gcn_zca_v2.npz'

in cifar10.py, the path is built as follows:
DATA_PATH = os.path.join('data', 'images', 'cifar', 'cifar10', 'cifar10_gcn_zca_v2.npz')

Is there a missing data folder in this repo?

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.