본문 바로가기

반응형

hacking or software engineering skills

(64)
[aws, gcp] aws에서 flask 웹서버 배포하기 문제점 보안 그룹에서 인바운드 규칙을 편집, 모든 TCP 를 허용하고 아웃바운드 규칙마저 편집했는데도 안 된다... https://nerogarret.tistory.com/47?category=800142 Django 서비스 AWS로 배포하기 - [3] uWSGI 연결하기 Django 서비스 AWS로 배포하기 - [1] 프로젝트 준비와 AWS 서버 대여 Django 서비스 AWS로 배포하기 - [2] github과 프로젝트 업로드 지난 포스트 까지 서버에 나의 프로젝트를 git을 통해 업로드 해보았습니 nerogarret.tistory.com 위에 솔루션을 그대로 따라했는데도 안 되는 것이다. 그럴 경우 해결법은 무엇인가? "기본으로 돌아가라" 해결책 app.run(host='0.0.0.0')으로 바꿔준..
[centos] No decoder for stream #0:0, filtering impossible, Decoder (codec av1) not found for input stream #0:0 ffmpeg 를 이용하여 centos에서 video (확장자 mp4)의 이미지를 추출하는 작업을 시도했는데.. 에러 발생! ffmpeg -i videoplayback\ -\ taeyeon.mp4 taeyeon/video-frame-%d.png ffmpeg version 문제인가? sudo yum install epel-release sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm sudo yum install ffmpeg ffmpeg-devel 버전 업그레이드 하니 다른 에러 발생!! # Decoder (cod..
[mac os] 한글 자음 모음 분리 문제 in python3 [(df['광고 소재 이름'][0][x], image_path[6].split('/')[-1][x], df['광고 소재 이름'][0][x]==image_path[6].split('/')[-1][x]) for x in range(len(df['광고 소재 이름'][0]))] 한쪽엔 건강메인을 '건', '강', '메', '인' 이라고 읽는데... 다른쪽에선 'ㄱ', 'ㅓ', 'ㄴ' ...이런 식으로 읽는다!!! 이럴 수가.. 어떻게 해결할까? 문제 원인은 MAC에서 한글 인식을 WINDOWS와 다르게 한다는 데에 있다. 해결 방법은 간단했다. import unicodedata string = '파이썬' string = unicodedata.normalize('NFC', string) print(string[0..
filezilla 오류, 치명적인 파일 전송 오류 오류: 치명적인 파일 전송 오류 문제 : mac os Filezilla에서 다운로드가 안 된다. 치명적인 파일 전송 오류라고 뜨면서.... 해결 방법 : 로컬 사이트를 / 에서 구체적인 경로로 변경해준다.
[error handling] ImportError: cannot import name 'compare_ssim' from 'skimage.measure' 에러 해결 방법 from skimage.measure import compare_ssim as ssim 을 아래와 같이 바꿔준다. from skimage.metrics import structural_similarity as ssim https://stackoverflow.com/questions/55178229/importerror-cannot-import-name-structural-similarity-error ImportError: cannot import name 'structural_similarity' error In my image comparision code following: https://www.pyimagesearch.com/2014/09/15/python-compare-two-images/ Wh..
optical flow란? Optical flow or optic flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer and a scene. Optical flow can also be defined as the distribution of apparent velocities of movement of brightness pattern in an image. 물체나 표면 모서리 등에서 나타나는 패턴인데, 관찰자와 장면 사이의 상대적인 움직임에 의해서 나타난다. 이미지 상의 밝기 패턴의 움직임의 속도 분포로도 정의된다. https://le..
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input 에러 해결법 #RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input Batch-size를 줄여준다. 해결 완료.
scp 파일 전송 scp -P 포트번호 보낼파일경로 컴퓨터이름@아이피주소:저장될경로 ex) scp -P 22 SMPL_python_v.1.1.0.zip remo-server1@125.131.68.75:/home/remo-server1/Desktop/dhkim 파일이 잘 전송되는 것을 볼 수 있다.

728x90
반응형