RuiqiZhang

Results 5 comments of RuiqiZhang

> Are you giving it the correct `dataset_dir` to find your images and annotations? > Note that argparse may overwrite the `dataset_dir` from `cfg.py` using its default val : >...

> Try printing out the `'img_path` on this line: > https://github.com/Tianxiaomo/pytorch-YOLOv4/blob/master/dataset.py#L274 > > Check to see if the relative path to the image is correct. Thank you! I'll try it...

> Do you solve this problem?My dataset_dir is correct but i still get the"cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-99ib2vsi/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'" No... I'm wondering if there's something wrong...

> Try printing out the `'img_path` on this line: > https://github.com/Tianxiaomo/pytorch-YOLOv4/blob/master/dataset.py#L274 > > Check to see if the relative path to the image is correct. I put the images in...

Thanks a lot for all these advice! I cannot solve, and find that yolov5 works well. lol