Comments (7)
Seems Dockerfile has some problems. I would fix it later and please stay tuned.
from fl-bench.
ok thanks
from fl-bench.
If you still work on the env stuffs, try using pip or miniconda instead.
from fl-bench.
I chaged the old foder and I download it an other time but It's still the same problem
using pip or miniconda at wath step please ?
from fl-bench.
Cannot install nvidia-cublas-cu12.
• Installing nvidia-cusparse-cu12 (12.1.0.106)
The command '/bin/sh -c poetry install' returned a non-zero code: 1
(base) alami@alami-Latitude-7390:~/FL-bench-master$ # partition the CIFAR-10 according to Dir(0.1) for 100 clients
python generate_data.py -d cifar10 -a 0.1 -cn 100
run FedAvg on CIFAR-10 with default settings.
Use main.py like python main.py [args ...]
❗ Method name should be identical to the .py
file name in src/server
.
python main.py fedavg -d cifar10
Traceback (most recent call last):
File "/home/alami/FL-bench-master/generate_data.py", line 10, in
from src.utils.tools import fix_random_seed
File "/home/alami/FL-bench-master/src/utils/tools.py", line 10, in
import torch
ModuleNotFoundError: No module named 'torch'
Traceback (most recent call last):
File "/home/alami/FL-bench-master/main.py", line 17, in
module = importlib.import_module(method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alami/anaconda/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/alami/FL-bench-master/src/server/fedavg.py", line 13, in
import torch
ModuleNotFoundError: No module named 'torch'
(base) alami@alami-Latitude-7390:/FL-bench-master$ python -m visdom.server/FL-bench-master$ cd data
/home/alami/anaconda/bin/python: Error while finding module specification for 'visdom.server' (ModuleNotFoundError: No module named 'visdom')
(base) alami@alami-Latitude-7390:
(base) alami@alami-Latitude-7390:/FL-bench-master/data$ python generate_data.py -d cifar10 -a 0.1 -cn 100/FL-bench-master/data$ cd ../
python: can't open file '/home/alami/FL-bench-master/data/generate_data.py': [Errno 2] No such file or directory
(base) alami@alami-Latitude-7390:
(base) alami@alami-Latitude-7390:/FL-bench-master$ cd src/server/FL-bench-master/src/server$ python fedavg.py -d cifar10
(base) alami@alami-Latitude-7390:
Traceback (most recent call last):
File "/home/alami/FL-bench-master/src/server/fedavg.py", line 13, in
import torch
ModuleNotFoundError: No module named 'torch'
(base) alami@alami-Latitude-7390:/FL-bench-master/src/server$ python -m visdom.server/FL-bench-master/src/server$ ^C
/home/alami/anaconda/bin/python: Error while finding module specification for 'visdom.server' (ModuleNotFoundError: No module named 'visdom')
(base) alami@alami-Latitude-7390:
(base) alami@alami-Latitude-7390:~/FL-bench-master/src/server$
from fl-bench.
I have tested the poetry scheme on my WSL2 and it ran well. Maybe there is some incompatible problems.
My wsl2 info:
os: ubuntu 22.04
python: 3.10.13
gpu: 3070 laptop
gpu driver version: 546.33
cuda version: 12.3
Maybe you need to check your os and hardware.
Or try to install nvidia-cublas-cu12 manually?
from fl-bench.
This issue is closed due to long time no response.
from fl-bench.
Related Issues (20)
- Dataset problem HOT 2
- runtime erro HOT 4
- python generate_data.py -d medmnistC -a 0.1 -cn 100 HOT 8
- Comparison of the results of FedAvg on Cifar with the original paper HOT 3
- question HOT 2
- please can somebody helps me
- please can somebody helps me to solve this problem HOT 5
- COPY failed: forbidden path outside the build context: ../ () HOT 3
- Changing "finetune_epoch" doesn't affect test accuracies. HOT 4
- [Implementation Error] algorithm "ccvr" code lost a "()" HOT 5
- Are u considering to add the FedMix algo in the repository? HOT 2
- There is no VALIDATION set for FEMNIST LEAF - help wanted HOT 8
- FL-bench welcomes PRs
- Hi, thanks for your contributions to the FL community, you are extremely a talented person
- Elastic aggregation and Non-iid data by using dirichlet distribution scenario HOT 5
- 我想把大佬你复现的pfedla的cnnwithbn迁移进这个model中,该如何迁移呢? HOT 7
- why after fine tunning accuracy shows 0% ?? HOT 10
- server aggregation about BN layers HOT 5
- pfedla with high cpu occupy and low gpu occupy HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fl-bench.