mirror of
https://github.com/RYDE-WORK/lnp_ml.git
synced 2026-03-21 09:36:32 +08:00
...
This commit is contained in:
parent
a56637c8ac
commit
93a6f8654d
@ -13,18 +13,18 @@ from tqdm import tqdm
|
||||
@dataclass
|
||||
class LossWeights:
|
||||
"""各任务的损失权重"""
|
||||
# size: float = 1.0
|
||||
# pdi: float = 1.0
|
||||
# ee: float = 1.0
|
||||
# delivery: float = 1.0
|
||||
# biodist: float = 1.0
|
||||
# toxic: float = 1.0
|
||||
size: float = 0.1
|
||||
pdi: float = 0.3
|
||||
ee: float = 0.3
|
||||
size: float = 1.0
|
||||
pdi: float = 1.0
|
||||
ee: float = 1.0
|
||||
delivery: float = 1.0
|
||||
biodist: float = 1.0
|
||||
toxic: float = 0.05
|
||||
toxic: float = 1.0
|
||||
# size: float = 0.1
|
||||
# pdi: float = 0.3
|
||||
# ee: float = 0.3
|
||||
# delivery: float = 1.0
|
||||
# biodist: float = 1.0
|
||||
# toxic: float = 0.05
|
||||
|
||||
|
||||
def compute_multitask_loss(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user