Traceback (most recent call last):


 "train.py", line 167, in <module>

tf.app.run()


 "D:\Program 
s\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run

_sys.exit(main(argv))


 "train.py", line 163, in main

worker_job_name, is_chief, FLAGS.train_dir)


 "D:\Python\Tensorflow\models\research\object_detection\trainer.py", line 358, in train

saver=saver)


 "D:\Program 
s\Python36\lib\site-packages\tensorflow\contrib\slim\python\slim\learning.py", line 791, in train

return total_loss
UnboundLocalError: local variable 'total_loss' referenced before assignment


Traceback (most recent call last):


 "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 766, in open_url

return open_with_auth(url, self.opener)


 "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 961, in _socket_timeout

return func(*args, **kwargs)


 "c:\python3.7\lib\site-packages\setuptools\package_index.py", line 1079, in open_with_auth

fp = opener(request)


 "c:\python3.7\lib\urllib\request.py", line 525, in open

response = self._open(req, data)


 "c:\python3.7\lib\urllib\request.py", line 543, in _open

'_open', req)


 "c:\python3.7\lib\urllib\request.py", line 503, in _call_chain

result = func(*args)


 "c:\python3.7\lib\site-packages\setuptools\ssl_support.py", line 161, in https_open

lambda host, **kw: VerifyingHTTPSConn(host, self.ca_bundle, **kw), req


 "c:\python3.7\lib\urllib\request.py", line 1319, in do_open

raise URLError(err)

urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>
