AI-GrandChallenge / round-1

14 stars 11 forks source link

[Tr-1] submit 에러문의 드려요 #137

Closed bjo9280 closed 4 years ago

bjo9280 commented 4 years ago

테스트에서는 이상이없는데 submit에 에러나서 확인좀 부탁드립니다.


.Error occurred while inference. You can check error 'nsml submit --test'
ValueError: axes don't match array

Infer test set takes 359.4704842567444 seconds
..Error: Fail to get prediction result: t0088/tr-1/354/model
time="2020/07/31 14:19:52.261" level=fatal msg="Internal server error"
nsml-admin commented 4 years ago
  File "main_.py", line 322, in infer
    return _infer(model, root_path, cfg)
  File "main_.py", line 199, in _infer
    candidate, subset = body_estimation(im[l:l + h, t:t + w])
  File "/app/utils/body.py", line 53, in __call__
    heatmap = np.transpose(np.squeeze(Mconv7_stage6_L2), (1, 2, 0))  # output 1 is heatmaps
  File "<__array_function__ internals>", line 6, in transpose
  File "/opt/conda/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 650, in transpose
    return _wrapfunc(a, 'transpose', axes)
  File "/opt/conda/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 61, in _wrapfunc
    return bound(*args, **kwds)
ValueError: axes don't match array

입니다.