-
Notifications
You must be signed in to change notification settings - Fork 25
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
Could not generate scene #13
Comments
Did you encounter the same error every time? Could rerunning the code resolve the issue? |
It happens after every run.
…On Thu, Jan 4, 2024 at 9:01 PM Yue Yang ***@***.***> wrote:
Did you encounter the same error every time? Could rerunning the code
resolve the issue?
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALYQTGNII4CLGSBBKZTSWS3YM5NGZAVCNFSM6AAAAABBNN7FW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZYGAYDQNBUHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Did you get a scene json file? If so, could you send me the json? And also, could you copy all the printed messages in your terminal? |
I am encountering the same problem. Did you figure out the solution? |
@YueYANG1996 I did not get a scene JSON file from what I can see. Here is a copy of the terminal output: Here are some guidelines for you:
Now, I need a design for a living room with a fireplace. AI: Here is the floor plan:
User: I am now designing a living room with a fireplace. Please help me decide the wall height in meters. AI: The wall height is 2.7 User: I need assistance in designing the connections between rooms. The connections could be of three types: doorframe (no door installed), doorway (with a door), or open (no wall separating rooms). The sizes available for doorframes and doorways are single (1m wide) and double (2m wide). Ensure that the door style complements the design of the room. The output format should be: room 1 | room 2 | connection type | size | door style. For example: The design under consideration is a living room with a fireplace, which includes these rooms: living room. The length, width and height of each room in meters are: Certain pairs of rooms share a wall: (exterior, living room). There must be a door to the exterior. AI: Here is the doorway plan: User: Guide me in designing the windows for each room. The window types are: fixed, hung, and slider. Your task is to determine the appropriate type, size, and quantity of windows for each room, bearing in mind the room's design, dimensions, and function. Please format your suggestions as follows: room | wall direction | window type | size | quantity | window base height (cm from floor). For example: I am now designing a living room with a fireplace. The wall height is 270 cm. The walls available for window installation (direction, width in cm) in each room are: Please note: It is not mandatory to install windows on every available wall. Within the same room, all windows must be the same type and size. Provide a concise response, omitting any additional text at the beginning or end. AI: Here is the window plan: AI: Selecting objects for living room... AI: The floor capacity of living room is 8.183855142270113m^2, which is less than 70% of the total floor capacity 19.200000000000003m^2. AI: Here is the object selection plan: Constraints for each object in the desired format: entertainment_center-0 | edge sofa-0 | edge | in front of, entertainment_center-0 | far, entertainment_center-0 | face to, entertainment_center-0 coffee table-0 | middle | near, sofa-0 | in front of, sofa-0 | center aligned, sofa-0 armchair-0 | edge | near, coffee table-0 | center aligned, coffee table-0 | face to, coffee table-0 armchair-1 | edge | left of, armchair-0 | near, coffee table-0 | face to, coffee table-0 armchair-2 | edge | right of, armchair-0 | near, coffee table-0 | face to, coffee table-0 coffee table-1 | middle | near, armchair-1 | in front of, armchair-2 bookshelf-0 | edge | far, entertainment_center-0 bookshelf-1 | edge | far, entertainment_center-0 | center aligned, bookshelf-0 sideboard-0 | edge | far, sofa-0 | left of, sofa-0 sideboard-1 | edge | far, sofa-0 | right of, sofa-0 floor lamp-0 | middle | near, armchair-0 | side of, armchair-0 floor lamp-1 | middle | near, armchair-1 | side of, armchair-1 floor lamp-2 | middle | near, armchair-2 | side of, armchair-2 plant_stands-0 | edge | near, bookshelf-0 | side of, bookshelf-0 plant_stands-1 | edge | near, bookshelf-1 | side of, bookshelf-1 WARNING:py.warnings:/Users/aristidesstaikos/anaconda3/envs/holodeck/lib/python3.9/site-packages/scipy/interpolate/_interpolate.py:704: RuntimeWarning: invalid value encountered in multiply WARNING:py.warnings:/Users/aristidesstaikos/anaconda3/envs/holodeck/lib/python3.9/site-packages/scipy/interpolate/_interpolate.py:701: RuntimeWarning: invalid value encountered in divide Number of solutions found: 30 wall object constraint plan for living room: |
It seems to me the code is running without any mistakes, and the JSON file should be saved. Could you check the folder Also, you revealed your open_ai_key in your comment. Please revoke it! |
I already did after I realized my mistake. Thank you. Attached is the json file I was able to find. |
I can load your JSON file into Unity, and everything looks good. Could you follow the instructions here to visualize it by yourself? |
When trying to run a sample on my M2 based Mac, it appears everything runs through however at the very end, the Unity window closes and I get a "Could not generate scene from a ......" message. An overhead PNG does open however. I do not see anywhere a scene I can then open in Unity. Am I missing something?
The text was updated successfully, but these errors were encountered: