When dealing with Python with ANACONDA's Spyder, especially in "Deep Learning from scratch ②" When an error occurs in the code below, the error has been resolved by taking measures like this.
sys.path.append ('..') # Settings for importing files in the parent directory
In this case, click PYTHONPATH manager from the python tab in the upper left of Spyder in ANACONDA. 
After that, I was able to solve it by entering the upper directory.
It's wonderful to be able to do this easily.
Recommended Posts