Countermeasures for "Unable to get upper directory" error when using Deep Learning ② created from scratch with spyder of ANACONDA

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. ![Screenshot 2020-02-20 18.29.34.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/182169/e40a49dc-3e76-e12b-bd01- 341c8e88cfb9.png)

After that, I was able to solve it by entering the upper directory. スクリーンショット 2020-02-20 18.29.43.png

It's wonderful to be able to do this easily.

Recommended Posts

Countermeasures for "Unable to get upper directory" error when using Deep Learning ② created from scratch with spyder of ANACONDA
[Deep Learning from scratch] Initial value of neural network weight when using Relu function
Create an environment for "Deep Learning from scratch" with Docker
A memo when executing the deep learning sample code created from scratch with Google Colaboratory
Unable to bind to interface error when using apollo federation with gqlgen
How to deal with OAuth2 error when using Google APIs from Python
Realize environment construction for "Deep Learning from scratch" with docker and Vagrant
[Deep Learning from scratch] Layer implementation from softmax function to cross entropy error
Learning record of reading "Deep Learning from scratch"
Dealing with CUDA error "At tempting to fetch value instead of handling error Internal: failed to get device attribute 13 for device 0: CUDA_ERROR_UNKNOWN: unknown error" in deep learning
Prepare the environment for O'Reilly's book "Deep Learning from scratch" with apt-get (Debian 8)
Deep Learning from scratch The theory and implementation of deep learning learned with Python Chapter 3
[Deep Learning from scratch] Initial value of neural network weight using sigmoid function
Deep Learning from scratch ① Chapter 6 "Techniques related to learning"
"Deep Learning from scratch" Self-study memo (No. 17) I tried to build DeepConvNet with Keras
Dare to learn with Ruby "Deep Learning from scratch" Importing pickle files from forbidden PyCall
Application of Deep Learning 2 made from scratch Spam filter
[Deep Learning from scratch] I tried to explain Dropout
Deep Learning from scratch
[Deep Learning from scratch] Implementation of Momentum method and AdaGrad method
Try to build a deep learning / neural network with scratch
I tried to implement Perceptron Part 1 [Deep Learning from scratch]
Chapter 1 Introduction to Python Cut out only the good points of deep learning made from scratch
It is good to create an environment with runtime error => venv when using pyplot backends of macosx on a virtual environment created with virtualenv.