⚒️ 코드 에러 모음집 ⚒️

⚒️ 코드 에러 모음집 ⚒️

If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.

tensorflow를 사용하여 학습을 하고 있는데, 아래 오류가 발생하였다. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorboard 2.11.2 requires protobuf=3.9.2, but you have pr..

⚒️ 코드 에러 모음집 ⚒️

PDF파일이 Microsoft Edge 내에서 열리지 않을 때 해결방법

문제상황 전에 Desktop C드라이브를 초기화하고 다시 세팅을 하려고 하는데 edge로 pdf파일이 열리지 않았다. 결론 1. 윈도우에서 레지스트리 편집기를 들어간다. 아니면 윈도우+r -> regedit을 입력한다. 2. Content Type의 경로가 application/haansoftpdf로 되어있었다. 아마 한컴 오피스를 설치하고 바뀐 것 같다. 이를 application/pdf로 수정한다. 3. 변경하면 아래 그림과 같이 pdf 파일을 edge로 볼 수 있다. 시도 log 1. edge를 초기화 시켜보았다 (실패) 2. 레지스트리 편집기에서 Content Type을 변경해준다 (해결) 출처 https://www.hwani.xyz/entry/PDF%ED%8C%8C%EC%9D%BC-%EC%95%..

⚒️ 코드 에러 모음집 ⚒️

[ 압축풀기 ] 7zip 파일 압축하기/압축 풀기

1. 압축하기 7z a test.zip test 2. 압축 풀기 !7z x test.zip -ohi 3. 옵션 a : add, 압축하기 d : delete e : extract l : list t : Test u : update x : extract with full paths https://88240.tistory.com/27 7zip 압축방법 리눅스에서 압축하는 방법은 예전에 올린 exec(zip)과 exec(unzip) 방법이 있지만, 당연히 윈도우에서는 위와같은 방법이 먹히질않는다 그래서 찾아보니 7zip을 path로 연결만 하면 (하는 방법은 다음 88240.tistory.com https://araikuma.tistory.com/122 [Linux] 압축 파일 관리 - 7z 압축하기, 압축 풀..

⚒️ 코드 에러 모음집 ⚒️

[ Colab 오류] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.

문제 상황 모델 학습시키는 과정에서 아래의 오류가 발생하였다. If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode. 해결 방법 1. 아래의 소스 코드를 입력한다. run_opts = tf.RunOptions(report_tensor_allocations_upon_oom = True) 하지만 tensorflow 버전 문제로 탈락. 2. batch size 조정 위의 오류는 메모리 부족 문제이다. batch size..

⚒️ 코드 에러 모음집 ⚒️

[ jupyter 노트북 ] bad config encountered during initialization : no such notebook dir :

문제 상황 주피터 노트북을 사용하기 위해 anaconda를 관리자로 실행을 시키고, 원하는 경로에서 주피터 노트북을 실행시키기 위해 >> jupyter notebook 원하는 경로 로 Powershell에 입력을 했더니 아래와 같은 오류가 발생했다. 해결방법 1. anaconda Powershell에 아래의 명령어를 입력한다. >> jupyer --config-dir .jupyer 파일의 위치가 나옴 2. 그럼 그 위치로 가서 .jupyer파일을 다 삭제해준다. 3. 다시 anaconda Powershell에 들어간 다음 jupyer를 다시 설치해준다. >> pip install jupyer 4. 그러면 다시 .jupyer파일이 생성되면서 정상적으로 운영이 된다. stackoverflow.com/ques..

⚒️ 코드 에러 모음집 ⚒️

[Tensorflow 오류] no module named 'tensorflow' 주피터 노트북

문제 상황 anaconda 환경에 텐서플로우를 설치하고, 주피터 노트북을 실행하여 위 그림과 같이 import 를 하였는데 tensorflow라는 이름의 모듈이 없다는 오류가 발생하였다;;; 해결 방법 copycoding.tistory.com/79 [텐서플로우] ModuleNotFoundError: No module named 'tensorflow' 오류 해결 방법 단일 응용 프로그램이 아닌 경우에는 환경 설정이 제일 어려운 일입니다. 동일한 방법으로 했는데 왜 난 안될까? 포기했다가 다시 설치하면 되는 경우도 있고 이것 저것 다 따라해서 뭐때문에 copycoding.tistory.com eehoeskrap.tistory.com/205 [Tensorflow] 윈도우 아나콘다 가상환경 설정하기 (matpl..

⚒️ 코드 에러 모음집 ⚒️

[Tensorflow 오류] AttributeError: module 'tensorflow' has no attribute 'placeholder'

https://better-coding.com/solved-attributeerror-module-tensorflow-has-no-attribute-placeholder/ [SOLVED] - AttributeError: module 'tensorflow' has no attribute 'placeholder' The cause of the mentioned problem is incompatibile code with installed tensorflow library. In this case you have code compatible with tensorflow 1.0 version but installed tensorflow 2.0 or higher. Let's see what you can do ..

⚒️ 코드 에러 모음집 ⚒️

[Tensorflow 오류] AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer'

https://vispud.blogspot.com/2019/05/tensorflow200a0-attributeerror-module.html Tensorflow==2.0.0a0 - AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer' Download template bootstrap for free ! vispud.blogspot.com import tensorflow as tf model=tf.global_variables_initializer() 이렇게 명령문을 작성하였더니 이런 오류가 발생하였다. 해결방법은 import tensorflow as tf model=tf.compat.v1.global_vari..

⚒️ 코드 에러 모음집 ⚒️

[conda 오류] RemoveError: 'setuptools' is a dependency of conda and cannot be removed fromconda's operating environment.

https://github.com/conda/conda/issues/8903 RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment. · Issue #8903 · c The following packages will be DOWNGRADED: anaconda 2019.03-py37_0 --> custom-py37_1 Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: failed RemoveError: 'setuptools'... github.com setuptools이라는 패키지가 설치되지 않아..

공대생 배기웅
'⚒️ 코드 에러 모음집 ⚒️' 카테고리의 글 목록