Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I load images instead of LMDB? #262

Open
GaryWBH opened this issue Jun 9, 2020 · 8 comments
Open

How do I load images instead of LMDB? #262

GaryWBH opened this issue Jun 9, 2020 · 8 comments

Comments

@GaryWBH
Copy link

GaryWBH commented Jun 9, 2020

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
Copy link

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
Copy link
Author

GaryWBH commented Jun 9, 2020

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: [email protected]

@WangYX-TKZ
Copy link

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: [email protected]

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

@WangYX-TKZ
Copy link

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: [email protected]

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
Copy link
Author

GaryWBH commented Jun 10, 2020

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: [email protected]

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
Copy link

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: [email protected]

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 [email protected]. 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
Copy link

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 [email protected]. I want this layer Because I have more than 3 channels images, I can finished base on your work. Ths!!!

@superchenyan
Copy link

superchenyan commented Dec 26, 2020

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: [email protected]

HI~GaryWBH , Can u share the image_data layer to me ? my email is [email protected]. Ths !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants