Traceback (most recent call last):


 "/data00/home/zhoulukuan/HRNet-Semantic-Segmentation/tools/train.py", line 247, in <module>

main()


 "/data00/home/zhoulukuan/HRNet-Semantic-Segmentation/tools/train.py", line 166, in main

writer_dict['writer'].add_graph(model, (dump_input, torch.zeros(1,473,473)))


 "/data00/home/zhoulukuan/miniconda3/lib/python3.7/site-packages/tensorboardX/writer.py", line 566, in add_graph

self.file_writer.add_graph(graph(model, input_to_model, verbose))


 "/data00/home/zhoulukuan/miniconda3/lib/python3.7/site-packages/tensorboardX/pytorch_graph.py", line 225, in graph

_ = model(args)
# don't catch, just print the error message


 "/data00/home/zhoulukuan/miniconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)
TypeError: forward() missing 1 required positional argument: 'labels'

Traceback (most recent call last):

 "yowsup-cli", line 368, in <module>
if not parser.process():

 "yowsup-cli", line 272, in process
self.startSendClient()

 "yowsup-cli", line 324, in startSendClient
stack.start()

 "/root/yowsup/yowsup/demos/sendclient/stack.py", line 31, in start
self.stack.loop()

 "/root/yowsup/yowsup/stacks/yowstack.py", line 195, in loop
asyncore.loop(*args, **kwargs)

 "/usr/lib/python2.7/asyncore.py", line 216, in loop
poll_fun(timeout, map)

 "/usr/lib/python2.7/asyncore.py", line 156, in poll
read(obj)

 "/usr/lib/python2.7/asyncore.py", line 87, in read
obj.handle_error()

 "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()

 "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
self.handle_read()

 "/root/yowsup/yowsup/layers/network/layer.py", line 88, in handle_read
self.receive(data)

 "/root/yowsup/yowsup/layers/network/layer.py", line 96, in receive
self.toUpper(data)

 "/root/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)

 "/root/yowsup/yowsup/layers/stanzaregulator/layer.py", line 29, in receive
self.processReceived()

 "/root/yowsup/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived
self.toUpper(oneMessageData)

 "/root/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)

 "/root/yowsup/yowsup/layers/auth/layer_crypt.py", line 65, in receive
self.toUpper(payload)

 "/root/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)

 "/root/yowsup/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)

 "/root/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)

 "/root/yowsup/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)

 "/root/yowsup/yowsup/layers/__init__.py", line 75, in toUpper
self.__upper.receive(data)

 "/root/yowsup/yowsup/layers/axolotl/layer.py", line 122, in receive
if not self.processIqRegistry(protocolTreeNode):

 "/root/yowsup/yowsup/layers/__init__.py", line 155, in processIqRegistry
successClbk(protocolTreeNode, originalIq)

 "/root/yowsup/yowsup/layers/axolotl/layer.py", line 182, in <lambda>
self._sendIq(entity, lambda a, b: self.onGetKeysResult(a, b, self.processPendingMessages), self.onGetKeysError)

 "/root/yowsup/yowsup/layers/axolotl/layer.py", line 361, in onGetKeysResult
sessionBuilder.processPreKeyBundle(preKeyBundle)

 "build/bdist.linux-x86_64/egg/axolotl/sessionbuilder.py", line 166, in processPreKeyBundle

 "/root/yowsup/yowsup/layers/axolotl/store/sqlite/liteaxolotlstore.py", line 17, in getIdentityKeyPair
return self.identityKeyStore.getIdentityKeyPair()

 "/root/yowsup/yowsup/layers/axolotl/store/sqlite/liteidentitykeystore.py", line 31, in getIdentityKeyPair
publicKey, privateKey = resultTypeError: 'NoneType' object is not iterable