pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.69k stars 21.33k forks source link

What caused the problem with this message? #2346

Open STbim opened 3 years ago

STbim commented 3 years ago

608 x 608 Create 6 permanent cpu-threads Cannot load image cov_data/cov_images/image(157).jpg

Error in load_data_detection() - OpenCV Cannot load image cov_data/cov_images/image(23).jpg

Error in load_data_detection() - OpenCV Cannot load image cov_data/cov_images/image(8).jpg

Error in load_data_detection() - OpenCV Cannot load image cov_data/cov_images/image(46).jpg

Error in load_data_detection() - OpenCV Cannot load image cov_data/cov_images/image(143).jpg . . ..

ChaeSeoyoung commented 3 years ago

It seems image is not in the corresponding path. Therefore, check the path of images and train.txt

dilek06 commented 3 years ago

I am getting the same error. Did you solve it?

ChaeSeoyoung commented 3 years ago

I solved it long time ago, and I may remember I just deleted the images on error

dilek06 commented 3 years ago

Thankss

Fritta013 commented 3 years ago

I had the same problem, I indicated that all my images are .jpg on my train and test txt files. However, later on I realized some of the images were .jpeg and I haven't paid attention to that. You can run a python script to quickly convert all your .jpeg images to .jpg

ChaeSeoyoung commented 3 years ago

Thanks. I think it's the smarter solution :)

Mohit39970 commented 2 years ago

Hey! If you created a dataset recently on dropbox/something so, sometimes it takes time to sync everything. You can wait for some time and restart your PC. Run again, it should work now. :) I have tried and tested this

bilicderler commented 1 year ago

I took same error:

Loading weights from yolov4.conv.137... seen 64, trained: 0 K-images (0 Kilo-batches_64) Done! Loaded 137 layers from weights-file Learning Rate: 0.0013, Momentum: 0.949, Decay: 0.0005 Detection layer: 139 - type = 28 Detection layer: 150 - type = 28 Detection layer: 161 - type = 28 Resizing, random_coef = 1.40

608 x 608 Create 6 permanent cpu-threads Cannot load image mask_data\mask_images\122.jpg

Error in load_data_detection() - OpenCV Cannot load image mask_data\mask_images\432.jpg ... Error in load_data_detection() - OpenCV Cannot load image mask_data\mask_images\55.jpg

Error in load_data_detection() - OpenCV try to allocate additional workspace_size = 138.41 MB CUDA allocate done! Loaded: 0.000048 seconds

But I didn't solve it what I did :(( I checked paths, files and others. But it looks everything is OK.

yusufkeremy commented 10 months ago

ı have the same problem. are you solve the problem.

yusufkeremy commented 10 months ago

i have the same problem

Chillyblast commented 4 months ago

Have the same propem was anyone able to solve it?