fiftyone
fiftyone copied to clipboard
[FR] Add support for Vertex Workbench notebooks
Motivation
Fast CV dataset visualisations in GCP notebooks
What areas of FiftyOne does this feature affect?
FiftyOne UI in notebook
Details

The UI doesn't render in a Vertex Workbench notebook
Willingness to contribute
I will be trying to get it to work, not necessarily succeeding.
So what I did was get gcloud working with VSCode via the google cloud extension (on my Mac locally)
then run:
gcloud compute ssh --project <project-name> \
--zone <zone-name> \
<instance-name> -- -L 5151:localhost:5151
in the vscode terminal (for whatever reason standard terminal did not have access to gcloud)
create a python file via the Vertex AI Workbench with:
pseudo-code for the load_dataset bit
import fiftyone as fo
dataset = load_dataset(...)
# Enable connections from remote hosts
session = fo.launch_app(dataset, remote=True, address="0.0.0.0")
and then I could access the fiftyone UI from localhost:5151 on my Mac which will do for now.