superduper icon indicating copy to clipboard operation
superduper copied to clipboard

[DOCS0-2] Broken snippets

Open blythed opened this issue 10 months ago • 0 comments

  • [ ] In build_image_embedding_model.ipynb for <tab: TorchVision> we get Torchvision doesnot have predict_one I think the predict_one should be superdupermodel.predict_one(Image.fromarray(np.ones((256,256,3)).astype(np.uint8))) Instead of model.predict_one(Image.open(image_path))
  • [ ] In build_multimodal_embedding_models.ipynb for <tab: Image> we get TypeError: Unexpected type <class 'str'> and the the Model class should be changed from superdupermodel = ObjectModel(identifier='my-model-audio', object=audio_embedding) to superdupermodel = Model(identifier='my-model-audio', object=audio_embedding)
  • [ ] In build_text_embedding_model.ipynb for <tab: Transformers> the Model class has to be updated to ObjectModel
  • [ ] 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> getting TypeError: '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 get AttributeError: 'MongoDataBackend' object has no attribute 'create_table_and_schema' and the s3 buckets links are broken.

blythed avatar Apr 05 '24 09:04 blythed