-
Notifications
You must be signed in to change notification settings - Fork 622
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 to add my own images into dest.h5? #5
Comments
I mean how to get the depth and segmentation information of image? |
Hi @junboLiu! You can use depth-from-single image ConvNets and popular segmentation methods like gPb-UCM or "Holistic Edge Detection". |
There are an in-door and an out-door pre-trained model for FCRN depth predictions. Is there much difference between those models, and which one should I choose? |
I used both for my data sets. I basically separated my images into
different folders for indoor and outdoor scenes. I believe the only
difference between the two models is that the outdoor model attempts to
find the sky and make it the maximum depth.
…On Thu, Jan 19, 2017 at 8:33 AM, yfliu ***@***.***> wrote:
There are an in-door and an out-door pre-trained model for FCRN depth
predictions. Is there much difference between those models, and which one
should I choose?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABL1YHSv5I2XMX_tPRa1-yFsvyrw9j_Pks5rT2YngaJpZM4K_9NM>
.
|
The indoor/ outdoor models are expected to perform better on images from their respective domains. However, this may not be too critical for synthetic text placement. |
@cjnolet @ankush-me |
Another question: the depth of images in dset.h5 file have two channels, while the depth predicted by FCRN has only one channel. Is there any additional preprocessing? Best! |
FCRN in our CVPR work does not predict depth. The two channels correspond to predictions by the depth-prediction models trained on outdoor and indoor datasets. |
how you deal with the problem that each image have different size and the depth prediction and the segmentation network required fix size of input image? |
As far as I recall, there is a limit of 600px for the depth prediction network, (and no size limit at least for the gPb-UCM segmentation method). So I rescale down the image if it is bigger than 600 px; and then bring all the three things -- RGB, depth, segmentation -- to the same size (check here). |
i see you resize to the depth image and not to the original one . why? |
Hi @ankush-me |
@oneOfThePeople : I did not want to interpolate the depth image. @crazylyf : "Seg" is a region labeling, where pixels in each segment have the same label. "Label" is just a vector of unique values in "seg". "Area" is the number of pixels in the each segment, where, the i-th "area" corresponds to the segment with the i-th "label". |
ok thank alot |
How to get the "seg" "label" and "area" from gPb-UCM (https://github.com/jponttuset/mcg) code that you advised. Thanks a lot. @ankush-me |
Hello Ankush, I've been stuck in creating segmentation infomation of the images and I really need u help! I've managed to run u code in Windows system with Python 3.5 and OpenCV3, but I couldn't find a way to replace gPb-UCM? Is there any method written in python while feasible to run in Windows? |
I got segmentation information from gPb-UCM / MCG (as pointed above). |
Hello ankush, I am having trouble creating my own data set. I want create a new dest.h5, but I didn't find the method. Can you help me? |
Hello Ankush,I have generated a .mat file, how do I turn a .mat file into a .h5 file? |
Sorry.I don't know that depth is translate persepctive. |
你好 我想问下你生成这个mat文件是在ubuntu系统上吗 没有保错吗 我这边用ubuntu16.04 上的matlab2016 就出现了这个错误;
Error in run_ucm (line 22) Caused by: 请问这个知道怎么解决吗 |
hi ... i use this code for my project but i get error like this what can i do? |
How did you extract depth images from h5 file, or how are you upload depth images into synthtext script? Here is my code:
But when I run this code it shows me this error: Then I try float32 (2, 600, 400) The first one "2" here refers to two different depth estimates by two different neural networks (one trained on mostly indoor images, and the other on outdoor images). |
Hello ankush, I am having trouble creating my own data set. I want add images to dest.h5,but I didn't find the method. Can you provide the example?
The text was updated successfully, but these errors were encountered: