Comments (2)
As found in one issue, svhn_iterative_process.initialize()
doesn't have a .model attribute. So instead model weight was obtained using svhn_iterative_process.get_model_weights(state)
but while using it in overallLosssvhn it's throwing an error saying LearningProcess can't be passed whereas we are providing model weights using .get_model_weights.
from federated.
Can you post a full stack trace? Additionally, as @JDRanpariya mentions, you can't pass the state of the learning process into your federated evaluation, it just expects the model weights. The setup they describe, ie. something like
weights = svhn_iterative_process.get_model_weights(state)
svhn_evaluation(weights, federated_train_data_svhn)
makes sense, but if this is causing you errors please post the full logs.
from federated.
Related Issues (20)
- Implemented simulation tff code to be distribute from server to clients. HOT 2
- An error went when I ran pip install --upgrade tensorflow-federated HOT 2
- AttributeError: module 'tensorflow._api.v2.nest' has no attribute 'map_struture' HOT 1
- Documentation Issue - build_fed_kmeans HOT 1
- Error installing Tensorflow Federated with Python 3.9 HOT 4
- OperatorNotAllowedInGraphError Traceback (most recent call last)
- TFF using model resnet,the val accuracy has always been a result of random guessing
- AttributeError: module 'numpy' has no attribute '_no_nep50_warning' when importing TensorFlow Federated HOT 6
- Installation failed HOT 10
- Facing error in "Learning Attribute" Please Help. HOT 2
- tff.federated_computation(lambda: 'Hello World!')() stuck/hanging HOT 6
- Stuck at learning_process.initialize() and tff.federated_computation(lambda: 'Hello, World!')() HOT 1
- Security policy for tensorflow federated?
- Colab stuck at learning_process.initialize() HOT 14
- Exploding memory while training federated model on FLAIR Dataset HOT 3
- No GPU utilization when using the cpp execution context HOT 1
- perform cross-silo federated learning by TFF HOT 2
- Installtion failed HOT 5
- Keras 3 and TF 16.1 support HOT 13
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 federated.