Skip to content

Instantly share code, notes, and snippets.

@mhoangvslev
Last active June 28, 2024 10:31
Show Gist options
  • Save mhoangvslev/d5d44547c5b71bbf5e5fffeb0d445691 to your computer and use it in GitHub Desktop.
Save mhoangvslev/d5d44547c5b71bbf5e5fffeb0d445691 to your computer and use it in GitHub Desktop.
Quick guide FedShop

Step-by-step instructions:

  • Clone the paper branch of the repo with submodules:
git clone https://github.com/GDD-Nantes/FedShop.git -b paper --recurse-submodules
  • Install miniconda and install Python=3.8:
conda env create -n fedshop
conda activate fedshop
conda install python=3.8
  • Install the requirements:
# pip
pip install -r requirements.txt

# watdiv
cd generators/watdiv
follow the readme there
  • Generate dataset for small config:
python rsfb/benchmark.py generate data experiments/bsbm/config_small.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment