Coder Social home page Coder Social logo

cmudig / emblaze Goto Github PK

View Code? Open in Web Editor NEW
97.0 97.0 5.0 14.38 MB

Interactive Jupyter notebook widget for visually comparing embedding spaces.

License: BSD 3-Clause "New" or "Revised" License

JavaScript 27.15% Python 34.81% CSS 0.16% HTML 0.25% Svelte 36.20% TypeScript 1.43%

emblaze's People

Contributors

venkatesh-sivaraman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emblaze's Issues

Combined thumbnails crash when descriptions are not provided

The following thumbnail specification causes an error when loading the widget:

img_thumbnails = emblaze.ImageThumbnails(images, ids=image_ids)
text_thumbnails = emblaze.TextThumbnails(names, ids=text_ids)
thumbnails = emblaze.CombinedThumbnails([img_thumbnails, text_thumbnails])

The error seems to occur because text_thumbnails doesn't have a descriptions object when it is serialized to JSON. Current workaround is to add a descriptions parameter containing None for every id: emblaze.TextThumbnails(names, [None for _ in text_ids], ids=text_ids).

[Feature Request] Provide image thumbnails as filepaths/URLs

it looks like you do some clever stuff under the hood to resize images and partition them into spritesheets. my images are currently on disk in PNG format (512x512): since this tool is going to do it's own i/o and preprocessing anyway, it would be nice if I could just pass it filenames for it to work with however rather than loading all the images into memory before I can pass the thumbnails into the widget.

redis-server has no wheels for python > 3.8

I tried installing your library on python 3.11, but could only install version 0.9, as your latest 0.10 version requires the redis_server package, which only contains wheels for cp35, cp36, cp37 and cp38. It seems this package is not being actively maintained anymore.

It seems this redis_server package is optional and simply allows one to automatically start a redis instance. Could you make this package optional ?
This would allow users to install the package without redis (eg. if you only need the notebook part) by running pip install emblaze.
If you need the standalone part, you could then run pip install emblaze[standalone] (or any other name you decide to use).
You can add other dependencies for the standalone package in here as well.

Seeing as this package does not seem to be actively maintained anymore, you might need to find a more suitable solution for the long term, but this would already solve the problem for most users, as I imagine many people use this package in a jupyter notebook environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.