Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python3.6/dist-packages/scapy/sendrecv.py", line 314, in send

realtime=realtime, return_packets=return_packets)


 "/usr/local/lib/python3.6/dist-packages/scapy/sendrecv.py", line 287, in __gen_send

s.send(p)


 "/usr/local/lib/python3.6/dist-packages/scapy/arch/linux.py", line 533, in send

sx = raw(ll(x))


 "/usr/local/lib/python3.6/dist-packages/scapy/compat.py", line 119, in raw

return bytes(x, encoding="utf8")
TypeError: encoding without a string argument

Traceback (most recent call last):


 "fine_tune_embedding.py", line 309, in <module>

epochs=4)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/keras/engine/training.py", line 1213, in fit

self._make_train_function()


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/keras/engine/training.py", line 316, in _make_train_function

loss=self.total_loss)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/keras/optimizer_v2/optimizer_v2.py", line 506, in get_updates

return [self.apply_gradients(grads_and_vars)]


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/keras/optimizer_v2/optimizer_v2.py", line 441, in apply_gradients

kwargs={"name": name})


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/distribute/distribute_lib.py", line 1917, in merge_call

return self._merge_call(merge_fn, args, kwargs)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/distribute/distribute_lib.py", line 1924, in _merge_call

return merge_fn(self._strategy, *args, **kwargs)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/keras/optimizer_v2/optimizer_v2.py", line 494, in _distributed_apply

with ops.control_dependencies(update_ops):


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 5257, in control_dependencies

return get_default_graph().control_dependencies(control_inputs)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/framework/func_graph.py", line 356, in control_dependencies

return super(FuncGraph, self).control_dependencies(filtered_control_inputs)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 4691, in control_dependencies

c = self.as_graph_element(c)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3610, in as_graph_element

return self._as_graph_element_locked(obj, allow_tensor, allow_operation)


 "/home/rrevutch/.conda/envs/training/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3699, in _as_graph_element_locked

(type(obj).__name__, types_str))
TypeError: Can not convert a NoneType into a Tensor or Operation.
