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

Please confirm the commands to reproduce all four stages. #209

Open
Kamlesh364 opened this issue Jun 12, 2024 · 0 comments
Open

Please confirm the commands to reproduce all four stages. #209

Kamlesh364 opened this issue Jun 12, 2024 · 0 comments

Comments

@Kamlesh364
Copy link

Kamlesh364 commented Jun 12, 2024

Stage 1:
CUDA_VISIBLE_DEVICES=0 python train_base.py \ --dataset-name videomatte240k --model-backbone resnet50 \ --model-name mattingbase-resnet50-videomatte240k \ --model-pretrain-initialization "pretraining/best_deeplabv3_resnet50_voc_os16.pth" \ --epoch-end 8

Stage 2:
CUDA_VISIBLE_DEVICES=0 python train_refine.py \ --dataset-name videomatte240k \ --model-backbone resnet50 \ --model-name mattingrefine-stage2-resnet50-videomatte240k \ --model-last-checkpoint "./checkpoint/mattingbase-resnet50-videomatte240k/epoch-7.pth" \ --epoch-end 1

Stage 3:
CUDA_VISIBLE_DEVICES=0 python train_refine.py \ --dataset-name photomatte13k \ --model-backbone resnet50 \ --model-name mattingrefine-stage3-resnet50-photomatte13k \ --model-last-checkpoint "./checkpoint/mattingbase-resnet50-videomatte240k/epoch-0.pth" \ --epoch-end 25

Stage 4:
CUDA_VISIBLE_DEVICES=0 python train_refine.py \ --dataset-name distinction \ --model-backbone resnet50 \ --model-name mattingrefine-stage4-resnet50-distinction \ --model-last-checkpoint "./checkpoint/mattingrefine-stage3-resnet50-photomatte13k/epoch-24.pth" \ --epoch-end 30

Also, when I use the Stage 2 command on GPUs(0,1,2,3)-
Screenshot 2024-06-12 at 4 51 39 PM

Please verify if this is unusual!

@PeterL1n @jinzishuai @andreyryabtsev Thanks!

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