Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- ironpython
- 사무자동화
- pythonnet
- google cloud
- 사무자동화 #Selenium
- pyautogui
- Google API
- objectdetection
- pdf merge
- Text To Speech
- pypdf2
- computervision
- processstart
- YOLOv5
- YOLOv7
- yolo
- 업무자동화
- 파이썬 #업무자동화 #python
- DeepLearning
- Text-to-Speech
Archives
- Today
- Total
Doarchive
Keras Mnist dataset 을 로드 할 수 없을 때 (Mac) 본문
mnist = tf.keras.datasets.mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data
해당 코드에서
Downloading data from https://storage.googleapis.com/tensorflow/tf-keras-datasets/mnist.npz
Traceback (most recent call last):
이런 에러가 발생할 경우
해당파일에
~/Library/Python/3.7/lib/python/site-packages/tensorflow/python/keras/utils/data_utils.py
이부분을 추가해 준다
import requests
requests.packages.urllib3.disable_warnings()
import ssl
try:
_create_unverified_https_context = ssl._create_unverified_context
except AttributeError:
# Legacy Python that doesn't verify HTTPS certificates by default
pass
else:
# Handle target environment that doesn't support HTTPS verification
ssl._create_default_https_context = _create_unverified_https_context
728x90
'Computer Vision > Deep learning' 카테고리의 다른 글
YOLOv7 Error : subprocess.CalledProcessError: Command 'git tag' returned non-zero exit status 128. (0) | 2023.04.05 |
---|---|
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x99 in position 7884: invalid start byte 해결 방법 (0) | 2023.03.28 |
virtualenv 사용법 (0) | 2021.04.09 |
[Colab] 기본세팅 (1) | 2021.01.27 |
[Conda] anaconda 가 설치되어있음에도 command not found: conda 가 뜨는 경우 (0) | 2021.01.27 |