Dataset Viewer issue

#1
by laiyingxin - opened

The dataset viewer is not working.

Error details:

Error code:   JobManagerExceededMaximumDurationError

cc @albertvillanova @lhoestq @severo .

Can you specify which files to load using this in the YAML part of the README.md file ?

configs:
- config_name: default
  data_files: *.zip

This way the docs image will be ignored, and it would make the viewer job faster to run

I ran into the following problems when I was referring to git's image reading method
img=Image.open(path)
img = img.convert("RGB")
img=np.array(img)

cv2.error: OpenCV(4.8.0) /io/opencv/modules/imgproc/src/color.simd_helpers.hpp:92: error: (-2:Unspecified error) in function 'cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<3, 4>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0, 2, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = cv::impl::::NONE; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&]'

Invalid number of channels in input image:
'VScn::contains(scn)'
where
'scn' is 2

PIL/TiffImagePlugin.py:866: UserWarning: Corrupt EXIF data. Expecting to read 2 bytes but only got 0.

And there doesn't seem to be a separate set of training and testing in the file

Sign up or log in to comment