[Pytorch] RuntimeError: DataLoader worker (pid(s) 19106, 19107, 19109, 19110) exited unexpectedly.

2023. 1. 28. 22:58·Error Note
728x90
반응형
반응형

- 전체 에러 문구

RuntimeError: DataLoader worker (pid(s) 19106, 19107, 19109, 19110) exited unexpectedly

​

확실하지 않지만, dataloader에서 데이터를 불러올 때, 이미 tensor 형태로 데이터를 만들어 불러 오는 경우 발생하는 에러인 것으로 판단됩니다.

좀 더 구글링을 해보니 이미 tensor형태로 만들어진 데이터는 gpu에 들어가 있는 상태인데,  이를 다시 불러와 다른 gpu에 넣으려 할 때 발생하는 에러인 것 같습니다.

​

​

​

- 해결 방법

데이터를 넘겨줄 때 tensor로 만들어 넘겨 주는 방식 대신, numpy 형식으로 바꿔 넘겨주는 방식으로 해결하였습니다.

728x90
반응형
저작자표시 (새창열림)

'Error Note' 카테고리의 다른 글

[Pytorch] RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn  (0) 2023.01.29
TypeError: Encoders require their input to be uniformly strings or numbers. Got ['int', 'str']  (0) 2023.01.29
[Pytorch] RuntimeError: Expected object of scalar type Long but got scalar type Float for argument #  (0) 2023.01.29
[Tensorflow] Tensorflow Error: InvalidArgumentError: slice index 0 of dimension 0 out bounds.  (0) 2023.01.28
[Tensorflow] Tensorflow와 CuDNN 버전 에러  (0) 2023.01.28
'Error Note' 카테고리의 다른 글
  • TypeError: Encoders require their input to be uniformly strings or numbers. Got ['int', 'str']
  • [Pytorch] RuntimeError: Expected object of scalar type Long but got scalar type Float for argument #
  • [Tensorflow] Tensorflow Error: InvalidArgumentError: slice index 0 of dimension 0 out bounds.
  • [Tensorflow] Tensorflow와 CuDNN 버전 에러
ga.0_0.ga
ga.0_0.ga
    반응형
    250x250
  • ga.0_0.ga
    ##뚝딱뚝딱 딥러닝##
    ga.0_0.ga
  • 전체
    오늘
    어제
    • 분류 전체보기 (182)
      • Paper Review (52)
        • Video Scene Graph Generation (6)
        • Image Scene Graph Generation (18)
        • Graph Model (5)
        • Key Information Extraction (4)
        • Fake Detection (2)
        • Text to Image (1)
        • Diffusion Personalization (4)
        • etc (12)
      • AI Research (49)
        • Deep Learning (30)
        • Artificial Intelligence (15)
        • Data Analysis (4)
      • Pytorch (10)
      • ONNX (5)
      • OpenCV (2)
      • Error Note (34)
      • Linux (2)
      • Docker (3)
      • Etc (7)
      • My Study (16)
        • Algorithm (10)
        • Project (4)
        • Interview (2)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    3dinput
    dataset
    정규화
    RuntimeError
    TypeError
    transformer
    permute
    linear regression
    fine tuning
    그래프신경망
    tensorflow
    알고리즘
    ONNX
    HRNet
    차원의 저주
    Inductive bias
    contiguous
    나이브 베이즈 분류
    JNI
    활성화 함수
    pandas
    Activation Function
    i3d
    forch.nn.functional
    GCN
    오차 역전파
    torch.nn
    Logistic regression
    dataloader
    pytorch
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
ga.0_0.ga
[Pytorch] RuntimeError: DataLoader worker (pid(s) 19106, 19107, 19109, 19110) exited unexpectedly.
상단으로

티스토리툴바