timojl / clipseg

This repository contains the code of the CVPR 2022 paper "Image Segmentation Using Text and Image Prompts".
Other
1.13k stars 107 forks source link

Missing __init__.py file causes import errors #44

Closed scott-createplay closed 10 months ago

scott-createplay commented 11 months ago

Hey! Great package.

I am using this with the Masquerade-Nodes for comfyui, but on install it complains: "clipseg is not a module".

I found that the clipseg directory doesn't have an __init__.py file in it. Adding this fixed the import issue.

image

timojl commented 10 months ago

Thanks for pointing out this issue. I added the init.py