Giter VIP home page Giter VIP logo

ucl-vr / ubiq-genie Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 3.0 14.95 MB

Ubiq-Genie is an open-source framework for integrating generative AI capabilities into social VR platforms. It offers a modular approach for server-assisted VR applications, enabling new types of collaborative VR experiences such as conversational agents driven by large language models and voice-driven diffusion-based texture generation.

Home Page: https://ubiq.online/publication/ubiq-genie

License: Other

JavaScript 10.89% Python 6.09% C# 80.88% ShaderLab 2.14%
augmented-reality conversational-agent generative-ai image-generation mixed-reality social-vr unity virtual-reality social-xr

ubiq-genie's Introduction

Welcome to Ubiq-Genie

Illustrations of two sample demos available in Ubiq-Genie

Ubiq-Genie is a framework that enables you to build server-assisted collaborative mixed reality applications with Unity using the Ubiq framework. This is particularly useful for building multi-user applications that require server-side processing such as generative models, conversational agents, and real-time transcription. For more information, please refer to the Ubiq-Genie paper.

Note: Ubiq-Genie currently uses the Ubiq v0.4.2 client code. An updated version of Ubiq-Genie supporting the latest versions of Ubiq will be released later in summer 2024.

Setup

These instructions will get you a copy of the project up and running to run the samples and to start building your own applications. Please note that Ubiq's server dependencies only support installation on Windows and Linux at the moment. An alternative for macOS users is to use GitHub Codespaces to run the server-side components (in this case, you may skip installing Node.js, step 1, 2, and 3). The client-side components can be run on practically any platform supported by Unity and Ubiq.

  1. Install Unity and Node.js.

  2. Clone this repository somewhere on your local PC.

  3. Open a terminal in the Server folder and run npm install to install the dependencies. This includes the Node.js server of Ubiq.

  4. Create a virtual environment using venv or conda.

  5. Install torch, torchvision, and torchaudio version 1.13 using the installation instructions on the PyTorch website. Note: please ensure to install the correct version of PyTorch matching the CUDA version of your GPU.

  6. From the Server folder, install the Python dependencies by running pip install -r samples/requirements.txt or conda install --file samples/requirements.txt, depending on your virtual environment.

  7. In Unity, open the Unity folder. To add Ubiq to the Unity Hub, open the Unity Hub, click Add, then navigate to /Ubiq/Unity and click Select Folder.

  8. Read the README file in the corresponding folder in the Server/samples/apps folder for further setup instructions. For a list of available samples, see the Samples section below.

Documentation

For more information on how to use Ubiq-Genie, please refer to the README file in the Server folder.

Samples

The Server/samples folder contains a number of samples that demonstrate how to use Ubiq-Genie. For more information on how to use these samples, please refer to the README files in the corresponding folders. Currently, the following collaborative samples are available:

For a demo video of the samples, please refer to the Ubiq-Genie demo video.

ubiq-genie's People

Contributors

nsalminen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ubiq-genie's Issues

Install Instructions don't work

Step 2: "Open a terminal in the Genie folder and run npm install to install the dependencies."

What Genie folder? The root doesn't have a package.json so I tried \Server instead.

However - I get the following warnings and errors:

npm warn deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm warn tarball tarball data for ubiq@https://gitpkg.now.sh/UCL-VR/ubiq/Node?176b628c1af34aedad19a35ed5bf4c5a8473953e (sha512-QRrF/zqQ2Ln8Zwg7VD+w/fKcwsD7aHVWF3/CAzt7eeLYj8q7/WEaXuDzxquOW7PHWVbnPNe5DxIafdk0s1Z/Ew==) seems to be corrupted. Trying again.
npm error code EINTEGRITY
npm error sha512-QRrF/zqQ2Ln8Zwg7VD+w/fKcwsD7aHVWF3/CAzt7eeLYj8q7/WEaXuDzxquOW7PHWVbnPNe5DxIafdk0s1Z/Ew== integrity checksum failed when using sha512: wanted sha512-QRrF/zqQ2Ln8Zwg7VD+w/fKcwsD7aHVWF3/CAzt7eeLYj8q7/WEaXuDzxquOW7PHWVbnPNe5DxIafdk0s1Z/Ew== but got sha512-5cZGZiV3lfgML03ThX8Xld0qvVXwq+On5DPSBkJR5Pkau0DqIO6rOeMFn9RK/u0I8WS7OoTh1AkG7ifVIge5aA==. (50385 bytes)

Windows 11 and node v20.9.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.