HazyResearch / domino

Apache License 2.0
134 stars 24 forks source link

Unable to run slicer module #12

Closed andisantos closed 11 months ago

andisantos commented 1 year ago

Hello everyone! I'm trying to use your work to split places365 dataset into domains, but I'm facing some troubles. First, the command pip install "domino[clip,text] @ git+htts://github.com/HazyResearch/domino@main" throws an error, as pointed in #11

So in order to use it, I tried to import just the module domino._slice.mixture in a testing notebook, but got an error on meerkat module: image

I then generated the clip embeds directly from their repository, commented the _embed imports in your code and an error during DominoSlicer fit function: image

I followed the directions in the class MixtureSlicer documentation to check the sizes of my inputs arrays and seems to be correct. Could you help me to debug this or give me some thoughts for where should I look to solve the problem?

Thankyou!

seyuboglu commented 11 months ago

Just updated the installation so that we no longer depend on the deprecated version of sklearn. The install should work now.