시행착오의 흔적들 8

.gitignore 샘플

가상환경할 때 깔리는 python package list나, 캐시 등등 정말 쓰잘데기 없는거 깃헙에 올리지 않기 위해 미니 플젝하다 팀원이 어디 인터넷에서 주워온 걸 내가 줍줍해서 올린다.잘 쓰실 분들은 야무지게 잘 쓰시길__pycache__/*.py[cod]*$py.class# C extensions*.so# Distribution / packaging.Pythonbuild/develop-eggs/dist/downloads/eggs/.eggs/lib/lib64/parts/sdist/var/wheels/share/python-wheels/*.egg-info/.installed.cfg*.eggMANIFEST# PyInstaller# Usually these files are written by a pyt..

Key already registered with the same priority: GroupSpatialSoftmax

chemprop train 모듈 돌리는데 에러났다... 구글링 해보니 이런게 나오네 https://discuss.pytorch.org/t/importerror-key-already-registered-with-the-same-priority/86271/2 importError:Key already registered with the same priority How did you install PyTorch? Did you install the binaries or build form source? Are you using the GroupSpatialSoftmax in a standalone module or just from pytorch/modules/detectron? discuss.pytorch...

conda and pip 그리고 아나콘다 가상환경 셋팅

먼저 conda와 pip 비교를 해보겠다. 아나콘다는 가상환경 설정 + 패키지 관리까지 가능,pip는 오직 파이선 패캐지 관리만 가능한 것이비교할만한 주요한 특징이다. https://www.anaconda.com/blog/understanding-conda-and-pip Anaconda | Understanding Conda and PipConda and pip are often considered as being nearly identical. Although some of the functionality of these two tools overlap, they were designed and should be used for different purposes. Pip is the Python Pac..

UnicodeDecodeError: 'cp949' codec can't decode byte 0xeb in position 1251: illegal multibyte sequence

Type "help", "copyright", "credits" or "license" for more information. Failed calling sys.__interactivehook__ Traceback (most recent call last): File "C:\Users\coco7\anaconda3\lib\site.py", line 440, in register_readline readline.read_history_file(history) File "C:\Users\coco7\anaconda3\lib\site-packages\pyreadline\rlmain.py", line 165, in read_history_file self.mode._history.read_history_file(f..

Ubuntu 20.04에서 소리가 작게 나오는 현상.

alsamixer도 설치해보았지만 별 소용이 없었다. https://kavoom2.github.io/%EA%B8%B0%ED%83%80/ubuntu_sound_mixing_problem/ Ubuntu 20.04에서 소리가 정상적으로 출력되지 않는 경우 우분투에서 가짜출력이 나오거나, 스피커 상호작용은 정상적으로 표시되지만 소리가 출력되지 않을 시 해결방법 kavoom2.github.io https://ksjm0720.tistory.com/12 Linux 볼륨을 조정해보자. Alsamixer I. Linux 실행에서의 어려움 지난 번 Ubuntu 설치에서 말했던 것처럼 Linux 설치의 경우 Window 설치보다 안정성이 떨어질 가능성이 높습니다. (특히 Debian 직접 설치의 경우) 많은 하드웨어를 직접..

[프로그래머스] 전화번호 목록

문제 : programmers.co.kr/learn/courses/30/lessons/42577 전화번호부에 적힌 전화번호 중, 한 번호가 다른 번호의 접두어인 경우가 있는지 확인하려 합니다. 전화번호가 다음과 같을 경우, 구조대 전화번호는 영석이의 전화번호의 접두사입니다. 구조대 : 119 박준영 : 97 674 223 지영석 : 11 9552 4421 전화번호부에 적힌 전화번호를 담은 배열 phone_book 이 solution 함수의 매개변수로 주어질 때, 어떤 번호가 다른 번호의 접두어인 경우가 있으면 false를 그렇지 않으면 true를 return 하도록 solution 함수를 작성해주세요. 제한 사항 : phone_book의 길이는 1 이상 1,000,000 이하입니다. 각 전화번호의 길이..

우분투에서 가상환경/아나콘다 구성하기/텐서플로깔기

tensorflow를 pip 대신 conda로 깔면 밑에 cuda, cdnn을 까는 삽질을 안해도 된다고 한다 ㅠㅠ 하...내 시간 ㅜㅜ 알아서 다 해준다는데...왜.... 밑에 것 보세요.... conda install tensorflow하면 된다함. 끝 https://medium.com/analytics-vidhya/why-conda-install-instead-of-pip-install-ba4c6826a0ae Why conda install instead of pip install? We all are familiar with pip Because we all have used it to install most of our libraries and dependencies required to tes..

우분투- 한영키 전환 설치

1. Setting > Region & Language > Manage Installed Languages >Update(필요시) 2. Add Korean(Hangul) 3. Ubuntu Software >install [Gnome Tweaks] 4. Tweaks > keyboard &mouse > Overview Shortcut- Additional Layout Options > Korean Hangul/Hanja keys > [Right Alt as Hangul, right Ctrl as Hanja]에 체크 5. 재부팅 6. 우측상단 언어 설정 아이콘> IBusHangul Setup > Hangul Toggle Key > add > type [Right Alt] > Apply & OK https://..