π©βπ» User guideο
π Contents:
β¬οΈ Installationο
Scivision is a Python package. You can install the latest version from PyPi with pip:
pip install scivision
π§ͺ Getting startedο
Scivision enables users to quickly find computer vision models that can be run on matching scientific image dataset(s), or find datasets that models can be run on. This can be achieved by running several lines of Python code.
The core functionality of the Python package API is documented in the π Scivision API documentation and a Jupyter notebook demonstrating it can be found on GitHub or can be interactively run via clicking the following link to Binder:
In brief, the notebook demonstrates the following:
- Loading a pretrained (ImageNet) model, which was previously added to the scivision catalog with the name βscivision-test-pluginβ
model = load_pretrained_model('/path/to/model/repo')
- Using the βdefaultβ scivision catalog to find a matching dataset, which the loaded model can be run on
default_catalog.compatible_datasources(<model name>)
- Loading the dataset in a format the model can recognise
load_dataset('/path/to/data/repo')
- Running the model on the data, performing simple model inference
model.predict(<loaded data>)
π Catalog of models and datasetsο
The models and datasets you find when searching the βdefaultβ scivision catalog (that which comes with the package) are loaded from external sources via metadata included in the GitHub repository.
To understand how these external sources are configured for compatibility with scivision, consult the following sections of this documentation:
To understand how to contribute new models and data sources to the scivision catalog, check out: