• 카테고리

    질문 & 답변
  • 세부 분야

    컴퓨터 비전

  • 해결 여부

    미해결

wandb 오류 질문

21.11.03 14:17 작성 조회수 304

0

%cd /content
%cd yolov3
!python train.py --img 640 --batch 16 --epochs 3 --data coco128.yaml --weights yolov3.pt --nosave --cache

위 코드 실행시 

25 [-1, 6] 1 0 models.common.Concat [1] 26 -1 1 344832 models.common.Bottleneck [384, 256, False] 27 -1 2 656896 models.common.Bottleneck [256, 256, False] 28 [27, 22, 15] 1 457725 models.yolo.Detect [80, [[10, 13, 16, 30, 33, 23], [30, 61, 62, 45, 59, 119], [116, 90, 156, 198, 373, 326]], [256, 512, 1024]] Model Summary: 333 layers, 61949149 parameters, 61949149 gradients, 156.4 GFLOPS Transferred 440/440 items from yolov3.pt Scaled weight_decay = 0.0005 Optimizer groups: 75 .bias, 75 conv.weight, 72 other train: Scanning '../coco128/labels/train2017.cache' images and labels... 128 found, 0 missing, 2 empty, 0 corrupted: 100% 128/128 [00:00<?, ?it/s] 0% 0/128 [00:00<?, ?it/s]/usr/lib/python3.7/multiprocessing/semaphore_tracker.py:144: UserWarning: semaphore_tracker: There appear to be 6 leaked semaphores to clean up at shutdown len(cache))

 

위와 같이 train 부분만 실행되다 더이상  실행되지 않는데 왜 이럴까요? 잘 이해가 안가서 질문드립니다

답변 1

답변을 작성해보세요.

0

안녕하십니까, 

저는 코랩에서 해당 실습이 별 문제 없이 동작합니다만, 

어떤 부분이 실행 중에 오류인지, 명확하게 적어 주십시요. 

실습 코드의 몇번째 cell에서 오류인지, wandb를 적용해서 수행한건지 등을 기재해 주십시요. 

그리고 오류 메시지 글자가 작아서 보이지 않습니다. 오류 메시지를 텍스트로 여기에 올려 주십시요. 

%cd /content
%cd yolov3
!python train.py --img 640 --batch 16 --epochs 3 --data coco128.yaml --weights yolov3.pt --nosave --cache
 
wandb install 바로 아래 코드 실행시
 
27 -1 2 656896 models.common.Bottleneck [256, 256, False] 28 [27, 22, 15] 1 457725 models.yolo.Detect [80, [[10, 13, 16, 30, 33, 23], [30, 61, 62, 45, 59, 119], [116, 90, 156, 198, 373, 326]], [256, 512, 1024]] Model Summary: 333 layers, 61949149 parameters, 61949149 gradients, 156.4 GFLOPS Transferred 440/440 items from yolov3.pt Scaled weight_decay = 0.0005 Optimizer groups: 75 .bias, 75 conv.weight, 72 other train: Scanning '../coco128/labels/train2017.cache' images and labels... 128 found, 0 missing, 2 empty, 0 corrupted: 100% 128/128 [00:00<?, ?it/s] 0% 0/128 [00:00<?, ?it/s]/usr/lib/python3.7/multiprocessing/semaphore_tracker.py:144: UserWarning: semaphore_tracker: There appear to be 6 leaked semaphores to clean up at shutdown len(cache))
 
이렇게 결과가 나옵니다. train 이후 부분이 출력이 되질 않아 질문 드립니다.
 
 

코랩에서 수행하고 계신건가요?

네 코랩에서 수행했습니다. 선생님

 

다시 한번 코드 다운 받아서 다시 해보겠습니다.