Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running in google colab. #2

Open
ghost opened this issue Apr 6, 2019 · 1 comment
Open

running in google colab. #2

ghost opened this issue Apr 6, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 6, 2019


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
Copy link
Author

ghost commented Apr 6, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants