-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Training with custom data #70
Comments
I'm not very familiar with preparing instance segmentation data as I've just been using COCO this whole time, but I've heard good things about LabelMe. Once you have the LabelMe annotations then you can use labelme2coco to convert it to coco annotations and then proceed with the custom dataset instructions in my readme. I haven't use either of those tools though--I've just heard about others using them. |
Thanks a lot @dbolya . I will try labelme. |
@Amit12690 as dbolya suggested , you can use that it will work since i have used the same approach for annotation and training |
@abhigoku10 @dbolya Thanks for the advice. Labelme is so easy to use. I am trying it on a sample dataset. Will update once I get training to work |
@dbolya @abhigoku10 I think my training has made progress , thanks a lot for your valuable suggestions. Labelme and labelme2coco.py work perfectly to create the dataset. For anyone who is planning to finetune/train the model on a custom dataset , please follow following steps :
Done! The dataset is created. Now proceed with the instruction in the yolact repo on custom training |
@Amit12690 nice work in sharing the steps .!!! |
Thanks @Amit12690 for the steps! I've added a link to your post in the readme for future reference, and I'll close the issue for now. |
hi, @Amit12690 Can you train the source code? |
I have encountered some problems and hope to get your help. |
@imvisibleman what is the problem ur facing pls share the errors |
I am a high school student, so my code understanding ability is not very strong, but I am very interested in yolact. Just like yoloV3, after I finished the data annotation, I don't know how to train my data. |
@abhigoku10 Can you help me? |
Is the Train.py code running directly? |
I don't know how to set the parameters. |
@imvisibleman suggest you to look into the readme file where he has mentioned how data should be provided and even @Amit12690 has laid down the step beautifully |
@Amit12690 |
I have got the json file now, what do I need to modify to train my data?Looking forward to your reply |
@Amit12690 I annotated my dataset with lamebe, which is to generate a JSON file for each picture, but in the code, "train_images": "path_to train_images", "train_info": "path_to train_annotation", which should be a JSON file generated by all pictures. Please ask how to do this? |
@Amit12690 why are you so intelligence! |
1 similar comment
@Amit12690 why are you so intelligence! |
I am confused with how I should annotate more than one objects of same class in an img?For instance with cat, should it be cat_1, cat_2, cat_3and so on , or cat_0, cat_1, cat_2, and so on , or just cat, cat, cat,cat ,and so on? I choose the last method mentioned above, and the result is bad in my own dataset which the model predict all img with only one instance, but img contains more than one instance indeed. |
How to label a single category with labelme? After looking at the user-defined data set, there is no annotation naming method. For example, there is only one category in a graph: cat, cat, cat or CAT1, cat2, Cat3 or cat-0, cat-1, cat |
Hey, I am not able to convert labeltococo as it needs pycocotools, whose installation is giving building error. i have installed cython also. Please help. |
hi, guys, what will be the min number of custom images needed , to retrain a resnet101 for instance segmentation of 10 classes? |
II got this error while training on a custom dataset... I've already done changing necessary things in config.py what is the solution for this? /content/yolact Traceback (most recent call last): |
This is happened because of empty segmentation list. Please make sure you do not have empty segmentation mask in your json annotation file. |
I have few images where I have to segment 2 kinds of flowers . I wish to achieve it using Yoloact. However I am very confused with how to prepare my dataset suitable for training . Can anyone please help me with the following :
Any annotation tool for labelling and getting the annotations in coco format
How to proceed once I have the annotated data ?
Sorry if this is a very basic question . I have just started looking in to instance segmentation , so confused
The text was updated successfully, but these errors were encountered: