NVIDIA-Omniverse / kit-extension-sample-airoomgenerator

A tool used to create 3D content for rooms by calling OpenAI's API
Apache License 2.0
148 stars 54 forks source link

Documentation instruction improvement for getting to Content Generation with ChatGPT GUI #1

Closed monajalal closed 1 year ago

monajalal commented 1 year ago

It is not very clear to me how I can get to the point that I can get to the extension inside the code. I ran the following commands and the app folder was created however not sure how to get to the GUI. Further, I was not able to find the extension inside the Omniverse Code Extension search.

Could you please tell how I can get to the window GUI that shows the "Content Generation with ChatGPT"?

Screenshot from 2023-04-10 13-11-47

https://www.youtube.com/live/4H9fJrcWK1c?app=desktop&feature=share


(base) mona@ard-gpu-01:~/3D_generational_ai/kit-extension-sample-airoomgenerator$ ./link_app.sh
bash: ./link_app.sh: Permission denied
(base) mona@ard-gpu-01:~/3D_generational_ai/kit-extension-sample-airoomgenerator$ chmod +x ./link_app.sh
(base) mona@ard-gpu-01:~/3D_generational_ai/kit-extension-sample-airoomgenerator$ ./link_app.sh
./link_app.sh: line 8: /home/mona/3D_generational_ai/kit-extension-sample-airoomgenerator/tools/packman/python.sh: Permission denied
(base) mona@ard-gpu-01:~/3D_generational_ai/kit-extension-sample-airoomgenerator$ chmod +x /home/mona/3D_generational_ai/kit-extension-sample-airoomgenerator/tools/packman/python.sh
(base) mona@ard-gpu-01:~/3D_generational_ai/kit-extension-sample-airoomgenerator$ ./link_app.sh
Adjusting /home/mona/.profile
Adjusting /home/mona/.bashrc
Creating packman packages repository at /home/mona/packman-repo
Fetching python@3.7.9-linux-x86_64.tar.gz from bootstrap.packman.nvidia.com ...
Unpacking python
Fetching packman-common@6.33.2.zip from bootstrap.packman.nvidia.com ...
Unpacking ...
Processing project file '/home/mona/packman-repo/packman-common/6.33.2/deps.packman.xml'
Package '7za' at version '16.02.4' is missing from local storage.
Downloading from http://bootstrap.packman.nvidia.com/7za%4016.02.4.zip (4.33 MiB)
100.00% (speed 17.9 MiB/s)                 
Total of 0.24 seconds
Unzipping: 7za@16.02.4.zip (9.87 MiB)
100.00% (speed 101 MiB/s)                  
Total of 0.10 seconds
Package successfully installed to /home/mona/packman-repo/chk/7za/16.02.4
Path is not specified, looking for Omniverse Apps...

Found following Omniverse Apps:
0: Isaac Sim (isaac_sim) at: '/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0'
1: Nucleus Workstation (nucleus-workstation) at: '/home/mona/.local/share/ov/pkg/nucleus-workstation-2022.4.1'
2: Code (code) at: '/home/mona/.local/share/ov/pkg/code-2022.3.3'
3: Create (create) at: '/home/mona/.local/share/ov/pkg/create-2022.3.1'

Selected app: code
Creating a link '/home/mona/3D_generational_ai/kit-extension-sample-airoomgenerator/tools/scripts/../../app' -> '/home/mona/.local/share/ov/pkg/code-2022.3.3'
Success!

Screenshot from 2023-04-10 13-07-30

Also, when I tried the following command, I got error:

(base) mona@ard-gpu-01:~/3D_generational_ai/kit-extension-sample-airoomgenerator$ ./link_app.sh  --path '/home/mona/.local/share/ov/pkg/create-2022.3.1'
Creating a link '/home/mona/3D_generational_ai/kit-extension-sample-airoomgenerator/tools/scripts/../../app' -> '/home/mona/.local/share/ov/pkg/create-2022.3.1'
packman(WARNING): Path '/home/mona/3D_generational_ai/kit-extension-sample-airoomgenerator/tools/scripts/../../app' exists but is incorrect. Removing ...
Success!

I tried to follow along the following image

However, it's rather hard to follow. I am not sure where to enter them. Would you please be able to show a video how you run your extension?

Screenshot from 2023-04-10 14-49-15

I also added the link you have in your README.md in the Extensions --> Extension Search Paths and I am not sure what I should expect from it here or how to start using the extension.

Further, when I click on Open below, it gives read error while the file is readable.

Screenshot from 2023-04-10 14-55-33

Screenshot from 2023-04-10 14-55-24

(base) mona@ard-gpu-01:~$ ls  /home/mona/.cache/ov/gitexts/BRMORqhbNYcUJw/exts/
total 16K
drwxrwxr-x 7 mona mona 4.0K Apr 10 14:49 omni.sample.deepsearchpicker
drwxrwxr-x 7 mona mona 4.0K Apr 10 14:49 omni.example.airoomgenerator
drwxrwxr-x 6 mona mona 4.0K Apr 10 14:49 ..
drwxrwxrwx 4 mona mona 4.0K Apr 10 14:49 .
monajalal commented 1 year ago

Mati and Edmar walked me through and I got it fixed. Thank you all for your great efforts. file:///home/mona/3D_generational_ai/kit-extension-sample-airoomgenerator/exts/omni.example.airoomgenerator/

Screenshot from 2023-04-10 16-12-40

This video is also helpful https://www.youtube.com/watch?v=sx6_vxOv7n8