Skip to content

boschresearch/fm4su

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicting the Road Ahead: A Knowledge Graph Based Foundation Model for Scene Understanding in Autonomous Driving

Purpose of the project

This software is a research prototype, solely developed for and published as part of the publication Predicting the Road Ahead: A Knowledge Graph Based Foundation Model for Scene Understanding in Autonomous Driving. It will neither be maintained nor monitored in any way.

Requirements

  1. Clone the repository
git clone <repo-url>
cd <path-to-repo>/scene-understanding-foundation-model
  1. Create (if needed) and activate your Conda environment
conda create --name <env-name> python=3.8 -y

# Activate the environment
conda activate <env-name>
  1. Install the Python dependencies
pip install --upgrade pip
pip install -r requirements.txt

Data Extraction

cd data_extract
python KGextract.py configs/config_20x11.yaml credentials.yaml

Experiments

cd T5-base
python T5_base.py configs/next_scene.yaml

Configuration: Modify ./configs/next_scene.yaml as needed. Notes on T5 Configuration

  • Task switch: Setting next_scene: True enables next-scene prediction; False enables multi-mask prediction. One setting takes precedence.
  • Coverage matrix: Avoid overly large coverage ranges. The T5 script can predict up to the central 100 regions; adjust your matrix so that the ego vehicle remains centered and the width is an odd number.

License

FM4SU is open-sourced under the AGPL-3.0 license. See the LICENSE file for details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Languages