PySyft
PySyft copied to clipboard
[CRITICAL][logger]][29360] UnknownPrivateException has been triggered at the point ptr.get()
Hi, Getting below error [CRITICAL][logger]][29360] UnknownPrivateException has been triggered at the point ptr.get()
Getting this issue only when we append multiple field values into the tensor.
- OS: Ubuntu
- OS Version: 20.04
- Language Version: Python 3.9
- Package Manager Version: conda 4.11.0
Whether the budget will create any issues? Attached the screenshot.
@Crazynovatech are you able to provide more example code and the version of Grid / Syft you are using?
Hi @madhavajay and @Crazynovatech, I have faced the same issue when I try to run this example DEPLOYING A SINGLE DOMAIN NODE at the final step to calculate the total number of Covid cases.
I'm using PySyft version 0.6.0, Python 3.9
Hope you can give me some clues to fix this. Thank you so much
# Calculate the total number of COVID cases
results = [dataset[f'{i}'] for i in range(10)]
from time import sleep
total_cases = 0
for result in results:
ptr = result.publish()
# print(ptr.get())
sleep(1)
total_cases += ptr.get()
print('The total number of COVID19 cases are: {}'.format(total_cases))
I am trying to follow the tutorial in L2C6 - Remote Data Science
and I get the same error.
Hello, I was having the same error in L2C6.
Here's the exception showed in the celery worker:
The problem went away after restarting the celeryworker container:
- In Docker, go to the "Container / Apps" menu on the upper left
- Expand "local_node"
- In "local_node-celeryworker-1" on the bottom right, click on restart
See image below.
After doing this, the code from L2C6 worked without changing anything.
@ricardocarvalhods In Slack it has been suggested to try pip install syft —pre
and hagrid launch domain —tag=latest
.
Yes as per @hadjipantelis suggestion 0.6 is a bit dated now we have the course3
code here which is compatible with dev
/ 0.7.0 betas
:
https://github.com/OpenMined/courses/tree/introduction-to-remote-data-science-dev