-
Notifications
You must be signed in to change notification settings - Fork 39
Cryptonets do not reach acceptable accuracy #266
Comments
The choice of parameters is quite aggressive, resulting in low accuracy with some weights. You may try retraining the model. You may also modify |
When I try do test it again, I met another problem. This happened many times.
Do I need to do anything every time before testing the model? |
how to merge layers if we have biases? |
I finished all the build and got to /he-transformer/examples/MNIST/Cryptonets and run
python train.py
After that I entered
NGRAPH_ENCRYPT_DATA=1 \ NGRAPH_HE_SEAL_CONFIG=$HE_TRANSFORMER/configs/he_seal_ckks_config_N13_L7.json \ NGRAPH_TF_BACKEND=HE_SEAL \ python test.py --batch_size=4096
Just as the Readme.md file said, but got an accuracy of 0.1, which means the model didn't work at all. Maybe I made something wrong. Please look into it and teach me how to correct.
this is the total result:
`(venv-tf-py3) mugi@mugi-Precision-5820-Tower:~/he-transformer/examples/MNIST/Cryptonets$ NGRAPH_ENCRYPT_DATA=1 \
I'm using Ubuntu 18.04 and all the dependencies are the same as the instruction.
The text was updated successfully, but these errors were encountered: