Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing old ./main.py script that shouldn't be used (new version is ai2holodeck/main.py). #52

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can use the following command to generate a new environment.
```
python holodeck/main.py --query "a living room" --openai_api_key <OPENAI_API_KEY>
```
Our system uses `gpt-4-1106-preview`, **so please ensure you have access to it.**
Our system uses `gpt-4o-2024-05-13`, **so please ensure you have access to it.**

**Note:** To yield better layouts, use `DFS` as the solver. If you pull the repo before `12/28/2023`, you must set the [argument](https://github.com/allenai/Holodeck/blob/386b0a868def29175436dc3b1ed85b6309eb3cad/main.py#L78) `--use_milp` to `False` to use `DFS`.

Expand Down
5 changes: 4 additions & 1 deletion ai2holodeck/generation/holodeck.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
HOLODECK_THOR_FEATURES_DIR,
HOLODECK_THOR_ANNOTATIONS_PATH,
LLM_MODEL_NAME,
ABS_PATH_OF_HOLODECK,
)
from ai2holodeck.generation.ceiling_objects import CeilingObjectGenerator
from ai2holodeck.generation.doors import DoorGenerator
Expand Down Expand Up @@ -137,7 +138,9 @@ def __init__(
self.additional_requirements_ceiling = "N/A"

def get_empty_scene(self):
return compress_json.load("generation/empty_house.json")
return compress_json.load(
os.path.join(ABS_PATH_OF_HOLODECK, "generation/empty_house.json")
)

def empty_house(self, scene):
scene["rooms"] = []
Expand Down
166 changes: 0 additions & 166 deletions main.py

This file was deleted.

Loading