median-research-group / LibMTL

A PyTorch Library for Multi-Task Learning
MIT License
1.95k stars 182 forks source link

potential bug about "same_rep" #9

Closed windrises closed 2 years ago

windrises commented 2 years ago

https://github.com/median-research-group/LibMTL/blob/5566bf1b4593c619f48c0596ac4fdedfba7fcbba/LibMTL/architecture/abstract_arch.py#L48 It seems to me that the variable "same_rep" should be "False" if the variable "s_rep" is a list.

Baijiong-Lin commented 2 years ago

Yes. We have fixed this bug. Thank you.