tumourkit.segmentation.hovernet.run_utils.utils

Functions

check_log_dir

Check if log directory exists.

check_manual_seed

If manual seed is not specified, choose a random one and communicate it to the user.

convert_pytorch_checkpoint

get_model_summary

Reusable utility layers such as pool or upsample will also get printed, but their printed values will be corresponding to the last call.