OpenGVLab/InternGPT

★ 3,205⑂ 233

InternGPT (iGPT) is an open source demo platform where you can easily showcase your AI models. Now it supports DragGAN, ChatGPT, ImageBind, multimodal chat like GPT-4, SAM, interactive image editing

About OpenGVLab/InternGPT

OpenGVLab/InternGPT is an open-source project on GitHub, mainly written in Python. InternGPT (iGPT) is an open source demo platform where you can easily showcase your AI models. It currently holds 3,205 stars and 233 forks with 21 open issues, and was last pushed on 2024-08-20 (repository created 2023-05-08).

Project Overview

AI Homed tracks it on the AI Video Projects board and on the AI AI Video Projects list.

GitHub Repository Details

Repository OpenGVLab/InternGPT · default branch main · size 43956 KB · watchers 40 · source: GitHub REST API and repository README

README

[[中文文档]](README_CN.md)

The project is still under construction, we will continue to update it and welcome contributions/pull requests from the community.

Image from the project README

Image from the project README | Image from the project README | Image from the project README

🤖💬 InternGPT [Paper]

InternGPT(short for iGPT) / InternChat(short for iChat) is pointing-language-driven visual interactive system, allowing you to interact with ChatGPT by clicking, dragging and drawing using a pointing device. The name InternGPT stands for interaction, nonverbal, and ChatGPT. Different from existing interactive systems that rely on pure language, by incorporating pointing instructions, iGPT significantly improves the efficiency of communication between users and chatbots, as well as the accuracy of chatbots in vision-centric tasks, especially in complicated visual scenarios. Additionally, in iGPT, an auxiliary control mechanism is used to improve the control capability of LLM, and a large vision-language model termed Husky is fine-tuned for high-quality multi-modal dialogue (impressing ChatGPT-3.5-turbo with 93.89% GPT-4 Quality).

🤖💬 Online Demo

InternGPT is online (see https://igpt.opengvlab.com). Let's try it!

[NOTE] It is possible that you are waiting in a lengthy queue. You can clone our repo and run it with your private GPU.

Video Demo with DragGAN:

https://github.com/OpenGVLab/InternGPT/assets/13723743/529abde4-5dce-48de-bb38-0a0c199bb980

Video Demo with ImageBind:

https://github.com/OpenGVLab/InternGPT/assets/13723743/bacf3e58-6c24-4c0f-8cf7-e0c4b8b3d2af

iGPT Video Demo:

https://github.com/OpenGVLab/InternGPT/assets/13723743/8fd9112f-57d9-4871-a369-4e1929aa2593

🥳 🚀 What's New

🧭 User Manual

Update:

(2023.05.24) We now support DragGAN. You can try it as follows:


(2023.05.18) We now support ImageBind. If you want to generate a new image conditioned on audio, you can upload an audio file in advance:


Main features:

After uploading the image, you can have a multi-modal dialogue by sending messages like: "what is it in the image?" or "what is the background color of image?". You also can interactively operate, edit or generate the image as follows:

🗓️ Schedule

🏠 System Overview

https://github.com/OpenGVLab/InternGPT/blob/HEAD/arch

🎁 Major Features

Remove the masked object

Image from the project README

Interactive image editing

Image from the project README

Image generation

Image from the project README

Interactive visual question answer

Image from the project README

Interactive image generation

Image from the project README

Video highlight interpretation

Image from the project README

🛠️ Installation

See INSTALL.md

👨‍🏫 Get Started

Running the following shell can start a gradio service for our basic features:

python -u app.py --load "HuskyVQA_cuda:0,SegmentAnything_cuda:0,ImageOCRRecognition_cuda:0" --port 3456 -e

if you want to enable the voice assistant, please use openssl to generate the certificate:

mkdir certificate
openssl req -x509 -newkey rsa:4096 -keyout certificate/key.pem -out certificate/cert.pem -sha256 -days 365 -nodes

and then run:

python -u app.py --load "HuskyVQA_cuda:0,SegmentAnything_cuda:0,ImageOCRRecognition_cuda:0" \
--port 3456 --https -e

For all features of our iGPT, you need to run:

python -u app.py \
--load "ImageOCRRecognition_cuda:0,Text2Image_cuda:0,SegmentAnything_cuda:0,ActionRecognition_cuda:0,VideoCaption_cuda:0,DenseCaption_cuda:0,ReplaceMaskedAnything_cuda:0,LDMInpainting_cuda:0,SegText2Image_cuda:0,ScribbleText2Image_cuda:0,Image2Scribble_cuda:0,Image2Canny_cuda:0,CannyText2Image_cuda:0,StyleGAN_cuda:0,Anything2Image_cuda:0,HuskyVQA_cuda:0" \
-p 3456 --https -e

Notice that -e flag can save a lot of memory.

Selectively Loading Features

When you only want to try DragGAN, you just need to load StyleGAN and open the tab "DragGAN":
python -u app.py --load "StyleGAN_cuda:0" --tab "DragGAN" --port 3456 --https -e

In this situation, you can only use the functions of DragGAN, which frees you from some dependencies that you are not interested in.

🎫 License

This project is released under the Apache 2.0 license.

🖊️ Citation

If you find this project useful in your research, please consider cite:

@article{2023interngpt,
  title={InternGPT: Solving Vision-Centric Tasks by Interacting with ChatGPT Beyond Language},
  author={Liu, Zhaoyang and He, Yinan and Wang, Wenhai and Wang, Weiyun and Wang, Yi and Chen, Shoufa and Zhang, Qinglong and Lai, Zeqiang and Yang, Yang and Li, Qingyun and Yu, Jiashuo and others},
  journal={arXiv preprint arXiv:2305.05662},
  year={2023}
}

🤝 Acknowledgement

Thanks to the open source of the following projects:

Hugging Face   LangChain   TaskMatrix   SAM   Stable Diffusion   ControlNet   InstructPix2Pix   BLIP   Latent Diffusion Models   EasyOCR  ImageBind   DragGAN  

Welcome to discuss with us and continuously improve the user experience of InternGPT.

If you want to join our WeChat group, please scan the following QR Code to add our assistant as a Wechat friend:

https://github.com/OpenGVLab/InternGPT/blob/HEAD/image

GitHub Stars & Activity

3,205Stars
233Forks
21Open issues
PythonLanguage

GitHub Popularity

GitHub stars3,205
Forks233
Open issues21
Primary languagePython
LicenseApache-2.0
Stars gained today0
Created2023-05-08
Last pushed2024-08-20

Trending History

Trending statusnot on today's boards

Related AI Projects

1

calesthio / OpenMontage

Python★ 69,490⑂ 0
→
2

ATH-MaaS / Pixelle-Video

Python★ 29,138⑂ 0
→
3

KlingAIResearch / LivePortrait

Python★ 19,258⑂ 0
→
4

Wan-Video / Wan2.2

Python★ 18,004⑂ 0
→
5

latent-spaces / brag

Python★ 16,683⑂ 0
→
6

Zulko / moviepy

Python★ 15,004⑂ 0
→
7

zai-org / CogVideo

Python★ 13,085⑂ 0
→
8

HKUDS / ViMax

Python★ 12,683⑂ 0
→

More AI Rankings