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

code bug? #1

Open
ShenBoxiao opened this issue Jan 2, 2018 · 2 comments
Open

code bug? #1

ShenBoxiao opened this issue Jan 2, 2018 · 2 comments

Comments

@ShenBoxiao
Copy link

When I run the q1_window.py in the assignment3, it would show an error as follows.

File "D:\Anaconda3\envs\tensorflow_gpu\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
execfile(filename, namespace)

File "D:\Anaconda3\envs\tensorflow_gpu\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "D:/Program Files/Python Project/CS224N/CS224n-solutions-master/Assigment 3/assignment3/q1_window.py", line 519, in
if ARGS.func is None:

AttributeError: 'Namespace' object has no attribute 'func'

How can I correct it?

@hansen7
Copy link

hansen7 commented Jul 5, 2018

Hi, Boxiao.

I have also searched for solutions on this issues today. It took me over half of an hour to figure out, you should try using terminal/bash/cmd to run 'python q1_window.py test1' instead just compiling it in IDE.

q_1.log

@hansen7
Copy link

hansen7 commented Jul 5, 2018

image

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

2 participants