StartHua / Comfyui_segformer_b2_clothes

SegFormer model fine-tuned on ATR dataset for clothes segmentation but can also be used for human segmentation
59 stars 12 forks source link

Does this really require the exact 4.33.2 version of transformers? #4

Open EricRollei opened 6 months ago

EricRollei commented 6 months ago

Current version is 4.39.3 and it's causing problems with other nodes which require a newer version to install. Requirements.txt specifies an exact version Transformers==4.33.2 but can it work with newer?

felixding commented 4 months ago

It worked after I manually updated requirements.txt then pip install -r requirements.txt, and lastly git clone https://huggingface.co/mattmdjaga/segformer_b2_clothes in the checkpoints directory. So I guess not.