Skip to content

Commit 5e7148b

Browse files
committed
Cannot ignore word_dict and network for now.
1 parent d019c4c commit 5e7148b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libmultilabel/nn/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def __init__(
199199
):
200200
super().__init__(num_classes=len(classes), log_path=log_path, **kwargs)
201201
self.save_hyperparameters(
202-
ignore=["log_path", "word_dict", "network"]
202+
ignore=["log_path"]
203203
) # If log_path is saved, loading the checkpoint will cause an error since each experiment has unique log_path (result_dir).
204204
self.word_dict = word_dict
205205
self.classes = classes

0 commit comments

Comments
 (0)