master_den
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.0%) to scientific vocabulary
Last synced: 7 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: denisgosalci
- License: mit
- Language: Python
- Default Branch: main
- Size: 49 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Created over 1 year ago
· Last pushed about 1 year ago
Metadata Files
Readme
License
Citation
README.rst
Trajectory Prediction Model Comparison
=======================================
This project compares various models in predicting trajectories, including:
- **Naive Models**: Linear Regression
- **Traditional Models**: Long Short-Term Memory (LSTM), Legendre Memory Units (LMU)
- **Novel Strategies**: Transformer, BitNet
The project evaluates these models based on their performance in forecasting human motion trajectories, with a particular focus on complex and dynamic environments such as sports.
Contents
--------
- `Project Overview <#project-overview>`_
- `Models <#models-included>`_
- `Setup Instructions <#setup-instructions>`_
- `Usage <#usage>`_
- `Results <#results>`_
- `Contributing <#contributing>`_
- `License <#license>`_
Project Overview
----------------
This project provides a framework for testing and comparing different neural network architectures and traditional models in predicting human motion trajectories. The aim is to identify which models perform best in terms of accuracy, robustness, and computational efficiency.
Models Included
---------------
The project includes a wide range of models, categorized as follows:
- **Naive Models**:
- ``one_layer_linear``
- ``two_layer_linear``
- ``pos_1l_linear`` (Position-Only One Layer Linear)
- ``vel_1l_linear`` (Velocity-Only One Layer Linear)
- ``pos_2l_linear`` (Position-Only Two Layer Linear)
- ``vel_2l_linear`` (Velocity-Only Two Layer Linear)
- **Traditional Models**:
- ``oslstm`` (One-Step LSTM)
- ``oslmu`` (One-Step LMU)
- ``uni_lstm`` (Univariate LSTM)
- ``uni_lmu`` (Univariate LMU)
- ``pos_lstm`` (Position-Only LSTM)
- ``vel_lstm`` (Velocity-Only LSTM)
- ``pos_lmu`` (Position-Only LMU)
- ``vel_lmu`` (Velocity-Only LMU)
- **Novel Strategies**:
- ``ostf`` (One-Step Transformer)
- ``os_bitnet`` (One-Step BitNet)
- ``uni_bitnet`` (Univariate BitNet)
- ``uni_trafo`` (Univariate Transformer)
- ``pos_bitnet`` (Position-Only BitNet)
- ``vel_bitnet`` (Velocity-Only BitNet)
- ``pos_trafo`` (Position-Only Transformer)
- ``vel_trafo`` (Velocity-Only Transformer)
**Model Naming Conventions**:
- ``vel``: Velocity-only models
- ``pos``: Position-only models
- ``uni``: Univariate models
- ``os``: One-step prediction models
Setup Instructions
------------------
Prerequisites
^^^^^^^^^^^^^
This project requires the following configuration:
- **Operating System**: Linux (POSIX compliant), tested on CentOS High Performance Cluster
- **Python**: 3.8 or higher
- **CUDA**: GPU support recommended for training (tested with CUDA 11.8)
- **Dependencies**: Listed in ``pyproject.toml``, installable via ``pip``
- **Conda**: Recommended for managing the environment
Installation
^^^^^^^^^^^^
First, clone the repository and navigate into the project directory::
git clone https://github.com/va42xuqi/master_den.git
cd master_den
Set up a Conda environment::
conda create -n trajectory-env python=3.8
conda activate trajectory-env
Install dependencies using ``pip`` from the ``pyproject.toml``::
pip install .
Ensure that your environment is configured for GPU usage if available, with PyTorch installed as follows::
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
.. note::
This project is tested and guaranteed to work on Linux environments only. Performance and compatibility on other operating systems are not ensured.
Usage
-----
Prepare your dataset according to the format described in the project documentation. The project can be run in various modes, including training, animation, and benchmarking.
To run the training script, use the following command::
python train.py --arch --mode --scene --pred_len 100 --hist_len 50 --logger wandb
Replace ```` with the desired model (e.g., ``ostf``, ``oslstm``, ``oslmu``, ``os_bitnet``) and set the appropriate ``mode`` and ``scene`` parameters.
For animations or benchmarks, adjust the mode parameter accordingly::
python train.py --arch lstm --mode animate --scene NBA
Results
-------
The results of the model comparisons are stored in the ``benchmark/`` directory, and visualizations are available in the ``plots/`` directory. You can find metrics such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and others, along with graphical evaluations comparing the predicted trajectories against ground truth.
Contributing
------------
If you would like to contribute to this project, please fork the repository and submit a pull request. Issues and suggestions are welcome.
License
-------
This project is licensed under the MIT License. See the ``LICENSE`` file for more details.
Owner
- Name: Denis Gosalci
- Login: denisgosalci
- Kind: user
- Repositories: 1
- Profile: https://github.com/denisgosalci
M.Sc. Informatik mit Fokus auf KI, Deep Learning & sequenzielle Modelle.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: master_den
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Denis
family-names: Gosalci
name-suffix: B.Sc.
email: denisgosalci@outook.de
orcid: "https://orcid.org/0009-0008-3769-3118"
repository-code: "https://github.com/va42xuqi/master_den.git"
abstract: >-
This work evaluates the performance of various neural
networks in predicting human trajectories in high-dynamic
environments with non-linear movements.
keywords:
- Trajectory Forecasting
- Sports Analytics
- Deep Learning
- Reccurent Neural Network
- Long-Short-Term-Memory (LSTM)
- Attention
- Transformer
- Transfer Learning
- Legendre Memory Units (LMU)
- Benchmarking
license: MIT
version: v.1.1.0
date-released: "2024-08-16"
doi: 10.5281/zenodo.13332150
citation-text: >-
Denis Gosalci. (2024). *master_den*: master_den v.1.0.0 (Version v.1.0.0). Zenodo. [https://doi.org/10.5281/zenodo.13332150](https://doi.org/10.5281/zenodo.13332150)
[](https://doi.org/10.5281/zenodo.13332150)
[](https://opensource.org/licenses/MIT)
[](https://github.com/va42xuqi/master_den)
GitHub Events
Total
Last Year
Dependencies
.github/workflows/python-package.yml
actions
- actions/checkout v4 composite
- actions/setup-python v3 composite
requirements.txt
pypi
- Pillow ==10.4.0
- Requests ==2.32.3
- av2 ==0.2.1
- click ==8.1.7
- codecarbon ==2.5.1
- joblib ==1.4.2
- lightning ==2.4.0
- matplotlib ==3.9.1.post1
- numpy ==2.0.1
- pandas ==2.2.2
- py7zr ==0.21.1
- rich ==13.7.1
- scipy ==1.14.0
- setuptools ==72.1.0
- torch ==2.4.0
setup.py
pypi