You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in main(args)
11 """
12
---> 13 sess_path = utils.create_session(args.log_dir, args.session_id) # Create a session path based on the session id.
14 G = tf.Graph()
15 with G.as_default():
/content/drive/My Drive/Colab_Notebooks/crowd_counting_tensorflow-master/src/utils.py in create_session(log_dir, session_id)
121 folder_path = os.path.join(log_dir, 'session:'+str(session_id))
122 if os.path.exists(folder_path):
--> 123 print ('Session already taken. Please select a different session id.')
124 sys.exit()
125 else:
NameError: name 'logdir' is not defined
The text was updated successfully, but these errors were encountered:
NameError Traceback (most recent call last)
in ()
19 # main(args)
20 #else:
---> 21 main(args)
in main(args)
11 """
12
---> 13 sess_path = utils.create_session(args.log_dir, args.session_id) # Create a session path based on the session id.
14 G = tf.Graph()
15 with G.as_default():
/content/drive/My Drive/Colab_Notebooks/crowd_counting_tensorflow-master/src/utils.py in create_session(log_dir, session_id)
121 folder_path = os.path.join(log_dir, 'session:'+str(session_id))
122 if os.path.exists(folder_path):
--> 123 print ('Session already taken. Please select a different session id.')
124 sys.exit()
125 else:
NameError: name 'logdir' is not defined
The text was updated successfully, but these errors were encountered: