The code is based on the official release code of SeMask-FaPN. The code is slightly modified to generate only the human segmentations. The generated human segmatations will be saved in data/kinetics/seg
.
Please follow the instructions.
# /HAT/SeMask-FAPN/SeMask-Mask2Former
python demo/generate.py --input ../../data/kinetics400 --opts MODEL.WEIGHTS ../semask_large_mask2former_msfapn_ade20k.pth