KU-CVLAB / CAT-Seg

Official Implementation of "CAT-Seg🐱: Cost Aggregation for Open-Vocabulary Semantic Segmentation"
https://ku-cvlab.github.io/CAT-Seg/
MIT License
247 stars 25 forks source link

导入问题 #18

Closed jwx15 closed 5 months ago

jwx15 commented 6 months ago

demo.py中的from cat_seg import add_mask_former_config是不是应该改成from cat_seg import add_cat_seg_config 而且 def setup_cfg(args):

load config from file and command-line arguments

cfg = get_cfg()
add_deeplab_config(cfg)
add_cat_seg_config(cfg)
cfg.merge_from_file(args.config_file)
cfg.merge_from_list(args.opts)
cfg.freeze()
return cfg

这里面也改改成add_cat_seg_config(cfg)

hsshin98 commented 5 months ago

Hi, this seems to be an error in our visualization code, and we updated it accordingly. Please let us know if you have further problems(we're not sure because we had to run this through a translator.) Thanks!