zhiqi-li / Panoptic-SegFormer

This is the official repo of Panoptic SegFormer [CVPR'22]
Apache License 2.0
222 stars 30 forks source link

Instruction for single GPU run #11

Open nazib opened 2 years ago

nazib commented 2 years ago

Hi thanks for sharing your works. Iwas trying to run it on single gpu. Would you pls add some instructions or scripts to run it in single gpu? That would be a great help.

kind regards Abdullah

nazib commented 2 years ago

Also when I run the test code I am getting warning like "no detectron2" and after running for long time it gives o values for all evaluation metrices. Was running with this command and corresponding model. " ./tools/dist_test.sh ./configs/panformer/panformer_r50_24e_coco_panoptic.py ./panoptic_segformer_r50_1x.pth 1 "

lehe0000 commented 3 months ago

I have the same problem. I'd like to run on a single GPU witch batch size >1. I can't figure out the necessary changes, my guess is there is something wrong in the 'loss_single_panoptic' function in 'panformer_head.py' and some of those reshaping operations might mess things up with a batch size >1.