Closed kts707 closed 1 year ago
Hi!
I think this is an issue with the library faiss
. Some versions of it allow us to directly pass torch tensors while for some we have to convert them to numpy first.
You can try changing this line to kmeans.train(fv.contiguous().numpy())
and similarly this line to dist, _ = kmeans.index.search(fg.numpy(), 1)
.
It may be a bit slower.
Thanks for the quick response! After changing the two lines, the interactive segmentation works now!
Hi Rahul,
Thanks for the great work!
I followed the commands in the README to train a
horns
scene and opened this scene in the provided GUI. However, after I create the strokes and clickget hcr
, it does not display the selected area and nothing happens. At the same time I am getting some error messages from the terminal as shown below. Do you know what the problem is and how to fix this issue? Thanks a lot!The screenshot of the GUI is shown below as well: