CS224n-solutions
CS224n-solutions copied to clipboard
code bug?
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
AttributeError: 'Namespace' object has no attribute 'func'
How can I correct it?
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.