.. SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute .. .. SPDX-License-Identifier: GPL-3.0-or-later .. _sleepless.usage.predict: ======= Predict ======= In prediction mode, we input data, the trained model with its weights, and output probabilities prediction which are stored in h5py files. You may issue ``sleepless predict --help`` for a help message containing more detailed instructions. To run predictions, use the sub-command :ref:`predict ` to run prediction on an existing dataset: .. code:: sh sleepless predict -vv -w -o Replace ```` and ```` by the appropriate :ref:`configuration files `. Replace ```` to a path leading to the model weights. Examples ======== To predict with the trained Chambon CNN on the sc-edf dataset: .. code:: sh sleepless train -vv sc_filtered chambon -w -o .. include:: ../links.rst