Metadata-Version: 2.1
Name: skeraton
Version: 0.1.0
Summary: Keras implementation of skeleton transformer module
Home-page: https://github.com/Yutsuro/skeleton-transformer-Keras
Author: Yutsuro
Author-email: Yuki@utsu.ro
License: MIT
Keywords: Skeleton-Transformer Python Keras Action-Recognition Skeleton Pose-Estimation
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE

# Skeleton Transformer in Keras



Keras implementation of "skeleton transformer module", which is mentioned in [Skeleton-based Action Recognition with Convolutional Neural Networks](https://arxiv.org/abs/1704.07595).



## Install



You can install this module from [PyPI](https://pypi.org/project/skeraton) as `skeraton`.



```sh

pip install skeraton

```



## How to use



### Module



#### skeraton.SkeletonTransformer



##### Parameters:



All parameters are required.



**timesteps:** Timesteps of input time-series data (equal to number of frames, mentioned as 'T' in the paper)  

**kpts_dim:** Dimentions of keypoints (usually 2 (x, y) or 3 (x, y, z))

**output_dim:** Dimentions of output (mentioned as 'M' in the paper)



##### Input:



**x:** 3-dimentional tensor of shape (batchsize, timesteps, kpts_dim*N) where N is number of joints



## Pytorch implementation



We also have Pytorch implementation of this module:  

[https://github.com/Yutsuro/skeleton-transformer-Pytorch](https://github.com/Yutsuro/skeleton-transformer-Pytorch)
