đģLocal Datasets and Runs
Last updated
Last updated
This walkthrough will teach you how to start Runs locally on you machine and use local datasets on the Coretex platform.
Using your Local Datasets on the Coretex platform is very simple. First, install the Coretex library using pip:
In your python code you will have to import the Dataset
class of type that you want to use (i.e. ObjectDetectionDataset
) and its local class which usually has the same name with the prefix "Local" (i.e. LocalObjectDetectionDataset
).
Only one modification in your task code is necessary in order to use the local Dataset.
In main.py
file in main()
function at its very beginning you will need to specify your local Dataset path. Like this:
This line has to be at the very beginning of your main()
function in your task.
You can access your dataset samples using:
Starting local Runs on your machine using Coretex is straightforward.
The first step is downloading the Coretex library through PyPi:
The next step is making the necessary changes, required for running the Task on the Coretex platform.
Refer to this tutorial to find out more about those changes: Migrate your tasks to Coretex.
After you've done all necessary modifications, open your terminal and write the following:
This will start the Coretex Run on your machine locally. Message output of successful start will look something like this:
This message is a sign of successful authentication. Keep in mind that you have to specify an id of your Coretex dataset in the experiment.config
file or to set up a local Dataset in your task.