Traceback (most recent call last):


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/plan.py", line 290, in build

self.add_translation(translator)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/plan.py", line 497, in add_translation

role = plan_translator(self).translate()


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/translation/torchscript.py", line 47, in translate

torchscript_plan = jit.trace(wrap_stateful_plan, (*args, plan_params))


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/torch/jit/__init__.py", line 906, in trace

_force_outplace)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/translation/torchscript.py", line 43, in wrap_stateful_plan

return translation_plan(*args[:-1])


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/plan.py", line 381, in __call__

result = self.role.execute()


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/role.py", line 168, in execute

self._execute_action(action)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/role.py", line 227, in _execute_action

response = method(*args_, **kwargs_)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/generic/frameworks/hook/hook.py", line 340, in overloaded_func

response = handle_func_command(command)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/execution/placeholder.py", line 67, in handle_func_command

response = new_type.handle_func_command(new_command)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/frameworks/torch/tensors/interpreters/native.py", line 384, in handle_func_command

response = cls._get_response(cmd, args_, kwargs_)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/frameworks/torch/tensors/interpreters/native.py", line 418, in _get_response

response = command_method(*args_, **kwargs_)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/torch/nn/functional.py", line 1484, in embedding

return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/generic/frameworks/hook/hook.py", line 340, in overloaded_func

response = handle_func_command(command)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/frameworks/torch/tensors/interpreters/native.py", line 384, in handle_func_command

response = cls._get_response(cmd, args_, kwargs_)


 "/home/erik/Projects/federated_ner/venv/lib/python3.7/site-packages/syft/frameworks/torch/tensors/interpreters/native.py", line 418, in _get_response

response = command_method(*args_, **kwargs_)
RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.FloatTensor instead (while checking arguments for embedding)

Traceback (most recent call last):


 "c:\python27\lib\site-packages\pyocd\coresight\discovery.py", line 158, in _create_1_ap

ap = AccessPort.create(self.dp, ap_address)


 "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 342, in create

ap.init()


 "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking

return func(self, *args, **kwargs)


 "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 528, in init

self._init_hprot()


 "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 579, in _init_hprot

csw = AccessPort.read_reg(self, self._reg_offset + MEM_AP_CSW)


 "c:\python27\lib\site-packages\pyocd\utility\concurrency.py", line 28, in _locking

return func(self, *args, **kwargs)


 "c:\python27\lib\site-packages\pyocd\coresight\ap.py", line 404, in read_reg

return self.dp.read_ap(self.address.address + addr, now)


 "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 615, in read_ap

return read_ap_cb()


 "c:\python27\lib\site-packages\pyocd\coresight\dap.py", line 603, in read_ap_cb

result = result_cb()


 "c:\python27\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback

six.raise_from(self._convert_exception(error), error)


 "c:\python27\lib\site-packages\six.py", line 737, in raise_from

raise value
TransferFaultError: SWD/JTAG Transfer Fault
