We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d9be8 commit 15f0eb5Copy full SHA for 15f0eb5
monai/data/dataset.py
@@ -271,7 +271,8 @@ def __init__(
271
weights_only: keyword argument passed to `torch.load` when reading cached files.
272
default to `True`. When set to `True`, `torch.load` restricts loading to tensors and
273
other safe objects. Setting this to `False` is required for loading `MetaTensor`
274
- objects saved with `track_meta=True`.
+ objects saved with `track_meta=True`, however this creates the possibility of remote
275
+ code execution through `torch.load` so be aware of the security implications of doing so.
276
277
Raises:
278
ValueError: When both `track_meta=True` and `weights_only=True`, since this combination
0 commit comments