Detect-AnyShadow icon indicating copy to clipboard operation
Detect-AnyShadow copied to clipboard

How to make slight modifications to the lstn/dataloaders/train_datasets.py?

Open qian507 opened this issue 2 years ago • 1 comments

Hello author, how do I need to modify this aspect? 图片 图片

qian507 avatar Aug 01 '23 12:08 qian507

Replace the lines in the py file where images and masks are loaded with the image loading method from OpenCV.

For example, replace line 55 with ref_label = cv2.imread(xxx)

harrytea avatar Aug 02 '23 02:08 harrytea