Jupyter Notebook Integration
Use the Universal Data Tool directly within a Jupyter Notebook
Last updated
Was this helpful?
Use the Universal Data Tool directly within a Jupyter Notebook
Last updated
Was this helpful?
To get started, we'll need to install the Universal Data Tool python module.
pip install universaldatatool
Creating datasets inside python is really easy!
import universaldatatool as udt
ds = udt.Dataset(
type="image_segmentation",
image_paths=["/path/to/birds/good_bird.jpg","/path/to/birds/bird2.jpg"],
labels=["good bird", "bad bird"]
)
# Opens dataset directly in jupyter notebook
ds.open()
import universaldatatool as udt
ds = udt.load("path/to/dataset.udt.json")
# Opens dataset directly in jupyter notebook
ds.open()