본문 바로가기

Computer Vision

(21)
[VScode] 메뉴 글씨 크기 조정하는 법 1. 좌측 하단 톱니바퀴 모양 Settings > Settings 2. 상단 검색창에 'zoom' 검색 3. zoom size 0.5 ~ 1정도 비율로 조정 눈이 너무 침침하다
[Github] Register SSH key / SSH 키 등록하기 (1) Register SSH key Author : @최규원 Update: 2021.05.10 Create a new SSH key on your local PC Register a SSH key is necessary to access Git via your local terminal. This tutorial will show how to create a ssh key and register it on github. First, you have to check whether ssh key is already existed. Follow the commands below to check ssh key existence. $ cd ./ssh $ ls If you haven't made any, it w..
[Github] How to add, commit, and push your code / Github에서 add, commit, and push 하는 법 [1] If you didn't pull any from git In your local folder, you have to initialize it. $ git init (1) Then, check the status that which one is added or not $ git status (2) Add the source that you want to push $ git add [**source_name**] (3) If you want to undo, $ git reset HEAD [**source_name**] Now , go back to (1) and check that you add the things right! If you want to add another one, repeat (..
[연구노트] VBLC 실험 관련 메모 결론적으로 mmseg > datasets > builder.py 에서, build_dataloader가 shuffle하고 있음 다만, 들어가는 타입의 data는 mmseg > datasets > dataset_wrappers.py의 ConcatDataset에서 wrapping되고 있음 build_datset에서 config 에서 넣어준 target domain을 순서대로 _concat_datset을 활용해서 순차적으로 합침 이때 source와 target은 각각 config 순서에 따라 합쳐진걸 각각 ConcatDataset 으로 wrapping이 되어있음 source와 target이 각각 ConcatDataset으로 묶이고 이를 다시 UDADataset으로 wrapping되어 있음 이때, config에..
[연구노트] 22.03.23 Video Swin Transformer 1. 셋업 설정은 직접하지말고 저자가 준대로 바로 설치할 수 있는지 readme.md를 꼼꼼히 볼것 2. mmcv version은 내 cuda, torch 버전 반드시 제대로 확인해보고 설치할 것: 3. 다음의 자잘한 메모들 ... 현재 셋업은 pytorch 1.7.0 버전으로 함 CUDA는 nvidia-smi 해서 나온거보다 높은 버전으로 데이터 path 설정하고 class 개수 반드시 체크하기 (config 파일 수정 주의) Transformer 기반이기 때문에.. 작은 양의 데이터로 scratch 부터 학습하면 성능이 당연히 안나옴 pretrained backbone을 활용할것 : 저자들이 제시하는 백본 맞추기 제공하는 checkpoint를 백본으로 다시 학습하면 classification 사이즈 ..
cv2.error: OpenCV(3.4.2) /tmp/build/..../work/modules/imgcodecs/src/loadsave.cpp:684: error: (-2:Unspecified error) could not find a writer for the specified extension in function 'imwrite_' cv2.imwrite 함수 사용 과정에서 영상의 확장자를 지정하지 않은 경우에 발생하는 에러이다. cv2.imwrite("파일명.png", img) 와 같이 저장하는 이미지의 확장자를 jpeg, png, jpg 등으로 적절히 명시하면 해결된다.
yaml 파일을 통한 conda 가상환경 셋업 (가상 환경 옮기기) 가상환경 Export conda env export > [name_of_env].yaml 가상환경 Import (가상환경 생성) conda env create --file [your_env_name].yaml 현재 가상환경 내 설치된 리스트 확인 conda env list 이때 주의할 점은 'conda env info'는 base 환경의 스펙이 나온다. 즉 현재 설치된 콘다에 대한 정보가 뜨는 것이니 주의.
Domain Adaptation에서의 Open set 과 Partial set의 차이 Domain Adaptation Domain adaptation 의 목표는 source domain 에서 train된 model이 target domain에서도 잘 동작하도록 하는 것이다. 이때, target domatin은 source domain과 데이터 상에서의 차이를 가지는데 이는 크게 (1) data distribution, (2) data 타입의 차이, 그리고 (3) task 차이로 부터 기인할 수 있다. Open set 과 Partial set 이러한 domain adpation은 크게 open set과 partial set domain adaptation (DA) 로 나눌 수 있다. Open set DA는 target domain이 source domain과 완전히 달라 source-tar..

728x90