Open e-yi opened 1 month ago
https://github.com/yuanqidu/LeftNet/blob/326ad6d2c6f06a0300c7b98b7cdd97f7926e91fc/model.py#L208
It is used to compute scalrization in FTE, but scalrization does not contribute to any of the outputs.
scalrization
https://github.com/yuanqidu/LeftNet/blob/326ad6d2c6f06a0300c7b98b7cdd97f7926e91fc/model.py#L210
My guess is this line
scalar = torch.norm(vec1, dim=-2)
should be
scalar = torch.norm(scalrization , dim=-2)
https://github.com/yuanqidu/LeftNet/blob/326ad6d2c6f06a0300c7b98b7cdd97f7926e91fc/model.py#L208
It is used to compute
scalrization
in FTE, butscalrization
does not contribute to any of the outputs.