maximum recursion depth exceeded in comparison
import sys
sys.setrecursionlimit(99909)
More than 20 figures have been opened
import matplotlib.pyplot as plt
plt.rcParams.update({'figure.max_open_warning': 0})
## **Symptoms**
## **Cause**
## **Resolution**
## **For more information**
reason: 'Attemped to add a SKNode which already has a parent
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
/Users/soralee/.conda/envs/env01/bin/python "/Applications/PyCharm with Anaconda plugin .app/Contents/plugins/python/helpers/pydev/pydevconsole.py" --mode=client --port=55503
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['/Users/soralee/PycharmProjects/untitled4'])
Python 3.7.6 (default, Jan 8 2020, 13:42:34)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 7.12.0
Python 3.7.6 (default, Jan 8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
runfile('/Users/soralee/PycharmProjects/untitled4/002.py', wdir='/Users/soralee/PycharmProjects/untitled4')
2.0.0
2020-03-08 16:27:29.264190: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Train on 60000 samples
Epoch 1/5
60000/60000 [==============================] - 13s 216us/sample - loss: 0.4971 - accuracy: 0.8261
Epoch 2/5
60000/60000 [==============================] - 12s 203us/sample - loss: 0.3747 - accuracy: 0.8647
Epoch 3/5
60000/60000 [==============================] - 12s 199us/sample - loss: 0.3350 - accuracy: 0.8774
Epoch 4/5
60000/60000 [==============================] - 13s 214us/sample - loss: 0.3147 - accuracy: 0.8837
Epoch 5/5
60000/60000 [==============================] - 11s 187us/sample - loss: 0.2943 - accuracy: 0.8905
10000/1 - 1s - loss: 0.2679 - accuracy: 0.8715
테스트 정확도: 0.8715
최근댓글