Awesome general_navigation created by AdityaNG
Project description
General Navigation
General Navigation Models based on GNM, ViNT, NoMaD as a pytorch repo for quick and easy deployment.
Install it from PyPI
pip install general_navigation
If you want to connect with the Carla simulator, you will also need to seperately install carla
pip install carla==0.9.15 # Linux and Windows
pip install carla==0.9.5 # Linux and Windows
Usage
Creating a pytorch instance of the model
from general_navigation.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
$ python3 -m general_navigation --help
CONFIG_DIR /home/aditya/miniconda3/envs/oi/lib/python3.11/site-packages/general_navigation/models/config
usage: general_navigation [-h] [--device {auto,cuda,cpu}] [--media MEDIA]
options:
-h, --help show this help message and exit
--device {auto,cuda,cpu}, -d {auto,cuda,cpu}
--media MEDIA, -m MEDIA
File path, use camera index if you want to use the webcam
$ python3 -m general_navigation --media media/test.mp4
TODO
- Import models from visualnav-transformer
- Script to use specified video camera to feed video into the models
- Visualize model's trajectory output
- Arguments to CLI
- Auto download model weights from google drive
- Demo video
- PyPi release
- Example usage
- Carla Integration
- MPC implementation
- Visualize MPC reconstructed trajectory
- Visualize Steering angle
- Fix scaling issue
- Intrinsic matrix as argument
- Documentation:
mkdocs gh-deploy
- Linting fixes
- MyPy testing
- Add test cases for code coverage
Development
Read the CONTRIBUTING.md file.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
general_navigation-0.3.1.tar.gz
(202.9 kB
view hashes)
Built Distribution
Close
Hashes for general_navigation-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 991eb9e3d74ac1ef6d8885462204c10ea6c0a981bedbedb7a745c603d6ef6587 |
|
MD5 | 412b8bf70a6f20ea59ed1d3152bf04d6 |
|
BLAKE2b-256 | ce3be048b12b22fe80273ded9fd947d60430c934d68c0592275fdc6f38a50ed1 |