본문 바로가기

작업28

c,c++ 에러 발생 위치가 매번 다를 경우 1. 메모리 문제 매번 할당 위치가 달라지기 때문에 메모리 에러가 발생하는 순서가 달라질 수 있다. 안생길 때도 있을 수도 있다. 2. 멀티 쓰레딩일 경우 쓰레드 문제 쓰레드 동작 순서가 달라지기 때문에 쓰레드간 동작의 문제일 경우 에러 위치가 달라질 수 있다. 이걸 가끔 까먹고 선형적인 디버깅으로 삽질할 때가 많다. 2022. 3. 9.
ubuntu 서버 갑자기 재부팅 - larynx + larynx 서버 재부팅 이슈 죽을 때 htop에서 cpu 사용량이 높을 때 죽어서 cpu 문젠가? 하고 cpu 사용량 제한해서 사용 -> 한 달정도 잘 됨 + 하루에 몇번씩 죽음 파워 문젠가? 파워 교체함 -> 일 주일 정도 잘 됨 + 또 하루에 몇번씩 죽음 가끔 bus에러 로그가 뜬다고함 /var/log/syslog 에 https://unix.stackexchange.com/questions/150451/apei-generic-hardware-error APEI Generic Hardware Error Over the past week my server (running Debian Jessie) has rebooted twice. In the syslog I see this before each .. 2022. 3. 3.
VS code remote ssh 안됨 문제 평소에 잘 쓰고 있다가, 오늘 들어가니까 [14:53:44.999] "Copy server to host" terminal command done [14:53:46.931] > [14:53:49.934] > [14:53:52.935] > [14:53:55.963] > [14:53:58.935] > [14:54:01.959] > [14:54:04.959] > [14:54:07.967] > [14:54:10.968] > [14:54:13.958] > 에서 계속 돔 disable conpty https://github.com/microsoft/vscode-remote-release/issues/1137 see #1152 in vscode settings : search conpty and uncheck .. 2022. 2. 7.
nvidia-docker 와 nvidia container runtime의 차이 https://github.com/NVIDIA/nvidia-docker/issues/1268 의 klueska의 답변- 귀찮은 건 생략 - nvidia-docker는 다음의 패키지를 묶어서 일컫는 말이다 (위에서 부터 아래로 의존성이 있다) nvidia-docker2 nvidia-container-runtime nvidia-container-toolkit libnvidia-container 하지만 여러 프로젝트에서 비일관적인 설명을 하고 시간에 따라 정보가 틀려지기도 한다. 몇몇은 nvidia-docker2가 docker 19.03+에서는 deprecated되었다고 nvidia-container-toolkit을 설치해야한다고 한다. 다른 사람들은 nvidia-docker2가 필요하다고 한다. 두 이야기는.. 2021. 12. 1.
Ubuntu16.04, RTX3090, nvidia-smi 로 서로 다른 gpu 인식 안됨 원래 3090이 두개 있던 서버에 서로 다른 제조사의 3090(gpu0:350W, gpu1:420W)을 설치했는데 nvidia-smi시 gpu0 만 인식되고 gpu1이 인식되지 않았다. lspci 하였을 때 2개의 장치가 인식되는 것을 확인하였다. 그래서 driver 문제라 생각하고 드라이버 재설치를 진행함. installed nvidia 470 https://www.nvidia.co.kr/Download/index.aspx?lang=kr reference https://dfso2222.tistory.com/69 + + -> CLI sudo service lightdm stop # stop X server sudo service lightdm start 한 뒤에 도 안되서 dmesg 해보니까 client.. 2021. 9. 16.
DeprecationWarning: `np.float` is a deprecated alias for the builtin `float` DeprecationWarning: \`np.float\` is a deprecated alias for the builtin \`float\`. To silence this warning, use \`float\` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use \`np.float64\` here. Deprecated in NumPy 1.20; for more details and guidance: [https://numpy.org/devdocs/release/1.20.0](https://numpy.org/devdocs/release/1.20.. 2021. 8. 13.
Cross-Correlation Properties of Fourier Transform Cross-Correlation $$R_{x,y}(t) \triangleq \int^{\infty}{\infty}x(\tau)y(\tau - t)d\tau = \int^{\infty}{\infty}x(t+\tau)y(\tau)d\tau$$ Conjugate and reversal Conjugation and Reversal $$\bar{x} \leftrightarrow \mathsf{flip}(\bar{X})\\ \mathsf{flip}(\bar{x}) \leftrightarrow \bar{X}$$ Convolution Theorem $$\mathcal{F}[x(t)*y(t)] = X(jw)Y(jw) \\\mathcal{F}[x(t)y(t)] = .. 2021. 3. 18.
ubuntu input/output error 데이터를 많이 사용하였을 때, input/output error 가 발생하면서 더 이상 저장장치에 접근이 안되는 현상이 발생하였다. 일반적 용도로 사용을 하면 문제가 없었지만, 학습과 같은 데이터를 많이 사용하는 동작을 할 때, 발생하였다. SDD를 사용할 때는, HDD를 사용할 때보다 더 빠르게 에러가 발생하였다. SDD,HDD 교체, 그래픽카드 교체, OS 변경(Ubuntu16.04 -> Ubuntu20.04) 를 해보았지만 그대로 였다. 마지막으로 메인보드(ASUS C621E SAGE)를 교체하였는데, 해결 되었다. 메인보드 교체 후 보름 뒤 같은 현상 발생. 파워를 교체하였다. --- 한달 하고 보름 뒤 같은 문제 발생 --- 그래픽 출력이 GPU에서 나오는 거랑 메인보드에 포트 설치한거에서 나오.. 2021. 2. 2.
Token authentication requirements for Git operations / Personal Access Token(개인 접근 토큰) 생성하기 github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ 요약 많이 남았기는 한데 2021년 8월 13일 부터 비밀번호를 사용한 github 인증(clone,push 등 에서 요구하는 것)은 지원하지 않는다고 합니다. 보안관련해서 여러가지 기능을 추가하였지만 사람들이 비밀번호만 사용해서 그렇다는 거 같습니다. github desktop은 영향을 안 받는다고 합니다. 다른 모든 github의 비밀번호를 사용하는 서비스를 포함 합니다.대신에 계정 setting -> Developer settings -> Personal access tokens 에서 새로 토큰을 만들고 해당 토큰의 키를 사용하면 됩니다. 비밀번호 대신에 입력하면.. 2020. 12. 21.
ubuntu sudo chrome google-chrome --no-sandbox 2020. 8. 3.
NVIDIA cuda X server error Installing the NVIDIA display driver… It appears that an X server is running. Please exit X before installation. If you’re sure that X is not running, but are getting this error, please delete any X lock files in /tmp. =========== = Summary = Driver: Installation Failed Toolkit: Installation skipped Samples: Installation skippedcuda 설치시 X-server 관련된 문제가 발생할 수 있다. X-server 를 꺼서 CLI로만 설치하는 등 여러가지 .. 2020. 7. 30.
error: conversion from ‘const cv::Mat’ to non-scalar type IplImage {aka _IplImage}’ requested /usr/local/include/dlib/opencv/cv_image.h:37:29: error: conversion from ‘const cv::Mat’ to non-scalar type ‘IplImage {aka _IplImage}’ requested IplImage temp = img;cv_image.h의 37번째 라인 수정 IplImage temp = img;에서 IplImage temp = cvIplImage(img);로 2020. 6. 25.