delinqu commited on
Commit
170bdc5
·
verified ·
1 Parent(s): 2eae0b7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -52,7 +52,7 @@ processor = AutoProcessor.from_pretrained(model_name_or_path, trust_remote_code=
52
  model = AutoModel.from_pretrained(model_name_or_path, trust_remote_code=True, torch_dtype=torch.bfloat16).eval().cuda()
53
 
54
  image = Image.open("example.png").convert("RGB")
55
- prompt = "What action should the robot take to pick the cpu?"
56
  inputs = processor(images=[image], text=prompt, return_tensors="pt")
57
  generation_outputs = model.predict_action(inputs)
58
 
 
52
  model = AutoModel.from_pretrained(model_name_or_path, trust_remote_code=True, torch_dtype=torch.bfloat16).eval().cuda()
53
 
54
  image = Image.open("example.png").convert("RGB")
55
+ prompt = "What action should the robot take to pick the cup?"
56
  inputs = processor(images=[image], text=prompt, return_tensors="pt")
57
  generation_outputs = model.predict_action(inputs)
58