aditya-vora / crowd_counting_tensorflow

Code of CVPR 2016 work of Single Image Crowd Counting using Multi-Column CNN
30 stars 9 forks source link

running in google colab. #2

Open ghost opened 5 years ago

ghost commented 5 years ago

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 commented 5 years ago

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