Open hakS07 opened 5 years ago
@essalahsouad, cannot load image "/content/yolo_segmentation/project/C39_S1_I8_img.txt", that means "/content/yolo_segmentation/project/C39_S1_I8_img.txt" should be a picture, and this error belong to coding debug, you can use some command like "grep -rn "cannot load image"" to find where the source of error is.
I have the same problem . How to solve this ? Did you make an update for project that solving this bug ?
I have the same problem, did you guys figured out what's going on here?
Problem solved, the root cause is find_replace in the image load_image_gray function was trying to change my path name...
@zhengshoujian I followed this steps for trainging the pretrained model on my dataset 1)put label images(0-1) and original images(RGB) together:(_seg.bmp+_img.jpg)![Capture du 2019-04-23 10-53-26](https://user-images.githubusercontent.com/34586193/56572043-20304b80-65b6-11e9-9b99-57ce7545fe59.png)
2)modified in find_replace fonction ( find_replace(labelpath, "_img.jpg", "_seg.bmp", labelpath);)
3) generate the train.list file(path for the RGB image)
![Capture du 2019-04-23 11-29-25](https://user-images.githubusercontent.com/34586193/56574419-1eb55200-65bb-11e9-817e-1e707c3a486f.png)
4)generate the .data file
5)modified in .cfg file
6) start train
!./darknet segmenter train data/obj.data cfg/segment.cfg segment.backup -gpus 0.
//////////But i got an error
Any help, please