Skip to content

Commit 9844e68

Browse files
committed
link data extractor to weighted bce loss
1 parent c8ddfb6 commit 9844e68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chebai/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ def call_data_methods(data: Type[XYBaseDataModule]):
7070
"data.num_of_labels", "trainer.callbacks.init_args.num_labels"
7171
)
7272

73+
parser.link_arguments(
74+
"data", "model.init_args.criterion.init_args.data_extractor"
75+
)
76+
7377
@staticmethod
7478
def subcommands() -> Dict[str, Set[str]]:
7579
"""

0 commit comments

Comments
 (0)