Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/StanfordVL/bddl into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
cgokmen committed Mar 5, 2025
2 parents af59a4a + bea3420 commit 6aa1108
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(inside chocolate_cake.n.01_1 grocery_shelf.n.01_1)
(inside carton__of__milk.n.01_1 grocery_shelf.n.01_2)
(inside bottle__of__apple_juice.n.01_1 grocery_shelf.n.01_2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop water_bottle.n.01_1 grocery_shelf.n.01_1)
(ontop water_bottle.n.01_2 grocery_shelf.n.01_1)
(ontop bottle__of__soda.n.01_1 grocery_shelf.n.01_1)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/buy_good_chocolate/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(inside box__of__chocolates.n.01_1 grocery_shelf.n.01_1)
(inside bottle__of__cocoa.n.01_1 grocery_shelf.n.01_2)
(inside money.n.01_1 shopping_cart.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop sack.n.01_1 checkout.n.03_1)
(inside bottle__of__antihistamines.n.01_1 grocery_shelf.n.01_2)
(inside first-aid_kit.n.01_1 grocery_shelf.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop steak.n.01_1 grocery_shelf.n.01_1)
(ontop steak.n.01_2 grocery_shelf.n.01_1)
(ontop brisket.n.01_1 grocery_shelf.n.01_2)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/buy_mulch/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop pot_plant.n.01_1 floor.n.01_1)
(ontop pot_plant.n.01_2 grocery_shelf.n.01_1)
(ontop pot_plant.n.01_3 grocery_shelf.n.01_1)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/buy_natural_beef/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(inside pack__of__ground_beef.n.01_1 grocery_fridge.n.01_1)
(inside pack__of__ground_beef.n.01_2 grocery_fridge.n.01_1)
(inside pack__of__ground_beef.n.01_3 grocery_fridge.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop bottle__of__supplements.n.01_1 grocery_shelf.n.01_1)
(ontop bottle__of__supplements.n.01_2 grocery_shelf.n.01_2)
(ontop bottle__of__supplements.n.01_3 grocery_shelf.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop can__of__dog_food.n.01_1 grocery_shelf.n.01_1)
(ontop can__of__dog_food.n.01_2 grocery_shelf.n.01_1)
(inside money.n.01_1 shopping_cart.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop battery.n.02_1 grocery_shelf.n.01_1)
(ontop battery.n.02_2 grocery_shelf.n.01_1)
(inside money.n.01_1 shopping_cart.n.01_1)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/buy_salad_greens/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop lettuce.n.03_1 grocery_shelf.n.01_1)
(ontop spinach.n.02_1 grocery_shelf.n.01_1)
(ontop sack.n.01_1 checkout.n.03_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop bottle__of__glue.n.01_1 grocery_shelf.n.01_3)
(ontop notebook.n.01_1 grocery_shelf.n.01_1)
(ontop notebook.n.01_2 grocery_shelf.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop backpack.n.01_1 grocery_shelf.n.01_1)
(inside laptop.n.01_1 grocery_shelf.n.01_1)
(inside calculator.n.02_1 grocery_shelf.n.01_2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop money.n.01_1 checkout.n.03_1)
(ontop money.n.01_2 checkout.n.03_1)
(ontop glove.n.02_1 grocery_shelf.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop bottle__of__liquid_soap.n.01_1 grocery_shelf.n.01_1)
(ontop vacuum.n.04_1 floor.n.01_1)
(ontop rag.n.01_1 grocery_shelf.n.01_2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop credit_card.n.01_1 checkout.n.03_1)
(ontop bottle__of__milk.n.01_1 grocery_shelf.n.01_1)
(ontop bottle__of__milk.n.01_2 grocery_shelf.n.01_1)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/buying_fast_food/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop credit_card.n.01_1 checkout.n.03_1)
(inside hamburger.n.01_1 grocery_shelf.n.01_1)
(inside hamburger.n.01_2 grocery_shelf.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop money.n.01_1 checkout.n.03_1)
(ontop money.n.01_2 checkout.n.03_1)
(ontop money.n.01_3 checkout.n.03_1)
Expand Down
2 changes: 1 addition & 1 deletion bddl/activity_definitions/buying_groceries/problem0.bddl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop sack.n.01_1 checkout.n.03_1)
(ontop sack.n.01_2 checkout.n.03_1)
(inside prawn.n.01_1 grocery_shelf.n.01_4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(inside grocery.n.02_4 grocery_shelf.n.01_2)
(inside grocery.n.02_5 grocery_shelf.n.01_2)
(inside grocery.n.02_6 grocery_shelf.n.01_2)
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop shopping_cart.n.01_1 floor.n.01_1)
(inside money.n.01_1 shopping_cart.n.01_1)
(inside money.n.01_2 shopping_cart.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(inside pen.n.01_1 grocery_shelf.n.01_1)
(inside pencil.n.01_1 grocery_shelf.n.01_1)
(inside tape.n.01_1 grocery_shelf.n.01_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop postage.n.02_1 checkout.n.03_1)
(ontop postage.n.02_2 checkout.n.03_1)
(ontop postage.n.02_3 checkout.n.03_1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)

(:init
(ontop cash_register.n.01_1 checkout.n.03_1)
(inroom cash_register.n.01_1 grocery_store)
(ontop videodisk.n.01_1 checkout.n.03_1)
(ontop videodisk.n.01_2 checkout.n.03_1)
(ontop videodisk.n.01_3 checkout.n.03_1)
Expand Down
2 changes: 1 addition & 1 deletion bddl/knowledge_base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def state(self):
@cached_property
def image_url(self):
model_id = self.name.split("-")[-1]
return f"https://cvgl.stanford.edu/b1k/object_images/{model_id}.webp"
return f"https://svl.stanford.edu/b1k/object_images/{model_id}.webp"

def fully_supports_synset(self, synset, ignore=None) -> bool:
all_required = synset.required_meta_links
Expand Down

0 comments on commit 6aa1108

Please sign in to comment.