Skip to content

running in google colab.  #2

@ghost

Description


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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions