mano3-1 / human-activity-recognition Goto Github PK
View Code? Open in Web Editor NEWClassifying human activities from pose by posenet model
Classifying human activities from pose by posenet model
Hello @mano3-1!
Thank you to share your code, it's a really interesting application.
I'm trying to reproduce your process, but I'm having this error in colab, when function model.fit() is called inside the execution of --> test = train(fnames ,dict_ ,model)
ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type numpy.ndarray).
I have tried to add .astype('object') or .astype('float32') when load the values into an array previous to train, but without success. Dimensions of the X ndarray are correct, as you can see here, but i still have the problem:
print(type(X)) --> <class 'numpy.ndarray'>
print(len(X)) #folders --> 51
print(len(X[0])) #frame --> 20
print(len(X[0][0])) #heatmap -->16
print(len(X[0][0][0])) #heatmap --> 21
print(len(X[0][0][0][0])) #heatmap --> 17
print(X.size) --> 1020 # 51 train folders * 20 frames
Did you have this problem before?
Thanks in advance!
nice work,
Mario
Extra info:
I'm working on pose_detection.ipynb notebook after generating succesfully the folders with .npy files of classes "Punch" and "WalkingWithDog"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.