본문 바로가기

전체 글27

[논문 구현] MobileNetV2 논문 구현 MobileNetV2 model 구현 후 main 함수를 구현하고자 한다. 코드는 https://github.com/kuangliu/pytorch-cifar 을 참고하여 구현하였다. GitHub - kuangliu/pytorch-cifar: 95.47% on CIFAR10 with PyTorch 95.47% on CIFAR10 with PyTorch. Contribute to kuangliu/pytorch-cifar development by creating an account on GitHub. github.com 1 Import 먼저 필요한 함수들을 import 해준다. import enum from numpy import char from pyparsing import Char import torc.. 2022. 4. 17.
[논문 리뷰] Human Pose Estimation for Real-World Crowded Scenarios https://arxiv.org/pdf/1907.06922.pdf Human Pose Estimation for Real-World Crowded Scenarios 논문을 참고하여 작성하였습니다. Abstract 본 논문은 crowded people에 대한 human pose estimation 이다. Crowded people estimation의 어려운점이 있다면, 물체와 사람의 맞물림(occlusion)으로 인해 사람의 몸이 안보이는 경우 환경으로 인해 부분적으로 보이는 경우 이를 해결하기 위해 여러 방법이 쓰인다. 몸 일부 중 맞물린 부분을 명쾌하게 detect하기 Synthetic Generated dataset JTA의 사용 (data extension) 1 Introduction 여태까지 나.. 2022. 4. 14.
VSCode tmux 사용과 서버 연동 & torch 홈페이지 검색 서버 연동 먼저 remote development를 install 해준다. shift + ctrl + p 누르면 다음과 같이 뜬다. ssh open SSH configuration file 누르면 config 창안으로 들어가게 된다. Host [계정명]@[IP 주소]:[포트번호] HostName [IP 주소] User [계정명] Port [포트 번호] 작성해주면 자동으로 서버 연동 가능! Tmux 리눅스 원격 연결이 꺼져도 서버가 꺼지지 않는 이상 tmux로 돌려놓은 코드는 다운되지 않는다. tmux 설치하기 sudo 권한이 있다면, $sudo apt-get install tmux 없다면, conda install -c conda-forge tmux tmux 명령어 tmux 새로 만들기 $tmux tmu.. 2022. 4. 11.
[editor & 서버] VSCode로 디버깅, gpu 설정 - with HRNet https://github.com/HRNet/HRNet-Human-Pose-Estimation 코드를 바탕으로 작성하였다. VSCode Debugging run → start debuging → python file 선택 옆 설정 버튼을 누르면 launch.json이 나온다. launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ .. 2022. 4. 11.
[코드 오류] LiteHRNet 설정 오류 https://github.com/HRNet/Lite-HRNet github 코드를 바탕으로 학습을 하며 생긴 모든 오류들에 대해 작성해보고자 한다. 먼저 이해가 되지 않았던 부분에 대해서 정리해보면.. github train/test 작성 방법 처음에 python tools/train.py로 학습을 시작하는 방법이 아닌 새로운 방법을 보게 되어 낯설었다. 아래 그림과 같이 train with a single GPU 같은 경우 python tools/train.py 이지만, train with multiple GPUs 같은 경우 ./tools/dist_train.sh 로 시작해서 헷갈렸다. Training # train with a signle GPU python tools/train.py ${CONFI.. 2022. 4. 11.