No Attribute and Unexpected Keyword argument error #277
Replies: 3 comments
-
I am having the same issue here. When I remove the |
Beta Was this translation helpful? Give feedback.
-
Yeah, I did that too, I removed it and it works. Maybe this might be an official fix, I don't know. Thanks for replying back though |
Beta Was this translation helpful? Give feedback.
-
Hi @karthikraja95 the codes were tested before launching for sure. However, some part of the API is getting changed which will be added in the next release soon. For the time being we are really sorry for some inconvenience you are having. Thanks for your patience. Here is the PR for the 'name' parameter changed. |
Beta Was this translation helpful? Give feedback.
-
I have been following the Federated Learning course and now I am in Concept 15 and 16, where we try to the max and min of the ages. The Openmined Notebook used
data_ptr.float().amax()
anddata_ptr.float().amin()
. It throws AttributeError: 'TensorPointer' object has no attribute 'amax'I resolved this by using
max()
andmin()
instead ofamax()
andamin()
I got TypeError: add_handler() got an unexpected keyword argument 'name' when adding request handler while executing the following code
duet.requests.add_handler(name="result_download", action="accept")
I am not sure why the Notebook code is not working on my local system. I definitely know that someone at OpenMinded tested these before releasing the code? Just wondering what the reason and how to solve this issue?
Thanks
Karthik
Beta Was this translation helpful? Give feedback.
All reactions