fr1ll / clip-plot Goto Github PK
View Code? Open in Web Editor NEWThis project forked from yaledhlab/pix-plot
A WebGL viewer for UMAP-clustered images
Home Page: https://fr1ll.github.io/clip-plot/
License: MIT License
This project forked from yaledhlab/pix-plot
A WebGL viewer for UMAP-clustered images
Home Page: https://fr1ll.github.io/clip-plot/
License: MIT License
Why is the method in the class? Can we remove it?
The main feature of glob2 is that it supports recurvsive **
wildcard expansion.
glob.glob
supports this now with recursive=True
option. Path.glob
supports recursive expansion by default.
glob2
also hasn't been updated since 2019.
Let's replace glob2
with Path.glob
to remove an unnecessary dependency and to push us more to use Path
objects which make other things more convenient.
Unused import:
from tensorflow.keras.applications import imagenet_utils
Can we remove it?
Allow clip-plot to use images with the same basename. Since the images location can be provided as a glob, more than one sub directory can be specified:
--images "jpg_parent_folder/**/*.jpg"
jpg_parent_folder
---> jpg_sub_folder_1
-------> imageA.jpg
-------> imageB.jpg
---> jpg_sub_folder_2
-------> imageA.jpg
-------> imageC.jpg
The although the names are not unique, the image paths are unique:
To do:
Replace print() statements with proper logging
Missing data/hotspots/user_hotspots.json error in browser (404)
ValueError: n_samples=10 should be >= n_clusters=12.
get_hotspots(...):
...
z = model.fit(vecs) # Error here!
Notes:
To do:
Output parameters used to generate visualization in the manifest
Getting an error when selecting "Arrange images using lat/long coordinates"
THREE.Object3D.add: object not an instance of THREE.Object3D. null [three.min.js:7429:13]
add http://localhost:5000/tests/smithsonian_butterflies_10/output_test_temp/assets/vendor/dist/three.min.js:7429
show http://localhost:5000/tests/smithsonian_butterflies_10/output_test_temp/assets/js/tsne.js:3471
showHideContext http://localhost:5000/tests/smithsonian_butterflies_10/output_test_temp/assets/js/tsne.js:797
set http://localhost:5000/tests/smithsonian_butterflies_10/output_test_temp/assets/js/tsne.js:708
addEventListeners http://localhost:5000/tests/smithsonian_butterflies_10/output_test_temp/assets/js/tsne.js:661
This issue is most likely caused by the updated ThreeJS library.
FFCV is a library intending to reduce image bottlenecks during inference: https://github.com/libffcv/ffcv
It would be interesting to see if we can use this instead of our own code to do image validation, copying, and bulk inference.
...because it's actually kind cool.
We should also label the slider properly if we do this though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.