Traceback (most recent call last):


 "trainval_HKRM.py", line 370, in <module>

loss.backward()


 "/home/ubuntu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/tensor.py", line 107, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/home/ubuntu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/autograd/__init__.py", line 93, in backward

allow_unreachable=True)
# allow_unreachable flag
RuntimeError: Function 'PowBackward0' returned nan values in its 0th output.

Traceback (most recent call last):

 "/home/jeff/.local/lib/python2.7/site-packages/youtube_dl/extractor/generic.py", line 1649, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))

 "/home/jeff/.local/lib/python2.7/site-packages/youtube_dl/compat.py", line 2525, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))

 "/home/jeff/.local/lib/python2.7/site-packages/youtube_dl/compat.py", line 2514, in _XML
parser.feed(text)

 "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)

 "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise errParseError: not well-formed (invalid token): line 14, column 375