Alberto Ibarrondo
Alberto Ibarrondo
[`Demo_8_HammingDist.py`](https://github.com/ibarrond/Pyfhel/blob/master/examples/Demo_8_HammingDist.py) shows how to calculate the hamming distance in a well detailed script. As mentioned by @AlexanderViand , the main requirement is to encode vectors with binary values `{0,1}*`, in...
Very nice inspection! You don't need to align scales to multiply (the final scale will be just the multiplication of both scales), but I forgot you need to align mod_levels....
Hurray! ```python ctxt1= ptxt1= ctxt2= ctxt3= This works -> This DOES work -> ```
I added a regression test to keep track of this issue in `test_ckks.py`: https://github.com/ibarrond/Pyfhel/blob/f2c476d388f652e53b7c618a0590a80be456f939/Pyfhel/test/test_ckks.py#L31 As per v3.3.0, it has been fixed and should now work correctly.
Following up on Alex's suggestion, this paper might help you out to implement a CKKS-based CNN: https://eprint.iacr.org/2018/1041
Closing this issue with all the provided links as references to check out. Feel free to open new issues for individual operations inside the CNN (e.g., convolution), and we will...
It seems this same issue was already risen in #104 . Besides, I strongly suggest upgrading to more recent versions of Pyfhel (3+), since older versions (
Ok, so your new error message (the first line where the `error` word appears after the `Traceback`) is `FileNotFoundError: [Errno 2] No such file or directory: 'Pyfhel/SEAL/SEAL/seal'`. Once again, this...
Oh ok! To clone the particular tag/version you seek, just run: `git clone --recursive https://github.com/ibarrond/Pyfhel.git --branch=v2.3.1` There must be a way to checkout a tag in an already downloaded repo...
Sadly there is little I can do to help beyond what #104 mentioned. `Pyfhel==2.3.1` is based on an old version of SEAL, thus I encourage you to drop it and...