Giter Club home page Giter Club logo

jrobchin / phormatics Goto Github PK

View Code? Open in Web Editor NEW
121.0 121.0 44.0 59.17 MB

Using A.I. and computer vision to build a virtual personal fitness trainer. (Most Startup-Viable Hack - HackNYU2018)

Python 40.78% Jupyter Notebook 45.63% CSS 4.58% JavaScript 9.02%
artificial-intelligence camera classification computer-vision data-science estimation fitness flask human keras model neural-network opencv pose python recognition tensorflow webrtc

phormatics's Issues

How to run this ?

Hi, can you please tell me how to make this project run?
I am not sure which conda version works well for this. I am new to the whole scenario. Any help would be appreciated

Frame freezes

Hi, I was able to get this running.
The issue now is that the frames freeze when I come in front of the camera and try to detect frames.
Is there something i can do about ths?

AttributeError: 'TfPoseEstimator' object has no attribute 'persistent_sess'

got such errors,help!
[phormatics]# python server/app.py
Traceback (most recent call last):
File "server/app.py", line 27, in
pose_estimator = TfPoseEstimator(graph_path=settings.GRAPH_PATH, target_size=settings.PROCESSING_DIMS)
File "/data/app/yaowu/phormatics/server/helpers/estimator.py", line 257, in init
graph_def.ParseFromString(f.read())
File "/data/app/Anaconda/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 120, in read
self._preread_check()
File "/data/app/Anaconda/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 80, in _preread_check
compat.as_bytes(self.__name), 1024 * 512, status)
File "/data/app/Anaconda/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 519, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: /data/app/yaowu/phormatics/models/mobilenet/graph_opt.pb; No such file or directory
Exception ignored in: <bound method TfPoseEstimator.del of <helpers.estimator.TfPoseEstimator object at 0x7fdeb5b2da58>>
Traceback (most recent call last):
File "/data/app/yaowu/phormatics/server/helpers/estimator.py", line 280, in del
self.persistent_sess.close()
AttributeError: 'TfPoseEstimator' object has no attribute 'persistent_sess'

Liftr app

Can you please share the code for the lifr-pytorch version?

Environment yml file does not work

The environment yml file states does not let you create a conda envoronment. Please let me know about any ways in which I can setup the environment to run this.

Tuple Trouble

Hi @jrobchin
Can you tell me how to navigate in this repository and i keep on getting this error whenever in run app.py can you help me?
namedtuple() got an unexpected keyword argument 'verbose'

the server dont give me any result

when i work from the server it doesn't give me any result or any action ?
i am afraid that i am doing some thing wrong after clone this repo
so could anyone tell me what should i do after cloning 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.