mirror of
https://github.com/deepseek-ai/Janus
synced 2024-12-27 06:11:54 +00:00
fix errors
This commit is contained in:
parent
f887e7270e
commit
146668eafe
@ -9,7 +9,6 @@ cuda_device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
|||||||
|
|
||||||
# Load model and processor
|
# Load model and processor
|
||||||
model_path = "deepseek-ai/JanusFlow-1.3B"
|
model_path = "deepseek-ai/JanusFlow-1.3B"
|
||||||
model_path = "/weka-jd/prod/jupyter/liuxingchao/notebooks/janus/final_converted_ckpt_ema"
|
|
||||||
vl_chat_processor = VLChatProcessor.from_pretrained(model_path)
|
vl_chat_processor = VLChatProcessor.from_pretrained(model_path)
|
||||||
tokenizer = vl_chat_processor.tokenizer
|
tokenizer = vl_chat_processor.tokenizer
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user