-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[81] - add worker for media clustering #379
Conversation
Signed-off-by: Snehil Shah <[email protected]>
Signed-off-by: Snehil Shah <[email protected]>
Signed-off-by: Snehil Shah <[email protected]>
Signed-off-by: Snehil Shah <[email protected]>
Signed-off-by: Snehil Shah <[email protected]>
# init all operators | ||
audio_vec_embedding_clap.initialize(param={}) | ||
vid_vec_rep_clip.initialize(param={}) | ||
classify_video_zero_shot.initialize(param={}) | ||
cluster_embeddings.initialize(param={}) | ||
# dimension_reduction.setup_reduction(model_type='tsne', params={}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Chaithanya512 I have commented out the dimension reduction operator as it does not adhere to the Feluda's operator interface conventions and hence was throwing an error when initializing Feluda with a config file. Every operator must only have the initialize
and run
methods so some refactoring is needed on the dimension_reduction
operator.
Keeping it aside, the worker is now working properly on clustering as tested with the payload writer.
@aatmanvaidya Both the |
@Snehil-Shah @Chaithanya512 just one small thing - we should add a
also, I tried printing the report like this report = make_report_indexed(clustering_results_json, dim_reduction_results_json, "indexed")
print(report) nothing was getting printed on my terminal - which is a bit strange, but was able to verify the |
Resolves #378
Summary: [WIP]