Closed thomasf1 closed 6 months ago
Hi, to resolve the importing issues, you can update your code by replacing lines 25-26 with the following code snippet.
sys.path.append("../third_party")
from TokenCut.unsupervised_saliency_detection import utils, metric
from TokenCut.unsupervised_saliency_detection.object_discovery import detect_box
Let me know if it does not work!
The two demo links provided don´t seem to work currently, the huggingface demo (https://huggingface.co/spaces/facebook/CutLER) doesn´t seem to output anything and the colab model throws the following error: