-
Notifications
You must be signed in to change notification settings - Fork 452
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
ask HowTo do the training and label prediction for CamVid dataset #3
Comments
Hi Milton, Have you tried following the instructions in the readme.md file? At which stage did you get stuck in setting up the dataset and training the network? Cheers, |
Hi , Alex, I followed the readme.md,
Here is my detailed training log Which steps am I missing? Thx~ Milton |
Hi Milton, I believe this is a bug with Caffe. See BVLC/caffe#2334 for more details. Their solution is to recompile the code with the following commands: make clean Does that work for you? |
Hi @amiltonwong , Another possibility is the label format. Caffe-segnet takes single channel (grayscale) label images as input, so there's an extra conversion step required for the CamVid dataset. Is your label data in this format? If not you can use this script to do the conversions:
|
Hi, Alex, You're right, the labels is in original format, which contains rgb labels. Therefore, I should convert them into grayscale first. I use the code( https://goo.gl/gNx2nl ) you suggested above. I try it as follows: cd ~/caffe-segnet/Camvid/CamSeq01 Which steps am I missing? Thx~ Milton |
If you're using the above script, I missed the |
Hi, Alex, Yes, it works now and the conversion script is definitely useful. THX! |
Hi, Alex, Now I'm practicing the training for CamVid dataset. Do you know which sequence is evaluated in SegNet paper. As in the original SegNet paper, it says "367 training images of 360x480" for training, For the original dataset, it contains 701 images from "701_StillsRaw_full.zip", download link: http://web4.cs.ucl.ac.uk/staff/g.brostow/MotionSegRecData/files/ However, I could find both raw images and corresponding segementation groundtruth (101 images) of camvid_seq1 from http://mi.eng.cam.ac.uk/research/projects/VideoRec/CamSeq01/ So my second question is : Where is the repository for the corresponding segmentation groundtruth labeled image of those 701 images)? Thanks in advance! |
The dataset is still available for download on the website. I found the data here: All the relevant information, such as class color codes, is here: Cheers, |
hello, @alexgkendall , I had run the segnet successfully. Now I want to training CamVid dataset , the Camvid dataset have 32 semantic classes, but the segnet just classify 11 or 12 classes, the label category is not equal to the output category, how it work ? Thx~ |
@defenceVT The segnet was trained on a smaller version of Camvid dataset with only 12 classes. If you want to train it on the complete camvid dataset, you might want to finetune it again. |
@kezbreen I ran the script you provided here, but it gives me the following error: Traceback (most recent call last): I would really appreciate if you could reply asap I have to give a demo in 2 days |
Hi Alex; |
@jay98 it means that there are colors in your labeled RGB picture that aren't assigned a class in your conversion script |
Where can I download the full Camvid images and labels? I only find the labels here:http://mi.eng.cam.ac.uk/research/projects/VideoRec/CamVid/ |
@unnir Thanks very much@unnir. But there seems only 101 images.The whole set is 701_StillsRaw_full.zip |
@mokii what about this repo https://github.com/mostafaizz/camvid? |
Hi, @alexgkendall ,
I had installed caffe-segnet successfully. Now I want to practice some examples such as training CamVid dataset which was discussed in paper (SegNet). Would you list the steps and corresponding command for achieving the training and label prediction for CamVid dataset?
Thx~
Milton
The text was updated successfully, but these errors were encountered: