Hritik commited on
Commit
6ab097e
1 Parent(s): 11815b4

add ckpt locations

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -23,6 +23,9 @@ print(f"Is CUDA available: {torch.cuda.is_available()}")
23
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
24
  # Tesla T4
25
 
 
 
 
26
  tokenizer = LlamaTokenizer.from_pretrained(pretrained_ckpt)
27
  image_processor = MplugOwlImageProcessor.from_pretrained(pretrained_ckpt)
28
  processor = MplugOwlProcessor(image_processor, tokenizer)
 
23
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
24
  # Tesla T4
25
 
26
+ pretrained_ckpt = "mplugowl7bvideo/"
27
+ trained_ckpt = "owl-con/checkpoint-5178/pytorch_model.bin"
28
+
29
  tokenizer = LlamaTokenizer.from_pretrained(pretrained_ckpt)
30
  image_processor = MplugOwlImageProcessor.from_pretrained(pretrained_ckpt)
31
  processor = MplugOwlProcessor(image_processor, tokenizer)