RuiqiZhang
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
My train/test data is crystal structures downloaded from Materials Project database (using MPRester API). In the case of using my own trained model, I use same data to train and...
And for the size mismatch problem, I'm wondering if my environment is different from the environment of pre-trained models. The packages in my vritual environment are listed as follows: ```...