Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to replicate the results #23

Open
youyeg opened this issue Jan 26, 2020 · 3 comments
Open

failed to replicate the results #23

youyeg opened this issue Jan 26, 2020 · 3 comments

Comments

@youyeg
Copy link

youyeg commented Jan 26, 2020

I have ubuntu 16.04 with two GPUs, and I did these steps, but it fails to perform paper_experiments

  1. conda create --name leafenv python=3.5
  2. git clone https://github.com/TalwalkarLab/leaf
  3. pip3 install -r requirements.txt
  4. ./paper_experiments/femnist.sh

but after some rounds with zero

s Failed to import the site module Traceback (most recent call last): File "/lib/python3.5/site.py", line 703, in <module> main() File "/lib/python3.5/site.py", line 670, in main virtual_install_main_packages() File "/lib/python3.5/site.py", line 553, in virtual_install_main_packages f = open(os.path.join(os.path.dirname(__file__), 'orig-prefix.txt'))

mv: cannot stat 'sys_metrics.csv': No such file or directory

mv: cannot stat 'stat_metrics.csv': No such file or directory

@oscarciceri
Copy link

did you find a solution to this? I have the same problem

@tdye24
Copy link

tdye24 commented Mar 7, 2021

I have ubuntu 16.04 with two GPUs, and I did these steps, but it fails to perform paper_experiments

  1. conda create --name leafenv python=3.5
  2. git clone https://github.com/TalwalkarLab/leaf
  3. pip3 install -r requirements.txt
  4. ./paper_experiments/femnist.sh

but after some rounds with zero

s Failed to import the site module Traceback (most recent call last): File "/lib/python3.5/site.py", line 703, in <module> main() File "/lib/python3.5/site.py", line 670, in main virtual_install_main_packages() File "/lib/python3.5/site.py", line 553, in virtual_install_main_packages f = open(os.path.join(os.path.dirname(__file__), 'orig-prefix.txt'))

mv: cannot stat 'sys_metrics.csv': No such file or directory

mv: cannot stat 'stat_metrics.csv': No such file or directory

The names of generated files are metrics_stat.csv and metrics_sys.csv,you just need to rename them.

@janesser
Copy link

janesser commented Feb 2, 2022

Complete walkthrough works for me like

git checkout https://github.com/TalwalkarLab/leaf
cd leaf
conda create --name leafenv python=3.5
conda activate leafenv
conda install gcc_linux-64 gxx_linux-64
pip3 install -r requirements.txt
cd data/femnist/
./preprocess.sh
cd ../../paper_experiments
./femnist.sh

Then sampling of data begins...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants