소스 검색

the value should be a list to unpacking (#688)

5.0
tkianai GitHub 4 년 전
부모
커밋
9ae868364a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      utils/datasets.py

+ 1
- 1
utils/datasets.py 파일 보기

@@ -457,7 +457,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing
l = np.zeros((0, 5), dtype=np.float32)
x[img] = [l, shape]
except Exception as e:
x[img] = None
x[img] = [None, None]
print('WARNING: %s: %s' % (img, e))

x['hash'] = get_hash(self.label_files + self.img_files)

Loading…
취소
저장