ref: https://github.com/facebookresearch/segment-anything/blob/efeab7296ab579d4a261e554eca80faf6b33924a/segment_anything/modeling/sam.py#L164 resize largest dimension to 1024 normalize: x = (x - mean) / std mean = [123.675, 116.28, 103.53] std = [58.395, 57.12, 57.375] TODO: why are these hardcoded !? pad to 1024x1024 TODO: for some reason, this is not numerically identical to pytorch's interpola
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected