mhh0318 / Cocktail

58 stars 2 forks source link

License issue with HED model #1

Open hafriedlander opened 1 year ago

hafriedlander commented 1 year ago

Hi,

Looks like you've copied the old HED implementation from ControlNet. This implementation was discovered to be derived from a GPL-3 library, and can't be used in MIT licensed projects.

See https://github.com/lllyasviel/ControlNet/issues/262

There are now two HED implementations under liberal licenses with models available. The first / easiest would be to update to ControlNet's new HED implementation.

I've also updated a MIT-licensed model at https://github.com/stablecabal/gyre/blob/main/gyre/pipeline/hinters/models/hed.py, and trained a model at https://huggingface.co/halffried/gyre_hinters/tree/main/hed

(Sorry to make this your first issue. Thanks for making this available, looks like good work, and I'm looking forward to trying it.)

mhh0318 commented 1 year ago

Hi Thank you for your reminder, we will update the code to avoid License issues. Also, we appreciate you raising the first issue and showing interest in our work!