기술

    pbar 고급진 사용법

    pbar = tqdm(enumerate(train_dataloader), total=len(train_dataloader)) model.train() for batch, (data, labels) in pbar: data, labels = data.to(device), labels.to(device) # ... pbar.update() pbar.set_description( f"Train: [{epoch + 1:03d}] " f"Loss: {(epoch_loss / (batch + 1)):.3f}, " ) pbar.close()

    아 그래서 종성이 뭐냐고

    https://www.korean.go.kr/front/onlineQna/onlineQnaView.do?mn_id=216&qna_seq=115948 국립국어원 축소 확대 온라인가나다 상세보기 초성 중성 종성 작성자 박찬영 등록일 2017. 4. 11. 조회수 2,932 초성과 중성, 종성에 뜻을 예를 들어 설명해 주세요. [답변]초성/중성/종성 답변자 온라인 가나다 www.korean.go.kr 받침 있으면 종성 있음. 없으면 종성 없음. 예) 감 - > 'ㅁ' 받침이 있으므로 종성 있음. 예) 대우 -> 마지막 글자에 받침이 없으므로 종성 없음.

    공통적으로 자주쓰는 colab 명령어들 모음

    시작할 때 주로 사용 !nvidia-smi from google.colab import drive drive.mount('/content/drive') %cd /content/drive/MyDrive/ETRI/Fashion-How !unzip data.zip -d data/

    실제 torch weights 살펴보기

    torch.nn.Linear https://pytorch.org/docs/stable/_modules/torch/nn/modules/linear.html#Linear https://pytorch.org/docs/stable/generated/torch.nn.functional.linear.html https://pytorch.org/docs/stable/_modules/torch/nn/modules/module.html#Module Module에 내가 건드려봤던 register hook들도 있음. 그 외에 zero_grad, requires_grad_, children 등등.. https://doodlrudco.tistory.com/entry/torchnnParameter-%EC%97%90-%EA%B4%..

    컴퓨터비전 방법론들

    https://dacon.io/competitions/official/235746/overview/description 카메라 이미지 품질 향상 AI 경진대회 - DACON dacon.io 이 대회 베이스라인 코드들을 분석했지만 정작 다른것들 하느라 시간이 없어 분석만 하고 못써먹었다. 그래서 가만히 두면 잊어버릴것 같고 그러기엔 유용해서 적어둠. 중구난방으로 쓸 거라 나중에 다른 글로 분리해야 할 수도 있다. 1. albumentations 라이브러리로 label image도 augment https://dacon.io/competitions/official/235746/codeshare/2909?page=2&dtype=recent from torch.utils.data import Dataset fr..