You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: