일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- python3
- 정보처리
- pytorch
- 국가자격증
- 정보처리기사
- 실기
- 딥러닝
- 정보처리기사 실기
- ubuntu
- Anaconda
- qnet
- 자격증
- keyboards
- 코딩
- torch
- 2020정보처리기사
- 파이토치
- 기사 실기
- 파이썬
- NCS
- 우분투
- DEEPLEARNING
- 실기시험
- Logitech
- 기사시험
- coding
- 로지텍
- 큐넷
- Python
- Apple
- Today
- Total
목록분류 전체보기 (47)
dhwiii's notepad | 딥 러닝, 코덱 일기장
ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant'아주 간단히 아래 chardet을 설치하면 된다. pip install chardetChardet은 파이썬에서 웹사이트 혹은 파일에서 문자열을 가져온 후 인코딩을 인식하는 라이브러리라고 한다.
All Intra/Random access/Low delay - in terms of video encoding, these terms define the GOP structure of encoded streams. Actually, they define the presence and frequency of key frames (I-frames) in the elementary video stream.All intraAI mode assumes that all frames in the elementary stream are key frames. The possibility to decode this stream starting from any frame is a benefit of this mode. L..
cublas_v2.h 가 있는 폴더가 export 되지 않아서 발생하는 오류이다. 먼저, 아래의 해당 코드로 cublas_v2.h 경로를 찾아 준 다음 find /usr/local/ -name cublas_v2.h 사용자의 우분투에 맞게 깔려있는 경로를 PATH에 넣어주면 해결된다. export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/cuda-10.2/targets/x86_64-linux/include/ 출처 : https://forums.developer.nvidia.com/t/cant-find-cudablas-v2-h/40076/11
케라스를 사용하기 위해 import keras를 했더니 나타났던 오류 입니다. AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects' 기존에 확인을 하려던 파이썬이 3.7버전이었는데, Keras 공식 홈페이지에서 Compability를 확인해보니 파이썬 버전이 3.6까지 지원했기에, 나타났던 오류였습니다. Stackoverflow에서는 keras 대신 tensorflow.keras를 import해서 오류를 고친 경우도 있었습니다.
The following packages have unmet dependencies : ubuntu-desktop : Depends : Xorg but it is not going to be installed ... 라는 에러가 발생하게 된다면, Xorg-core가 설치되어 있지 않아서, 의존성 때문에 설치되지 않는 것 같다. sudo apt-get install xserver-xorg-core sudo apt-get install ubuntu-desktop 순으로 설치를 진행하니 해결이 되었다.
TigerVNC Server를 설치한 후, 로그인을 하니 키보드, 마우스가 작동되지 않는 현상이 발생했습니다. 멀티부팅을 사용중이어서, Grub을 거치게 되는데 Grub화면에서는 키보드,마우스가 정상적으로 작동하나 우분투를 로그인 하니 작동이 되지 않았습니다. 외장하드를 연결하니 바탕화면에 외장하드 연결이 나타나는것을 보고 OS가 멈춘것이 아닌 것을 확인할 수 있었는데, xserver설치 후 에러가 발생하게 된 것 같아 해당 내용을 검색해 보았고 아래의 방법으로 해결할 수 있었습니다. 1) Grub 진입 2) Advanced options for Ubuntu 3) 리커버리 모드로 진입 4) 인터넷 연결이 필요하기 때문에 Network를 선택해서 네트워크를 활성화 5) root 선택 후 shell open..
RuntimeError: Freeze_support() Error -> Num_workers의 수를 0으로 바꾸어 주었더니 해결되었습니다.
Ubuntu에 Anaconda3를 설치한 후로 Anaconda가 자동으로 실행되어서 (base)환경으로 자동으로 시작된다. 매번 들어갈 때마다 conda deactivate를 하기 번거롭기 때문에 해당 자동 시작 옵션을 해제하려면 anaconda 환경이 실행되어 있는 상태에서 ((base)상태에서) conda config --set auto_activate_base false 명령어를 입력하면 된다.

파이토치의 모델 구조를 볼 수 있는 torchinfo라는 라이브러리가 있다. 아래와 비슷한 구조로 사용하며, pip install torchinfo from torchinfo import summary model = LeNet() summary(model,(1,1,3,3)) torchinfo 내에서 사용되는 파라미터는 다음과 같다. summary(model, input_size, input_data, batch_dim, col_names, col_width, depth, device, dtypes, row_settings, verbose, **kwargs)