voxel51 / fiftyone-brain

Open source AI/ML capabilities for the FiftyOne ecosystem
https://fiftyone.ai/brain.html
Apache License 2.0
128 stars 3 forks source link

Only log when there are missing patch embeddings #93

Closed brimoor closed 2 years ago

brimoor commented 2 years ago

Prior to this change, a warning would be printed when running compute_patch_embeddings() if a sample contained zero patches (which is allowed). However, the intention was only to print an error if there were actually patch embeddings that could not be computed due to bad data.