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

The missing files #41

Open
auh-12 opened this issue May 22, 2023 · 5 comments
Open

The missing files #41

auh-12 opened this issue May 22, 2023 · 5 comments

Comments

@auh-12
Copy link

auh-12 commented May 22, 2023

Dear author. The object detector missing some important files for training in train_config.yaml. Can you provide those files ! Thanks
${oc.env:DATA_ROOT}/vg/annotations/train_ann_lmdb ${oc.env:HOME}/datasets/vg/annotations/train_objects.json ${oc.env:HOME}/datasets/vg/annotations/attribute2ind.json ${oc.env:HOME}/datasets/vg/annotations/oid2attr.json
${oc.env:HOME}/datasets/vg/annotations/test_objects.json ${oc.env:HOME}/datasets/vg/annotations/test_coco.pkl ${oc.env:HOME}/datasets/vg/annotations/val_objects.json ${oc.env:HOME}/datasets/vg/annotations/val_coco.pkl
${oc.env:HOME}/datasets/coco/annotations/anno_1848_val2017.json
${oc.env:HOME}/datasets/coco/annotations/coco_vgoiv6_class2ind.json

@auh-12 auh-12 changed the title The json file The missing files May 22, 2023
@davidnvq
Copy link
Owner

Please find here for all the files.
In fact, you don't need train_ann_lmdb. Just check the code of Dataset and turn off them.

https://drive.google.com/drive/folders/1c7eWTjrlo_UJuKH3GwHIvTYMwzTkbIRd?usp=share_link

@auh-12
Copy link
Author

auh-12 commented May 23, 2023

Thank you. When I was training, I encountered some errors, such as screenshots. Do you know how to solve them?
image
5615d9f00b09c4eeccc329e0fc7cba8

@davidnvq
Copy link
Owner

I think the paths to images are wrong. Please check it carefully.

@auh-12
Copy link
Author

auh-12 commented Jun 12, 2023

Thank you. When I read the paper, I found that when pretrain the object detector with the backbone, you finetuned the models
on object detection plus attribute prediction using Visual Genome for additional five epochs. Can you share the code to implement it?

@davidnvq
Copy link
Owner

@auh-12 You are right. The pretrained object detectors shared in this repo were finetuned on OD and Attribute prediction using VG. I think you can find the code in the following files:

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

2 participants