yuanzhoulvpi2017 / zero_nlp

中文nlp解决方案(大模型、数据、模型、训练、推理)
MIT License
3.03k stars 368 forks source link

Train_llava。 缺少preprocessor_config.json. 文件。 #199

Open weiaicunzai opened 2 weeks ago

weiaicunzai commented 2 weeks ago

你好,我按照您的代码,写完训练后,再加载推理的时候跟我说 does not appear to have a file named preprocessor_config.json。是不是因为trainer没有传入processor参数导致的?

https://github.com/yuanzhoulvpi2017/zero_nlp/blob/fb4ba1c7c480a900cce9226cf4e53b023334d48c/train_llava/run.py#L126