Describe the bug
Execute Part 11 - Secure Deep Learning Classification.ipynb ecounter "AttributeError: 'int' object has no attribute 'is_wrapper'"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error here:).
Screenshots

Desktop (please complete the following information):
On Google colaboratory
Hey, indeed there is a bug in our last release 0.1.18 when operating with constant values, I'm working on a fix right now.
@LaRiffle Thank you:)! I appreciate your help.
It will be merged very soon so if you can build the code from source in your colab you should benefit from it quickly, otherwise the 1.19 release will arrive in a few days. :)
Thank you @LaRiffle!
For information, this is my config to build and run the latest code from PySyft on Colab:
!pip install tf-encrypted
! URL="https://github.com/openmined/PySyft.git" && FOLDER="PySyft" && if [ ! -d $FOLDER ]; then git clone -b dev --single-branch $URL; else (cd $FOLDER && git pull $URL && cd ..); fi;
!cd PySyft; python setup.py install > /dev/null
import os
import sys
module_path = os.path.abspath(os.path.join('./PySyft'))
if module_path not in sys.path:
sys.path.append(module_path)
!pip install --upgrade --force-reinstall lz4
!pip install --upgrade --force-reinstall websocket
!pip install --upgrade --force-reinstall websockets
!pip install --upgrade --force-reinstall zstd
I'm sure this is sub optimal, but it works ;)
Most helpful comment
2274 should solve
It will be merged very soon so if you can build the code from source in your colab you should benefit from it quickly, otherwise the 1.19 release will arrive in a few days. :)