<jupyter_start><jupyter_text>Secure Multi Party Computation: Data Scientist Private Inference Image EvaluationWelcome!This tutorial will show you how to evaluate Encrypted images using Duet and SyMPC. This notebook illustrates the Data Owner 1 view on the operations.  0 - Libraries Let's import the main libraries<jupyter_code>import torch  #  tensor computation
import syft as sy  # core library for remote execution
sy.load("sympc")<jupyter_output><empty_output><jupyter_text>1 -  Launch a Duet Server<jupyter_code># Start Duet local instance
duet = sy.launch_duet(loopback=True)<jupyter_output><empty_output><jupyter_text>Automate request response Now the data owner instead of handling the requests manually, he will accept the request of type `reconstruct` automatically.<jupyter_code>duet.requests.add_handler(action="accept")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0660486674391657, 'fraction_numerical': 0.0034762456546929316, 'mean_word_length': 7.3076923076923075, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '43352', 'license': 'Apache-2.0', 'n_tokens_mistral': 255, 'n_tokens_neox': 245, 'n_words': 85, 'path': 'examples/secure-multi-party-computation/Duet/Inference/DataOwner_1.ipynb', 'repo_name': 'Bhuvan-21/PySyft', 'size': '863'}