boostcampaitech3 / level1-image-classification-level1-nlp-10

0 stars 4 forks source link

wandb용 코드 구현 #35

Closed nonegom closed 2 years ago

nonegom commented 2 years ago

프로젝트 실험 관리를 위한 wandb적용

기존 Tensorflow의 테스트의 경우 개인이 확인하는데는 유리하지만, 팀적으로 모델 테스트 시 부족한 부분이 있다고 생각한다.

기존 Git 프로젝트 칸반보드로 관리를 하고 있기는 하지만, 세부적인 파라미터 세팅값 등에 대해서 알기 위해서는 프로젝트의 업데이트를 기다리든가 개별로 DM을 보내야한다.한다. 따라서 이러한 문제를 해결하기 위해

wnadb를 적용하면 각자의 실험 내용을 공유할 수 있을 것으로 기대된다.

참고 링크1: https://greeksharifa.github.io/references/2020/06/10/wandb-usage/

참고 링크2: https://wandb.ai/boostcamp_nlp_10

nonegom commented 2 years ago

사용법

  1. wandb 설치 pip install wandb

  2. wandb login을 진행한다.

    wandb login
    # 결과:
    wandb: You can find your API key in your browser here: https://app.wandb.ai/authorize
    wandb: Paste an API key from your profile and hit enter:
  3. feature/develop에 있는 train_wb.py로 모델을 돌리면 된다.