Pickle history property instead of History object
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -154,7 +154,7 @@ def _ssd_train(args: argparse.Namespace) -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
with open(f"{args.summary_path}/train/{args.network}/{args.iteration}/history", "wb") as file:
|
with open(f"{args.summary_path}/train/{args.network}/{args.iteration}/history", "wb") as file:
|
||||||
pickle.dump(history, file)
|
pickle.dump(history.history, file)
|
||||||
|
|
||||||
|
|
||||||
def _auto_encoder_train(args: argparse.Namespace) -> None:
|
def _auto_encoder_train(args: argparse.Namespace) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user