fiftyone.brain.internal.core.utils¶
Utilities.
Functions:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
fiftyone.brain.internal.core.utils.
parse_data
(samples, patches_field=None, data=None, data_type='embeddings', allow_missing=True, warn_missing=True)¶
-
fiftyone.brain.internal.core.utils.
get_embeddings_from_index
(samples, similarity_index, patches_field=None, allow_missing=True, warn_missing=True)¶
-
fiftyone.brain.internal.core.utils.
get_ids
(samples, patches_field=None, data=None, data_type='embeddings', handle_missing='skip', ref_sample_ids=None)¶
-
fiftyone.brain.internal.core.utils.
filter_ids
(samples, index_sample_ids, index_label_ids, patches_field=None, allow_missing=True, warn_missing=False)¶
-
fiftyone.brain.internal.core.utils.
skip_ids
(samples, ids, patches_field=None, warn_existing=False)¶
-
fiftyone.brain.internal.core.utils.
add_ids
(sample_ids, label_ids, index_sample_ids, index_label_ids, patches_field=None, overwrite=True, allow_existing=True, warn_existing=False)¶
-
fiftyone.brain.internal.core.utils.
add_embeddings
(samples, embeddings, sample_ids, label_ids, embeddings_field, patches_field=None)¶
-
fiftyone.brain.internal.core.utils.
remove_ids
(sample_ids, label_ids, index_sample_ids, index_label_ids, patches_field=None, allow_missing=True, warn_missing=False)¶
-
fiftyone.brain.internal.core.utils.
remove_embeddings
(samples, embeddings_field, sample_ids=None, label_ids=None, patches_field=None)¶
-
fiftyone.brain.internal.core.utils.
filter_values
(values, keep_inds, patches_field=None)¶
-
fiftyone.brain.internal.core.utils.
get_values
(samples, path_or_expr, ids, patches_field=None)¶
-
fiftyone.brain.internal.core.utils.
parse_embeddings_field
(samples, embeddings_field, patches_field=None)¶
-
fiftyone.brain.internal.core.utils.
get_embeddings
(samples, model=None, model_kwargs=None, patches_field=None, embeddings_field=None, embeddings=None, similarity_index=None, force_square=False, alpha=None, handle_missing='skip', agg_fcn=None, batch_size=None, num_workers=None, skip_failures=True, progress=None)¶
-
fiftyone.brain.internal.core.utils.
get_unique_name
(name, ref_names_or_fcn, max_len=None)¶