Coder Social home page Coder Social logo

failed to replicate the results about leaf HOT 3 OPEN

talwalkarlab avatar talwalkarlab commented on September 4, 2024
failed to replicate the results

from leaf.

Comments (3)

oscarciceri avatar oscarciceri commented on September 4, 2024

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

from leaf.

tdye24 avatar tdye24 commented on September 4, 2024

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.

from leaf.

janesser avatar janesser commented on September 4, 2024

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...

from leaf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.