superduper
superduper copied to clipboard
[DOCS0-2] Broken snippets
- [ ] In build_image_embedding_model.ipynb for
<tab: TorchVision>
we getTorchvision doesnot have predict_one
I think thepredict_one
should besuperdupermodel.predict_one(Image.fromarray(np.ones((256,256,3)).astype(np.uint8)))
Instead ofmodel.predict_one(Image.open(image_path))
- [ ] In build_multimodal_embedding_models.ipynb for
<tab: Image>
we getTypeError: Unexpected type <class 'str'>
and the the Model class should be changed fromsuperdupermodel = ObjectModel(identifier='my-model-audio', object=audio_embedding)
tosuperdupermodel = Model(identifier='my-model-audio', object=audio_embedding)
- [ ] In build_text_embedding_model.ipynb for
<tab: Transformers>
theModel
class has to be updated toObjectModel
- [ ] In compute_features.ipynb the
<tab: Text-And-Image>
and<tab: Random>
returns an empty list without any features and documentation incomplete - [ ] In create_datatype.ipynb for the
<tab: Audio>
gettingTypeError: 'NoneType' object cannot be interpreted as an integer
. Custom-in-DB and Custom-Artifact documentation incomplete - [ ] In insert_data.ipynb for
<tab: Text>
in which the<tab: SQL>
we getAttributeError: 'MongoDataBackend' object has no attribute 'create_table_and_schema'
and the s3 buckets links are broken.