Questions tagged [pysyft]
39 questions
0
votes
1 answer
ModuleNotFoundError: No module named 'syft.frameworks'
I am trying to work on this example of Federated Learning.
https://towardsdatascience.com/federated-learning-3097547f8ca3
I have installed the PySyft package but I am getting this error.
ModuleNotFoundError Traceback (most…

Mina
- 47
- 1
- 9
0
votes
0 answers
PySyft AttributeError: 'DataFrame' object has no attribute 'federate' while reading data from csv
I am trying to implement that pysyft code for federated learing for my csv data . The tutorial i am following is this https://github.com/bt-s/Split-Learning-and-Federated-Learning/blob/master/src/federated_learning.py they used torch library FMNIST…

user12
- 761
- 8
- 24
0
votes
0 answers
PySyft from Jupyter notebook to Python script
I am trying to follow the instructions of PySyft in order to launch a
duet.
My actual problem is that I can not execute the following commands in a .py file
duet.store.pandas
duet.store[key]
Τhis is a demo to reproduce the mistake
Firstly "Data…

sofoklisallos
- 1
- 1
0
votes
0 answers
Got an error (element 0 of tensors does not require grad and does not have a grad_fn) while performing learning using pytorch with diabates data set
I am performing Federated learning using pysyft and pytorch. I am using a diabetes dataset. I got this error while training(element 0 of tensors does not require grad and does not have a grad_fn). I am attaching the screen shots of my error and…
0
votes
1 answer
Multiple values for argument
I am trying to convert this code passing it with pysyft refference
like this :
class SyNet(sy.Module):
def __init__(self,embedding_size, num_numerical_cols, output_size, layers, p ,torch_ref):
super(SyNet, self ).__init__( embedding_size,…

Thodoris Samaras
- 35
- 5
0
votes
1 answer
AttributeError: 'WebsocketServerWorker' object has no attribute 'add_dataset'
When I using pysyft to do some Federated Learning task, there is an error:
AttributeError: 'WebsocketServerWorker' object has no attribute 'add_dataset'
def start_websocket_server_worker(id, host, port, hook, verbose, training, dataset,…

gle Goo
- 1
0
votes
1 answer
tf_encrypted.player how to config?
While training the model federated learning with keras on syft,to start workers on different system as client workers, particular line of command to be exectued on terminal.
python -m tf_encrypted.player --config /tmp/tfe.config client name
this…

maddy23
- 138
- 2
- 13
0
votes
3 answers
Syft (PySyft) : ModuleNotFoundError 'syft_proto.messaging.v1.protocol_pb2'
I run this simple code on google colab.
###cell 1 : `!pip install syft`
###cell 2 : `import syft as sy`
and i got this error :
ModuleNotFoundError: No module named 'syft_proto.messaging.v1.protocol_pb2'
There is the full error message…

YANIS MEZIANI
- 31
- 4
-1
votes
1 answer
Tensor Size Miss match on loss function
1:
when attempting to perfrom a pytorch training sequence using batch sizes, my loss function appears to error when the nn output and a batch are put through a MSEloss function.
2:
have tried to search about nn padding, however this is not a covnet…

GIGA-Money
- 33
- 6