Comments (7)
Thanks for your interest! Please feel free to let us know if you have any questions or suggestions :)
from federatedscope.
How do I resolve WARNING: cannot import name 'Server' from 'federatedscope.core.worker.server' (C:\Users\DRAGON\Desktop\FederatedScope-master\federatedscope\core\worker\server.py) in federatedscope.contrib.trainer
, some modules are not available.
from federatedscope.
2022-05-31 11:20:27,602 (trainer:583) ERROR: current flop count implementation is for general trainer case: 1) ctx.data_batch = [x, y]; and2) the ctx.model takes only x as input.Please check the forward format or implement your own flop_count function
from federatedscope.
2022-05-31 11:20:27,602 (trainer:583) ERROR: current flop count implementation is for general trainer case: 1) ctx.data_batch = [x, y]; and2) the ctx.model takes only x as input.Please check the forward format or implement your own flop_count function
Please provide more detail about your experiments, such as the dataset, model, and trainer type :)
from federatedscope.
cfg.trainer.type = 'general',cfg.data.type = 'FEMNIST',cfg.model.type = 'ConvNet2'
from federatedscope.
cfg.trainer.type = 'general',cfg.data.type = 'FEMNIST',cfg.model.type = 'ConvNet2'
So do you run the example provided in the tutorial, as:
python federatedscope/main.py --cfg federatedscope/example_configs/femnist.yaml
Or task some customization? Since the provided example can be run successfully in the playground, I need more information to help you debug :)
from federatedscope.
This thread is closed, and let us know if you have more questions. Welcome to join our Slack channel or DingDing group for discussion :)
Thanks again for your interest!
from federatedscope.
Related Issues (20)
- Offsite tuning code with multigpu setting throws error HOT 3
- Smaller test/val loss but lower evaluation accuracy HOT 3
- How to use multi GPU to finetune Llama2 HOT 2
- Unable to run demo in hyperparameter optimization HOT 2
- Server global evaluation total number HOT 1
- Error with 4 bit quantized LLM HOT 3
- TypeError: call_file_data() missing 1 required positional argument: 'client_cfgs' HOT 6
- Some questions about Backdoor Bench HOT 2
- 训练得到的total_flops是负数 HOT 2
- LDA splitter:ValueError: too many values to unpack (expected 2) HOT 2
- how can i use my saving model HOT 1
- how can i use my saving model HOT 3
- How can i get the output result? HOT 1
- Soft prompt Tuning
- one bug in federatedscope/gfl/fedsageplus/trainer.py
- 关于图学习中链接任务的样例使用错误 HOT 1
- Issue with federate.method set to global HOT 1
- 运行代码FederatedScope/tree/FSreal,得不到想要的结果,请问可能是什么原因?
- GPU Memory Issue HOT 10
- too many values to unpack (expected 2) in model_builder.py HOT 1
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 federatedscope.