From 0c651a8bdf06c5bc286713fc6102c3e7e1438665 Mon Sep 17 00:00:00 2001 From: adrinjalali Date: Tue, 16 Jul 2024 11:52:54 +0200 Subject: [PATCH] DOC add warning on skops convert --- docs/persistence.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/persistence.rst b/docs/persistence.rst index 255d019b..4a5f4c1c 100644 --- a/docs/persistence.rst +++ b/docs/persistence.rst @@ -132,6 +132,11 @@ Skops has a command line interface to: ``skops convert`` ~~~~~~~~~~~~~~~~~ +.. warning:: + This command loads the given pickle file(s) to retrieve the objects and + then saves them to a skops file. Therefore you should only use this on + files which you absolutely trust. + To convert a file from the command line, use the ``skops convert`` entrypoint. Below is an example call to convert a file ``my_model.pkl`` to ``my_model.skops``: