Skip to content

Latest commit

 

History

History
 
 

baselines

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Flower Baselines

Project Setup

Start by cloning the Flower Baselines project. We prepared a single-line command that you can copy into your shell which will clone the project for you:

git clone --depth=1 https://github.com/adap/flower.git && mv flower/baselines . && rm -rf flower && cd baselines

Project dependencies (such as flwr and torch) are defined in pyproject.toml. We recommend Poetry to install those dependencies and manage your virtual environment (Poetry installation), but feel free to use a different way of installing dependencies and managing virtual environments if you have other preferences. Once inside your Python virtual environment containing poetry, go ahead and run:

poetry install

Poetry will install all your dependencies in a newly created virtual environment if you haven't create and/or activated one. To verify that everything works correctly you can run the following command:

poetry run python3 -c "import flwr_baselines"