Introducing Flowrence - a Bayesian framework for optimising traffic flow in cities.
It is recommended to use a virtual environment for this project. First, clone the repository:
git clone [email protected]:yu202147657/L48_Flowrence.git && cd L48_Flowrence
Then create and activate the venv:
python3 -m venv .venv
source .venv/bin/activate
You may need to apt install python3.10-venv
, if this command fails, before retrying. The virtual env can be deactivated by running deactivate
in the terminal.
CityFlow is the traffic simulator used for this project. It can be installed with the following commands (taken from the CityFlow installation guide):
sudo apt update && sudo apt install -y build-essential cmake
sudo apt-get install python3-dev
git clone https://github.com/cityflow-project/CityFlow.git
pip install ./CityFlow
The project's requirements can now be installed using
pip install -r requirements.txt