visual-layer / fastdup

fastdup is a powerful, free tool designed to rapidly generate valuable insights from image and video datasets. It helps enhance the quality of both images and labels, while significantly reducing data operation costs, all with unmatched scalability.
Other
1.59k stars 77 forks source link

[User Bug]: Invalid number of channels in input images when running on 16 bit RGB image #190

Closed dbickson closed 1 year ago

dbickson commented 1 year ago

fastdup2

What happened?


2023-05-12 06:52:34 [ERROR] Failed to read image unittests/fastdup2.jpg unittests/fastdup2.jpg OpenCV(4.6.0) /mnt/data/opencv/modules/imgproc/src/color.simd_helpers.hpp:92: error: (-2:Unspecified error) in function 'cv::impl::(anonymous namespace)::CvtHelper<cv::impl::(anonymous namespace)::Set<1, -1, -1>, cv::impl::(anonymous namespace)::Set<3, 4, -1>, cv::impl::(anonymous namespace)::Set<0, 2, 5>, cv::impl::(anonymous namespace)::NONE>::CvtHelper(cv::InputArray, cv::OutputArray, int) [VScn = cv::impl::(anonymous namespace)::Set<1, -1, -1>, VDcn = cv::impl::(anonymous namespace)::Set<3, 4, -1>, VDepth = cv::impl::(anonymous namespace)::Set<0, 2, 5>, sizePolicy = cv::impl::(anonymous namespace)::NONE]'
> Invalid number of channels in input image:
>     'VScn::contains(scn)'
> where
>     'scn' is 3

### What did you expect to see?

_No response_

### What version of fastdup were you runnning on?

0.927

### What version of Python were you running on?

Python 3.8

### Operating System

ubuntu 20

### Reproduction steps

_No response_

### Relevant log output

_No response_

### Attach a screenshot [Optional]

_No response_

### Contact Details [Optional]

From a user
dbickson commented 1 year ago

Fixed in 0.929