-
[Colab] Mountpoint must not already contain files 에러 해결AI, DataScience 2022. 1. 5. 10:00728x90
갑자기 나타난 에러 ㄷ 어느 날 colab을 열어보니,
"drive.mount('/content/drive/')"에서 "Mountpoint must not already contain files" 에러가 났다.분명 어제까지는 사용했었는데..?https://pretagteam.com/question/google-colabvalueerror-mountpoint-must-be-in-a-directory-that-existshttps://pretagteam.com/question/google-colabvalueerror-mountpoint-must-be-in-a-directory-that-exists
pretagteam.com
drive.mount('/content/drive')
drive.mount('content/drive')
절대 경로로 바꾸라니 어쩌라니 하던데 소용없었다.
여기서 내가 찾은 방법
드라이브 마운트 버튼 드라이브 마운트 버튼을 눌러 마운트를 해제하고 다시 셀을 실행하니 잘 작동된다.
구글 로그인 과정에서 오류가 있었나보다.
728x90'AI, DataScience' 카테고리의 다른 글
[딥러닝] TensorFlow, Keras, PyTorch 특징 비교, 장단점 (0) 2022.02.15 [PyTorch] 단순 선형 회귀, 다중 선형 회귀 연습 (0) 2022.02.14 [NumPy] np.where()으로 조건에 맞게 0 / 1 정하기 (0) 2022.02.09 오늘부터 듣는 것 (0) 2022.02.08 [Pandas] 데이터를 그룹으로 나누어 각 그룹 별 평균으로 결측값 대치하기 (성별과 나이 별로 키, 몸무게 평균값 대치) (0) 2022.01.24