Scan your own model in a notebook
Follow the instructions below to learn how to scan your own model using Certifai in a Jupyter notebook.
Prerequisites
You have downloaded and installed the Toolkit as described in Get started in Jupyter Notebooks.
You have accessed this notebook in the cortex-certifai-examples repo. You may run the notebook directly from the repo in the
master
branch or follow the instructions for cloning the repo and copying the notebook to your toolkit'sexamples/notebooks
folder.
Tutorial instructions
Alert: Windows 10 Users
Before you run a scan, you must disable QuickEdit Mode
in your terminal window. Right click in the terminal window and uncheck the QuickEdit Mode
option.
If you do not disable this option, clicking off your terminal window and back into your terminal window will cause the window to freeze and you will not receive your scan results updates.
In a terminal or PowerShell window set your context to the Certifai Toolkit notebooks directory.
cd examples/notebooksStart the Jupyter server.
jupyter notebookA file list is displayed in the JupyterLab browser.
Click on the
tutorials
folder and then select theBringingInYourOwnModel.ipynb
notebook.The cells in the notebook describe how to scan your own model. Review the text and click
Run
to execute each code cell in turn.