본문 바로가기

super resolution5

Super resolution 모델, HAT train 정리 Ubuntu 20.04 공식 github https://github.com/XPixelGroup/HAT GitHub - XPixelGroup/HAT: Arxiv2022 - Activating More Pixels in Image Super-Resolution Transformer Arxiv2022 - Activating More Pixels in Image Super-Resolution Transformer - GitHub - XPixelGroup/HAT: Arxiv2022 - Activating More Pixels in Image Super-Resolution Transformer github.com 앞선 글에서 (https://honbul.tistory.com/59) 4번, setup.py까지 진행.. 2022. 12. 26.
Super resolution 모델, HAT, inference 사용 정리 Ubuntu 20.04 ROCm AMD GPU Radeon VII 공식 github GitHub - XPixelGroup/HAT: Arxiv2022 - Activating More Pixels in Image Super-Resolution Transformer GitHub - XPixelGroup/HAT: Arxiv2022 - Activating More Pixels in Image Super-Resolution Transformer Arxiv2022 - Activating More Pixels in Image Super-Resolution Transformer - GitHub - XPixelGroup/HAT: Arxiv2022 - Activating More Pixels in Image Super-Re.. 2022. 12. 19.
Super Resolution EDT 사용하기 Super resolution 모델 중 하나인 EDT를 사용한 내용을 정리한다. 1. 깃 repository 다운로드 및 package 설치 EDT 모델은 Python 3.7 버전 이상, pytorch 1.4 버전 이상에서 돌아간다. (적절하게 설치한다) git clone https://github.com/fenglinglwb/EDT.git 를 입력하여 git 다운로드 후, 다운받은 EDT 폴더에서 requirement 에 있는 package 들을 설치한다. pip install -r requirements.txt 2. test_sample.py 코드 수정 EDT 모델은 test_sample.py 코드를 돌려서 사용가능한데, git에 업로드된 코드에 오류가 있어 수정을 해야한다. nano test_sam.. 2022. 10. 8.
Video Restoration Transformer (VRT) 사용하기 - 2 Video Restoration Transformer (VRT) 사용하기 - 1 (tistory.com) Video Restoration Transformer (VRT) 사용하기 - 1 Super Resolution에 (Image Restoration) 대해 알아보던 중 아래의 모델을 찾게되어 사용법을(학습/추론) 공부해 보았다. 이번 글에서는 모델 구동 환경/데이터 준비를 (REDS dataset) 다루겠다. GitHub - Jingyun.. honbul.tistory.com 에 이어지는 글로 학습에 대한 내용을 다루겠다. 사용자의 환경과 목적에 따라 모델 조건을 바꿔야 할텐데 vrt 모델에서는 options/vrt 폴더안의 여러 json 파일로 조정할 수 있다. 이번 글에서는 REDS 데이터셋을 활용.. 2022. 9. 2.
WSL2, Nvidia GPU, CUDA 환경에서 super-resolution 모델 (SwinIR) 돌려보기 시스템 사양 (환경) CPU - i7-10700F Memory - 32GB Mainboard - MSI, B460M GPU - Geforce RTX 3060 Ti WSL - Ubuntu 20.04 WSL2 환경에서 Nvidia gpu를 (3060ti) 사용하여 SwinIR 이라는 모델로 super-resolution을 돌려보았다. SwinIR은 이전에 리뷰했던 super-resolution 모델과 달리 transformer 기반이라 따로 시도해 보았다. 먼저 AMD GPU를 이용한 DirectML로 구현을 해보고자 하였으나, DirectML의 pytorch에 attention 관련 함수들이 아직 완벽하게 구현되지 않아 코드를 돌릴수 없었던 관계로 결국, CUDA를 사용하였다. https://github... 2022. 7. 29.