- flash.core.integrations.fiftyone.utils.visualize(predictions, filepaths=None, label_field='predictions', wait=False, **kwargs)¶
Visualizes predictions from a model with a FiftyOne Output in the FiftyOne App.
This method can be used in all of the following environments:
Local Python shell: The App will launch in a new tab in your default web browser.
Remote Python shell: Pass the
remote=Trueoption to this method and then follow the instructions printed to your remote shell to open the App in your browser on your local machine.
Jupyter notebook: The App will launch in the output of your current cell.
Google Colab: The App will launch in the output of your current cell.
Python script: Pass the
wait=Trueoption to block execution of your script until the App is closed.
See this page for more information about using the FiftyOne App in different environments.
object]]]) – Can be either a list of FiftyOne labels that will be matched with the corresponding
filepaths, or a list of dictionaries with “filepath” and “predictions” keys that contains the filepaths and predictions.
**kwargs¶ – Optional keyword arguments for
- Return type