-
Notifications
You must be signed in to change notification settings - Fork 40
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
If we use a custom coco type dataset, what changes should we make? #10
Comments
If your datasets are the same with COCO w.r.t annotations, there is nothing to do except making a new data loader. |
My dataset is in coco format, but there is no mark of mask. Load the backbone in the given path train: 1451 , # val 362load a checkpoint from swin_tiny_patch4_window7_224.pth After reading your article, I made the same experiment on DETR, Deformer DETR and YOLOS, and used my dataset. The modification method is the same as that above, and can be used normally.The above error did not occur. What is the reason??? and My training instruction is:python -m torch.distributed.launch --nproc_per_node=2 --nnodes=1 --use_env main.py --method vidt --backbone_name swin_tiny --coco_path data/coco --output_dir output/ --pre_trained swin_tiny_patch4_window7_224.pth |
@sure7018: Were you able to do the training? |
Not yet |
Hi, I was able to do the training but I am having some issues with the inference. Can someone explain what the "vectors" field in the outputs contain for the ViDT+ models? I assume it is the instance segmentation mask, however, it is stored as a [batch_size, num_queries,256] dimension which doesn't make sense to me. Is it a 256-point polygon ? |
Hi @ananthu-aniraj, can you please mention the edits and steps you followed for training on datasets in coco format without segmentation labels? Or even if you were able to do it with segmentation mask labels. Thank you very much! |
If we use a custom coco type dataset, what changes should we make?
The text was updated successfully, but these errors were encountered: