Open 1ittlesnow opened 2 months ago
qwen_model_name_or_path = "/data/workspace/huggingface/Qwen2-1.5B-Instruct" autoprocessor = AutoProcessor.from_pretrained(clip_model_name_or_path) autoprocessor.save_pretrained("huggingface/model003")
通过这个保存了processor之后
autoprocessor1 = AutoProcessor.from_pretrained("huggingface/model001") 只能通过AutoProcessor加载,不能通过llavaProcessor加载
qwen_model_name_or_path = "/data/workspace/huggingface/Qwen2-1.5B-Instruct" autoprocessor = AutoProcessor.from_pretrained(clip_model_name_or_path) autoprocessor.save_pretrained("huggingface/model003")
通过这个保存了processor之后
autoprocessor1 = AutoProcessor.from_pretrained("huggingface/model001") 只能通过AutoProcessor加载,不能通过llavaProcessor加载