kijai / ComfyUI-Florence2

Inference Microsoft Florence2 VLM
MIT License
768 stars 51 forks source link

Florence-2-large模型用不了,出现ValueError: list.remove(x): x not in list #59

Open kuku0603 opened 3 months ago

kuku0603 commented 3 months ago

image image

Spinaster commented 2 months ago

I had the same issue...

LFLFLFLFLFLFL commented 2 months ago

Try to put all the files below in "checkpoint" folder.
[config.json][configuration_florence2.py][generation_config.json][modeling_florence2.py][preprocessor_config.json][processing_florence2.py][pytorch_model.bin][sample_inference.ipynb][tokenizer.json][tokenizer_config.json][vocab.json]

ComfyUI\models\LLM\checkpoints

Spinaster commented 2 months ago

It doesn't work for me

zszen commented 2 months ago

我这里可以使用,要把https://huggingface.co/microsoft/Florence-2-large/tree/main的文件下全,放在LLM的Florence-2-large下,我这里用Miao的反而无法使用,总是报错,微软的都可以离线使用,前提是在环境变量里把离线功能打开:HF_DATASETS_OFFLINE=1 和 HF_HUB_OFFLINE=1

PeakLee commented 1 month ago

image it works for me, help this would be ok for you!

Amigos-Flipado commented 1 month ago

image it works for me, help this would be ok for you!

Thank you so much! This solution works very well.

Spinaster commented 1 month ago

I confirmed, it works also for me! Thank you so much.

vootox commented 1 month ago

Doesn't work for me

ql0wn4 commented 1 month ago

image it works for me, help this would be ok for you!

Could you please explain to us step by step what to do?

Thank you

ql0wn4 commented 1 month ago

image it works for me, help this would be ok for you!

if I modify nodes.py comfyui says that the node is missing and it shows failed import

DarkAlchy commented 3 weeks ago

this node used to work and I reloaded my WF to get: ValueError: list.remove(x): x not in list

edit: commenting out the line worked.