crowd_counting_tensorflow icon indicating copy to clipboard operation
crowd_counting_tensorflow copied to clipboard

running in google colab.

Open ghost opened this issue 6 years ago • 1 comments


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

ghost avatar Apr 06 '19 09:04 ghost

This is an error I am getting on running the code. Could you please help? I am new

ghost avatar Apr 06 '19 09:04 ghost