tfzhou / ProtoSeg

CVPR2022 (Oral) - Rethinking Semantic Segmentation: A Prototype View
https://arxiv.org/abs/2203.15102
MIT License
346 stars 40 forks source link

Question about the existence of the normalization, and how to run it #18

Open hyunW3 opened 9 months ago

hyunW3 commented 9 months ago

I'm impressed with your work.

  1. About normalization I wonder if the l2 normalization of embeddings of pixel i $i \in I$ and prototypes $p_{c,k}$ exists in your code. If exists, I'm glad to get the answer of where it is. The below image is from the your paper. image

  2. how to run it

    • Basically, i check README.md but i cannot find how to run it. Simply running main.py requires some config path like
      TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

      It might need the config files to set the config. Could you let me know the basic running code?

  3. The difference b/w main.py and main_contrastive.py What is difference b/w them?

Thank you for reading