eric612 / MobileNet-YOLO

A caffe implementation of MobileNet-YOLO detection network
Other
865 stars 442 forks source link

How do I load images instead of LMDB? #262

Open GaryWBH opened 4 years ago

GaryWBH commented 4 years ago

HI eric612, I read your source code, there is a problem. Your Caffe reads LMDB type data. I need to directly read image data instead of LMDB. In the native Caffe, image reads do not support multiple tags and annotation boxes. How can I modify to read images with multiple tags using your model? Thanks

WangYX-TKZ commented 4 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

GaryWBH commented 4 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Wow,thanks, that's very kind of u!! I've been trying to modify Image_data_layer for days,but it doesn't work!! My Email: gary.wbh@hotmail.com

WangYX-TKZ commented 4 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Wow,thanks, that's very kind of u!! I've been trying to modify Image_data_layer for days,but it doesn't work!! My Email: gary.wbh@hotmail.com

I have send the Email to you. the file is suitable for my caffe project. May be your should modify somthing.

WangYX-TKZ commented 4 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Wow,thanks, that's very kind of u!! I've been trying to modify Image_data_layer for days,but it doesn't work!! My Email: gary.wbh@hotmail.com

I forgot the prototxt,I'm sure you should modify some details. example: layer { name: "input-data" type: "YoloV3RoiData" top: "data" top: "label" include { phase: TRAIN } window_data_param { source: "E:/Aera_data_en/test-Yolov3/data/transposed/self.trainval" root_folder: "E:/Aera_data_en/test-Yolov3/data/transposed/imageset/" cache_images: true } }

GaryWBH commented 4 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Wow,thanks, that's very kind of u!! I've been trying to modify Image_data_layer for days,but it doesn't work!! My Email: gary.wbh@hotmail.com

I forgot the prototxt,I'm sure you should modify some details. example: layer { name: "input-data" type: "YoloV3RoiData" top: "data" top: "label" include { phase: TRAIN } window_data_param { source: "E:/Aera_data_en/test-Yolov3/data/transposed/self.trainval" root_folder: "E:/Aera_data_en/test-Yolov3/data/transposed/imageset/" cache_images: true } }

Got it~ I’m trying to read your code now, thank you for your help!

applefishsky009 commented 4 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Wow,thanks, that's very kind of u!! I've been trying to modify Image_data_layer for days,but it doesn't work!! My Email: gary.wbh@hotmail.com

I forgot the prototxt,I'm sure you should modify some details. example: layer { name: "input-data" type: "YoloV3RoiData" top: "data" top: "label" include { phase: TRAIN } window_data_param { source: "E:/Aera_data_en/test-Yolov3/data/transposed/self.trainval" root_folder: "E:/Aera_data_en/test-Yolov3/data/transposed/imageset/" cache_images: true } }

Got it~ I’m trying to read your code now, thank you for your help!

HI~WangYX-TKZ , It is very kind of u. and Can u share the image_data layer to me ? my email is ryl_public@163.com. I want this layer because I find that image_data_layer has better performance in some classification task. I guess the shuffle between epochs that lmdb hard to do is the reason.

superchenyan commented 3 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Ths ! my email is superchenyan@sina.com. I want this layer Because I have more than 3 channels images, I can finished base on your work. Ths!!!

superchenyan commented 3 years ago

I have modified the image_data layer to support read images and annotation boxes. If you want the file, you could give me your Email.

Wow,thanks, that's very kind of u!! I've been trying to modify Image_data_layer for days,but it doesn't work!! My Email: gary.wbh@hotmail.com

HI~GaryWBH , Can u share the image_data layer to me ? my email is superchenyan@sina.com. Ths !!!