MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / _require_pickle_allowed

Function _require_pickle_allowed

monai/auto3dseg/utils.py:60–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59
60def _require_pickle_allowed() -> None:
61 if not MONAIEnvVars.allow_pickle():
62 raise RuntimeError(_PICKLE_DISABLED_MSG)
63
64
65measure_np, has_measure = optional_import("skimage.measure", "0.14.2", min_version)

Callers 2

_load_legacy_pickleFunction · 0.85
algo_to_pickleFunction · 0.85

Calls 1

allow_pickleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…