Metadata-Version: 2.1
Name: general_navigation
Version: 0.1.1
Summary: Awesome general_navigation created by AdityaNG
Home-page: https://github.com/AdityaNG/general-navigation/
Author: AdityaNG
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: torch ==2.2.2
Requires-Dist: torchvision
Requires-Dist: numpy ==1.24.4
Requires-Dist: setuptools ==65.5.0
Requires-Dist: einops ==0.8.0
Requires-Dist: opencv-python
Requires-Dist: efficientnet-pytorch
Requires-Dist: vit-pytorch
Requires-Dist: platformdirs
Requires-Dist: gdown
Requires-Dist: diffusers
Requires-Dist: matplotlib
Requires-Dist: wandb
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: coverage ; extra == 'test'
Requires-Dist: flake8 ; extra == 'test'
Requires-Dist: black ; extra == 'test'
Requires-Dist: isort ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: mypy ; extra == 'test'
Requires-Dist: gitchangelog ; extra == 'test'
Requires-Dist: mkdocs ; extra == 'test'
Requires-Dist: lark ; extra == 'test'
Requires-Dist: types-PyYAML ; extra == 'test'

# General Navigation

![PyPI - Downloads](https://img.shields.io/pypi/dd/general-navigation)
[![PyPI - Version](https://img.shields.io/pypi/v/general-navigation)](https://pypi.org/project/general-navigation/)
[![codecov](https://codecov.io/gh/AdityaNG/general-navigation/branch/main/graph/badge.svg?token=general-navigation_token_here)](https://codecov.io/gh/AdityaNG/general-navigation)
[![CI](https://github.com/AdityaNG/general-navigation/actions/workflows/main.yml/badge.svg)](https://github.com/AdityaNG/general-navigation/actions/workflows/main.yml)
![GitHub License](https://img.shields.io/github/license/AdityaNG/general-navigation)

![Demo](https://raw.githubusercontent.com/AdityaNG/general-navigation/main/media/demo.gif)

General Navigation Models based on GNM, ViNT, NoMaD as a pytorch repo for quick and easy deployment.
Awesome general_navigation created by AdityaNG.

## Install it from PyPI

```bash
pip install general_navigation
```

## Usage

Creating a pytorch instance of the model
```py
from .models.factory import get_default_config, get_model, get_weights

config = get_default_config()
model = get_model(config)
model = get_weights(config, model, device)
```

Using the command line tool for inference
```bash
$ python -m general_navigation
```

## TODO

- [x] Import models from [visualnav-transformer](https://github.com/robodhruv/visualnav-transformer)
- [x] Script to use specified video camera to feed video into the models
- [x] Visualize model's trajectory output
- [x] Arguments to CLI
- [x] Auto download model weights from [google drive](https://drive.google.com/drive/folders/1a9yWR2iooXFAqjQHetz263--4_2FFggg)
- [x] Demo video
- [x] PyPi release
- [x] Example usage
- [ ] Carla Integration
- [ ] Fix scaling issue
- [ ] Intrinsic matrix as argument
- [x] Linting fixes
- [ ] MyPy testing
- [ ] Add test cases for code coverage

## Development

Read the [CONTRIBUTING.md](CONTRIBUTING.md) file.

## References

- [visualnav-transformer](https://github.com/robodhruv/visualnav-transformer)
- [diffusion_policy](https://github.com/real-stanford/diffusion_policy)
