Skip to content

Releases: encord-team/encord-client-python

v0.1.51

18 Oct 10:36

Choose a tag to compare

What's Changed

Full Changelog: 0.1.50...0.1.51

v0.1.50

04 Oct 15:06

Choose a tag to compare

New Features

You can now use a bulk get_label_rows for faster label row retrieval.

project = client_instance.get_project(<project_hash>)

created_label_uids_list = []
for label_row in project.label_rows:
    if label_row is not None:  # None values will fail the operation
        created_label_uids_list.append(label_row["label_hash"])

label_rows = project.get_label_rows(created_label_uids_list, get_signed_url=False)

What's Changed

Full Changelog: 0.1.49.1...0.1.50

v0.1.49

27 Sep 17:36

Choose a tag to compare

Bug Fix

The encord.utilities.label_utilities.construct_answer_dictionaries now works well with labels with the DICOM format.
The YOLTv4 model was removed from the encord.constants.model.AutomationModels as it is not supported by Encord anymore.

What's Changed

New Contributors

Full Changelog: 0.1.48...0.1.49

0.1.48

06 Sep 09:05
2420c46

Choose a tag to compare

What's Changed

Full Changelog: 0.1.47...0.1.48

v0.1.47

01 Sep 11:50
06b37df

Choose a tag to compare

What's Changed

  • Cycle available colours by @javi-encord in #182
  • Fix a code example; Add a configurations page by @denis-cord in #179
  • Add ability to upload DICOM series to Encord storage by @rad-cord in #187

New Contributors

  • @javi-encord made their first contribution in #182

Full Changelog: 0.1.46.1...0.1.47

v0.1.46

23 Aug 12:32
60f33b9

Choose a tag to compare

New Features

You are now able to set the video, image group, and image title at the time you are uploading the data. Please check the doc strings of these functions for explanations around the interface.v

What's Changed

Full Changelog: 0.1.45...0.1.46.1

v0.1.45

17 Aug 10:57
7a9c0f2

Choose a tag to compare

New functions

Conveniently inspect your models and training iterations:

from encord import EncordUserClient
from encord.utilities.project_utilities import get_all_model_iteration_uids


user_client = EncordUserClient.create_with_ssh_private_key(<your_ssh_key>)
project = user_client.get_project(<project_id>)

model_configurations = project.list_models()
all_model_iteration_uids = get_all_model_iteration_uids(model_configurations)
training_metadata = project.get_training_metadata(
    all_model_iteration_uids,
    get_model_training_labels=True,
)

Upload single images instead of image groups with:

from encord import EncordUserClient

user_client = EncordUserClient.create_with_ssh_private_key(<your_ssh_key>)
dataset = user_client.get_dataset(<dataset_id>)
dataset.upload_image(<image_path>, title="custom_title.jpg")

Read more about images and image groups here and here.

What's Changed

Full Changelog: 0.1.44...0.1.45

v0.1.44

15 Aug 17:04
2bf029c

Choose a tag to compare

What's Changed

Full Changelog: 0.1.43...0.1.44

v0.1.43

04 Aug 12:59
8bf27db

Choose a tag to compare

Backwards compatibility warning

If you have been using the Ontology object from encord.objects.ontology then you will need to do the following:
Replace lines such as:

from encord.objects.ontology import Ontology

with this:

from encord.objects.ontology_structure import OntologyStructure

The functionality of the new encord.objects.ontology_structure.OntologyStructure object is the same as the previous encord.objects.ontology.Ontology object.

What's Changed

Read more about our new RequestsSettings object for automatic HTTP request retries here.

If you want to overwrite the default values you can do so when instantiating the EncordUserClient

    encord_user_client = EncordUserClient.create_with_ssh_private_key(
        os.environ.get("SSH_KEY"),
        requests_settings=RequestsSettings(max_retries=5, backoff_factor=0.1),
    )

Full Changelog: 0.1.40.1...0.1.43

0.1.42

28 Jul 13:15
a50e4f6

Choose a tag to compare

What's Changed

  • Fix issue with expiring signed URLs on upload of many images by @denis-cord in #159

Full Changelog: 0.1.41...0.1.42