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

train time for vild #19

Closed
ghost opened this issue May 14, 2022 · 3 comments
Closed

train time for vild #19

ghost opened this issue May 14, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented May 14, 2022

I use the sh and config
./tools/slurm_train.sh a100 vild configs/lvis/detpro_ens_20e.py workdirs/vild_ens_20e_fg_bg_5_10_end --cfg-options model.roi_head.load_feature=True
to reproduce vild* with 8 32g a100 batchsize 24(8*3)
Screen Shot 2022-05-14 at 11 45 00 PM
and in the issue, you claim only 0.75s per iter. but for me, it is 6s。20epoch cost about 30 days.

@dyabel
Copy link
Owner

dyabel commented May 15, 2022

I use the sh and config ./tools/slurm_train.sh a100 vild configs/lvis/detpro_ens_20e.py workdirs/vild_ens_20e_fg_bg_5_10_end --cfg-options model.roi_head.load_feature=True to reproduce vild* with 8 32g a100 batchsize 24(8*3) Screen Shot 2022-05-14 at 11 45 00 PM and in the issue, you claim only 0.75s per iter. but for me, it is 6s。20epoch cost about 30 days.

I guess you have got some path wrong. Can you check whether the lvis_clip_image_embedding.zip has been successfully loaded.

@ghost
Copy link
Author

ghost commented May 16, 2022

WeChat5f308d778f4f25e21959c170043f03c5

I put lvis_clip_image_embedding.zip under ./data and unzip lvis_clip_image_embedding.zip to /data/lvis_clip_image_embedding. like home/detpro/data/lvis_clip_image_embedding/train2017/000000000030.pth

@dyabel

@dyabel
Copy link
Owner

dyabel commented May 17, 2022

WeChat5f308d778f4f25e21959c170043f03c5

I put lvis_clip_image_embedding.zip under ./data and unzip lvis_clip_image_embedding.zip to /data/lvis_clip_image_embedding. like home/detpro/data/lvis_clip_image_embedding/train2017/000000000030.pth

@dyabel

Then there should be no problem, the only reason I can think of for costing such long time is that the pre-extracted embeddings are not loaded correctly, then the code will choose to do the clip forwarding process online.

@dyabel dyabel closed this as completed May 17, 2022
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

1 participant