Update README.md
Browse files
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
|
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 |
|