diff --git a/README.md b/README.md
index a77e20d224586094a225e8ac4c75d1f19692c3c5..206b2b66d17647a6c339a1eae44acbb9c573a027 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 3.28.1
-app_file: iChatApp.py
+app_file: app.py
pinned: false
license: apache-2.0
---
diff --git a/iChatApp.py b/app.py
similarity index 78%
rename from iChatApp.py
rename to app.py
index 4f0dc9635bd7e330f37b59da3088d022d44a4384..312266a6c09937e771ca25d6ce5f1f961e608137 100644
--- a/iChatApp.py
+++ b/app.py
@@ -2,15 +2,15 @@
import os
os.environ['CURL_CA_BUNDLE'] = ''
-from pathlib import Path
-import sys
-sys.path.insert(0, str(Path(__file__).resolve().parent / "third-party" / "lama"))
-
try:
import detectron
except:
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
+from pathlib import Path
+import sys
+sys.path.insert(0, str(Path(__file__).resolve().parent / "third-party" / "lama"))
+
import random
import torch
import cv2
@@ -41,13 +41,14 @@ from langchain.agents.tools import Tool
from langchain.chains.conversation.memory import ConversationBufferMemory
from langchain.llms.openai import OpenAI
-from iChat.models import VideoCaption, ActionRecognition, DenseCaption, GenerateTikTokVideo
-from iChat.models import HuskyVQA, LDMInpainting
-from iChat.models.utils import (cal_dilate_factor, dilate_mask, gen_new_name,
+from iGPT.models import VideoCaption, ActionRecognition, DenseCaption, GenerateTikTokVideo
+from iGPT.models import HuskyVQA, LDMInpainting
+from iGPT.models.utils import (cal_dilate_factor, dilate_mask, gen_new_name,
seed_everything, prompts, blend_gt2pt)
-from segment_anything.utils.amg import remove_small_regions
-from segment_anything import build_sam, sam_model_registry, SamAutomaticMaskGenerator, SamPredictor
+# from segment_anything.utils.amg import remove_small_regions
+from segment_anything import build_sam, sam_model_registry, SamAutomaticMaskGenerator
+from iGPT.models.sam_preditor import SamPredictor
from bark import SAMPLE_RATE, generate_audio
import matplotlib.pyplot as plt
@@ -57,24 +58,25 @@ import easyocr
from saicinpainting.evaluation.utils import move_to_device
from saicinpainting.training.trainers import load_checkpoint
from saicinpainting.evaluation.data import pad_tensor_to_modulo
+import openai
# openai.api_base = 'https://closeai.deno.dev/v1'
GLOBAL_SEED=1912
-INTERN_CHAT_PREFIX = """InternChat is designed to be able to assist with a wide range of text and visual related tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. InternChat is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.
+INTERN_CHAT_PREFIX = """InternGPT is designed to be able to assist with a wide range of text and visual related tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. InternGPT is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.
-InternChat is able to process and understand large amounts of text and images. As a language model, InternChat can not directly read images, but it has a list of tools to finish different visual tasks. Each image will have a file name formed as "image/xxx.png", and InternChat can invoke different tools to indirectly understand pictures. When talking about images, InternChat is very strict to the file name and will never fabricate nonexistent files. When using tools to generate new image files, InternChat is also known that the image may not be the same as the user's demand, and will use other visual question answering tools or description tools to observe the real image. InternChat is able to use tools in a sequence, and is loyal to the tool observation outputs rather than faking the image content and image file name. It will remember to provide the file name from the last tool observation, if a new image is generated.
+InternGPT is able to process and understand large amounts of text and images. As a language model, InternGPT can not directly read images, but it has a list of tools to finish different visual tasks. Each image will have a file name formed as "image/xxx.png", and InternGPT can invoke different tools to indirectly understand pictures. When talking about images, InternGPT is very strict to the file name and will never fabricate nonexistent files. When using tools to generate new image files, InternGPT is also known that the image may not be the same as the user's demand, and will use other visual question answering tools or description tools to observe the real image. InternGPT is able to use tools in a sequence, and is loyal to the tool observation outputs rather than faking the image content and image file name. It will remember to provide the file name from the last tool observation, if a new image is generated.
-Human may provide new figures to InternChat with a description. The description helps InternChat to understand this image, but InternChat should use tools to finish following tasks, rather than directly imagine from the description.
+Human may provide new figures to InternGPT with a description. The description helps InternGPT to understand this image, but InternGPT should use tools to finish following tasks, rather than directly imagine from the description.
-Overall, InternChat is a powerful visual dialogue assistant tool that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics.
+Overall, InternGPT is a powerful visual dialogue assistant tool that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics.
TOOLS:
------
-InternChat has access to the following tools:"""
+InternGPT has access to the following tools:"""
INTERN_CHAT_FORMAT_INSTRUCTIONS = """To use a tool, please use the following format:
@@ -102,23 +104,23 @@ Previous conversation history:
{chat_history}
New input: {input}
-Since InternChat is a text language model, InternChat must use tools to observe images rather than imagination.
-The thoughts and observations are only visible for InternChat, InternChat should remember to repeat important information in the final response for Human.
+Since InternGPT is a text language model, InternGPT must use tools to observe images rather than imagination.
+The thoughts and observations are only visible for InternGPT, InternGPT should remember to repeat important information in the final response for Human.
Thought: Do I need to use a tool? {agent_scratchpad} Let's think step by step.
"""
-INTERN_CHAT_PREFIX_CN = """InternChat 旨在能够协助完成范围广泛的文本和视觉相关任务,从回答简单的问题到提供对广泛主题的深入解释和讨论。 InternChat 能够根据收到的输入生成类似人类的文本,使其能够进行听起来自然的对话,并提供连贯且与手头主题相关的响应。
+INTERN_CHAT_PREFIX_CN = """InternGPT 旨在能够协助完成范围广泛的文本和视觉相关任务,从回答简单的问题到提供对广泛主题的深入解释和讨论。 InternGPT 能够根据收到的输入生成类似人类的文本,使其能够进行听起来自然的对话,并提供连贯且与手头主题相关的响应。
-InternChat 能够处理和理解大量文本和图像。作为一种语言模型,InternChat 不能直接读取图像,但它有一系列工具来完成不同的视觉任务。每张图片都会有一个文件名,格式为“image/xxx.png”,InternChat可以调用不同的工具来间接理解图片。在谈论图片时,InternChat 对文件名的要求非常严格,绝不会伪造不存在的文件。在使用工具生成新的图像文件时,InternChat也知道图像可能与用户需求不一样,会使用其他视觉问答工具或描述工具来观察真实图像。 InternChat 能够按顺序使用工具,并且忠于工具观察输出,而不是伪造图像内容和图像文件名。如果生成新图像,它将记得提供上次工具观察的文件名。
+InternGPT 能够处理和理解大量文本和图像。作为一种语言模型,InternGPT 不能直接读取图像,但它有一系列工具来完成不同的视觉任务。每张图片都会有一个文件名,格式为“image/xxx.png”,InternGPT可以调用不同的工具来间接理解图片。在谈论图片时,InternGPT 对文件名的要求非常严格,绝不会伪造不存在的文件。在使用工具生成新的图像文件时,InternGPT也知道图像可能与用户需求不一样,会使用其他视觉问答工具或描述工具来观察真实图像。 InternGPT 能够按顺序使用工具,并且忠于工具观察输出,而不是伪造图像内容和图像文件名。如果生成新图像,它将记得提供上次工具观察的文件名。
-Human 可能会向 InternChat 提供带有描述的新图形。描述帮助 InternChat 理解这个图像,但 InternChat 应该使用工具来完成以下任务,而不是直接从描述中想象。有些工具将会返回英文描述,但你对用户的聊天应当采用中文。
+Human 可能会向 InternGPT 提供带有描述的新图形。描述帮助 InternGPT 理解这个图像,但 InternGPT 应该使用工具来完成以下任务,而不是直接从描述中想象。有些工具将会返回英文描述,但你对用户的聊天应当采用中文。
-总的来说,InternChat 是一个强大的可视化对话辅助工具,可以帮助处理范围广泛的任务,并提供关于范围广泛的主题的有价值的见解和信息。
+总的来说,InternGPT 是一个强大的可视化对话辅助工具,可以帮助处理范围广泛的任务,并提供关于范围广泛的主题的有价值的见解和信息。
工具列表:
------
-InternChat 可以使用这些工具:"""
+InternGPT 可以使用这些工具:"""
INTERN_CHAT_FORMAT_INSTRUCTIONS_CN = """用户使用中文和你进行聊天,但是工具的参数应当使用英文。如果要调用工具,你必须遵循如下格式:
@@ -142,8 +144,8 @@ INTERN_CHAT_SUFFIX_CN = """你对文件名的正确性非常严格,而且永
开始!
-因为InternChat是一个文本语言模型,必须使用工具去观察图片而不是依靠想象。
-推理想法和观察结果只对InternChat可见,需要记得在最终回复时把重要的信息重复给用户,你只能给用户返回中文句子。我们一步一步思考。在你使用工具时,工具的参数只能是英文。
+因为InternGPT是一个文本语言模型,必须使用工具去观察图片而不是依靠想象。
+推理想法和观察结果只对InternGPT可见,需要记得在最终回复时把重要的信息重复给用户,你只能给用户返回中文句子。我们一步一步思考。在你使用工具时,工具的参数只能是英文。
聊天历史:
{chat_history}
@@ -155,51 +157,6 @@ Thought: Do I need to use a tool? {agent_scratchpad}
os.makedirs('image', exist_ok=True)
-def cut_dialogue_history(history_memory, keep_last_n_words=500):
- if history_memory is None or len(history_memory) == 0:
- return history_memory
- tokens = history_memory.split()
- n_tokens = len(tokens)
- print(f"history_memory:{history_memory}, n_tokens: {n_tokens}")
- if n_tokens < keep_last_n_words:
- return history_memory
- paragraphs = history_memory.split('\n')
- last_n_tokens = n_tokens
- while last_n_tokens >= keep_last_n_words:
- last_n_tokens -= len(paragraphs[0].split(' '))
- paragraphs = paragraphs[1:]
- return '\n' + '\n'.join(paragraphs)
-
-
-def login_with_key(bot, debug, api_key):
- # Just for debug
- print('===>logging in')
- if debug:
- bot.init_agent()
- return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False, value='')
- else:
- import openai
- from langchain.llms.openai import OpenAI
- if api_key and len(api_key) > 30:
- os.environ["OPENAI_API_KEY"] = api_key
- openai.api_key = api_key
- try:
- llm = OpenAI(temperature=0)
- llm('Hi!')
- response = 'Success!'
- is_error = False
- bot.init_agent()
- except:
- # gr.update(visible=True)
- response = 'Incorrect key, please input again'
- is_error = True
- else:
- is_error = True
- response = 'Incorrect key, please input again'
-
- return gr.update(visible=not is_error), gr.update(visible=is_error), gr.update(visible=is_error, value=response)
-
-
class InstructPix2Pix:
def __init__(self, device):
print(f"Initializing InstructPix2Pix to {device}")
@@ -292,7 +249,6 @@ class CannyText2Image:
torch_dtype=self.torch_dtype)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, ' \
'fewer digits, cropped, worst quality, low quality'
@@ -306,13 +262,15 @@ class CannyText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
- self.seed = random.randint(0, 65535)
- seed_everything(self.seed)
+ w, h = image.size
+ image = resize_800(image)
+ seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="canny2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed CannyText2Image, Input Canny: {image_path}, Input Text: {instruct_text}, "
f"Output Text: {updated_image_path}")
@@ -351,7 +309,6 @@ class LineText2Image:
)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, ' \
'fewer digits, cropped, worst quality, low quality'
@@ -366,13 +323,15 @@ class LineText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
- self.seed = random.randint(0, 65535)
- seed_everything(self.seed)
+ w, h = image.size
+ image = resize_800(image)
+ seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="line2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed LineText2Image, Input Line: {image_path}, Input Text: {instruct_text}, "
f"Output Text: {updated_image_path}")
@@ -411,7 +370,6 @@ class HedText2Image:
)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, ' \
'fewer digits, cropped, worst quality, low quality'
@@ -426,13 +384,15 @@ class HedText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
- self.seed = random.randint(0, 65535)
- seed_everything(self.seed)
+ w, h = image.size
+ image = resize_800(image)
+ seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="hed2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed HedText2Image, Input Hed: {image_path}, Input Text: {instruct_text}, "
f"Output Image: {updated_image_path}")
@@ -471,7 +431,6 @@ class ScribbleText2Image:
)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, ' \
'fewer digits, cropped, worst quality, low quality'
@@ -484,12 +443,15 @@ class ScribbleText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
+ w, h = image.size
+ image = resize_800(image)
seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="scribble2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed ScribbleText2Image, Input Scribble: {image_path}, Input Text: {instruct_text}, "
f"Output Image: {updated_image_path}")
@@ -527,7 +489,6 @@ class PoseText2Image:
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
self.num_inference_steps = 20
- self.seed = -1
self.unconditional_guidance_scale = 9.0
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit,' \
@@ -543,13 +504,15 @@ class PoseText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
- self.seed = random.randint(0, 65535)
- seed_everything(self.seed)
+ w, h = image.size
+ image = resize_800(image)
+ seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="pose2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed PoseText2Image, Input Pose: {image_path}, Input Text: {instruct_text}, "
f"Output Image: {updated_image_path}")
@@ -567,7 +530,6 @@ class SegText2Image:
torch_dtype=self.torch_dtype)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit,' \
' fewer digits, cropped, worst quality, low quality'
@@ -581,13 +543,15 @@ class SegText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
- self.seed = random.randint(0, 65535)
- seed_everything(self.seed)
+ w, h = image.size
+ image = resize_800(image)
+ seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="segment2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed SegText2Image, Input Seg: {image_path}, Input Text: {instruct_text}, "
f"Output Image: {updated_image_path}")
@@ -602,7 +566,6 @@ class ImageText2Image:
# self.torch_dtype = torch.float16 if 'cuda' in device else torch.float32
self.SegText2Image = SegText2Image
self.SegmentAnything = SegmentAnything
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit,' \
' fewer digits, cropped, worst quality, low quality'
@@ -658,7 +621,6 @@ class DepthText2Image:
torch_dtype=self.torch_dtype)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit,' \
' fewer digits, cropped, worst quality, low quality'
@@ -672,13 +634,15 @@ class DepthText2Image:
def inference(self, inputs):
image_path, instruct_text = inputs.split(",")[0], ','.join(inputs.split(',')[1:])
image = Image.open(image_path)
- self.seed = random.randint(0, 65535)
- seed_everything(self.seed)
+ w, h = image.size
+ image = resize_800(image)
+ seed_everything(GLOBAL_SEED)
prompt = f'{instruct_text}, {self.a_prompt}'
image = self.pipe(prompt, image, num_inference_steps=20, eta=0.0, negative_prompt=self.n_prompt,
guidance_scale=9.0).images[0]
# updated_image_path = get_new_image_name(image_path, func_name="depth2image")
updated_image_path = gen_new_name(image_path, f'{type(self).__name__}')
+ image = image.resize((w, h))
image.save(updated_image_path)
print(f"\nProcessed DepthText2Image, Input Depth: {image_path}, Input Text: {instruct_text}, "
f"Output Image: {updated_image_path}")
@@ -731,7 +695,6 @@ class NormalText2Image:
torch_dtype=self.torch_dtype)
self.pipe.scheduler = UniPCMultistepScheduler.from_config(self.pipe.scheduler.config)
self.pipe.to(device)
- self.seed = -1
self.a_prompt = 'best quality, extremely detailed'
self.n_prompt = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit,' \
' fewer digits, cropped, worst quality, low quality'
@@ -868,23 +831,22 @@ class SegmentAnything:
self.sam = sam_model_registry[model_type](checkpoint=sam_checkpoint)
self.predictor = SamPredictor(self.sam)
self.sam.to(device=device)
- self.clicked_region = None
- self.img_path = None
- self.history_mask_res = None
+ # self.clicked_region = None
+ # self.img_path = None
+ # self.history_mask_res = None
@prompts(name="Segment Anything on Image",
description="useful when you want to segment anything in the image. "
"like: segment anything from this image, "
- "The input to this tool should be a string, representing the image_path")
+ "The input to this tool should be a string, "
+ "representing the image_path.")
def inference(self, inputs):
print("Inputs: ", inputs)
+
img_path = inputs.strip()
- self.img_path = img_path
- annos = self.segment_anything(img_path)
+ img = np.array(Image.open(img_path))
+ annos = self.segment_anything(img)
full_img, _ = self.show_annos(annos)
- # full_img = Image.fromarray(full_img)
- # res = Image.fromarray(res)
- # print(os.path.splitext(img_path))
seg_all_image_path = gen_new_name(img_path, 'seg')
full_img.save(seg_all_image_path, "PNG")
@@ -894,27 +856,25 @@ class SegmentAnything:
@prompts(name="Segment the Clicked Region in the Image",
description="useful when you want to segment the masked region or block in the image. "
"like: segment the masked region in this image, "
- "The input to this tool should be None.")
- def inference_by_mask(self, inputs=None):
+ "The input to this tool should be a comma separated string of two, "
+ "representing the image_path and the mask_path")
+ def inference_by_mask(self, inputs):
+ img_path, mask_path = inputs.split(',')[0], inputs.split(',')[1]
+ img_path = img_path.strip()
+ mask_path = mask_path.strip()
+ clicked_mask = Image.open(mask_path).convert('L')
+ clicked_mask = np.array(clicked_mask, dtype=np.uint8)
# mask = np.array(Image.open(mask_path).convert('L'))
- res_mask = self.segment_by_mask(self.clicked_region)
+ res_mask = self.segment_by_mask(clicked_mask)
- if self.history_mask_res is None:
- self.history_mask_res = res_mask
- else:
- self.history_mask_res = np.logical_or(self.history_mask_res, res_mask)
-
- res_mask = self.history_mask_res.astype(np.uint8)*255
- # res_mask = self.dilate_mask(res_mask)
+ res_mask = res_mask.astype(np.uint8)*255
filaname = gen_new_name(self.img_path, 'mask')
mask_img = Image.fromarray(res_mask)
mask_img.save(filaname, "PNG")
return filaname
- def segment_by_mask(self, mask=None):
+ def segment_by_mask(self, mask, features):
random.seed(GLOBAL_SEED)
- if mask is None:
- mask = self.clicked_region
idxs = np.nonzero(mask)
num_points = min(max(1, int(len(idxs[0]) * 0.01)), 16)
sampled_idx = random.sample(range(0, len(idxs[0])), num_points)
@@ -925,6 +885,7 @@ class SegmentAnything:
labels = np.array([1] * num_points)
res_masks, scores, _ = self.predictor.predict(
+ features=features,
point_coords=points,
point_labels=labels,
multimask_output=True,
@@ -933,10 +894,9 @@ class SegmentAnything:
return res_masks[np.argmax(scores), :, :]
- def segment_anything(self, img_path):
- img = cv2.imread(img_path)
- img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
-
+ def segment_anything(self, img):
+ # img = cv2.imread(img_path)
+ # img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
mask_generator = SamAutomaticMaskGenerator(self.sam)
annos = mask_generator.generate(img)
return annos
@@ -947,16 +907,9 @@ class SegmentAnything:
return detection_map
- def preprocess(self, img, img_path):
- self.predictor.set_image(img)
- self.img_path = img_path
+ def get_image_embedding(self, img):
+ return self.predictor.set_image(img)
- def reset(self):
- self.predictor.reset_image()
- self.clicked_region = None
- self.img_path = None
- self.history_mask_res = None
-
def show_annos(self, anns):
# From https://github.com/sail-sg/EditAnything/blob/main/sam2image.py#L91
if len(anns) == 0:
@@ -1078,30 +1031,37 @@ class ImageOCRRecognition:
print(f"Initializing ImageOCRRecognition to {device}")
self.device = device
self.reader = easyocr.Reader(['ch_sim', 'en'], gpu=device) # this needs to run only once to load the model into memory
- self.result = None
- self.image_path=None
- self.clicked_region = None
-
+
@prompts(name="recognize the optical characters in the image",
description="useful when you want to recognize the characters or words in the clicked region of image. "
"like: recognize the characters or words in the clicked region."
"The input to this tool should be a comma separated string of two, "
- "The input to this tool should be None.")
+ "representing the image_path and the mask_path")
def inference_by_mask(self, inputs=None):
- mask = self.clicked_region
+ image_path, mask_path = inputs.split(',')[0], inputs.split(',')[1]
+ image_path = image_path.strip()
+ mask_path = mask_path.strip()
+ mask = Image.open(mask_path).convert('L')
+ mask = np.array(mask, dtype=np.uint8)
+ ocr_res = self.readtext(image_path)
+ seleted_ocr_text = self.get_ocr_by_mask(mask, ocr_res)
+ print(
+ f"\nProcessed ImageOCRRecognition, Input Image: {inputs}, "
+ f"Output Text: {seleted_ocr_text}.")
+ return seleted_ocr_text
+
+ def get_ocr_by_mask(self, mask, ocr_res):
inds =np.where(mask != 0)
inds = (inds[0][::8], inds[1][::8])
-
- if self.image_path is None or len(inds[0]) == 0:
+ # self.result = self.reader.readtext(self.image_path)
+ if len(inds[0]) == 0:
# self.result = self.reader.readtext(image_path)
return 'No characters in the image'
- # stat = [100, 595] # todo
-
# reader = easyocr.Reader(['ch_sim', 'en', 'fr', 'it', 'ja', 'ko', 'ru', 'de', 'pt']) # this needs to run only once to load the model into memory
ocr_text_list = []
for i in range(len(inds[0])):
- res = self.search((inds[1][i], inds[0][i]))
+ res = self.search((inds[1][i], inds[0][i]), ocr_res)
if res is not None and len(res) > 0:
ocr_text_list.append(res)
ocr_text_list = list(dict.fromkeys(ocr_text_list))
@@ -1110,10 +1070,7 @@ class ImageOCRRecognition:
ocr_text = 'No characters in the image'
else:
ocr_text = '\n' + ocr_text
-
- print(
- f"\nProcessed ImageOCRRecognition, Input Image: {self.image_path}, "
- f"Output Text: {ocr_text}.")
+
return ocr_text
@prompts(name="recognize all optical characters in the image",
@@ -1123,25 +1080,26 @@ class ImageOCRRecognition:
"representing the image_path.")
def inference(self, inputs):
image_path = inputs.strip()
- if self.image_path != image_path:
- self.result = self.reader.readtext(image_path)
- self.image_path = image_path
+ result = self.reader.readtext(image_path)
# print(self.result)
res_text = []
- for item in self.result:
+ for item in result:
# ([[x, y], [x, y], [x, y], [x, y]], text, confidence)
res_text.append(item[1])
print(
- f"\nProcessed ImageOCRRecognition, Input Image: {self.image_path}, "
+ f"\nProcessed ImageOCRRecognition, Input Image: {inputs}, "
f"Output Text: {res_text}")
return res_text
- def preprocess(self, img, img_path):
- self.image_path = img_path
- self.result = self.reader.readtext(self.image_path)
+ # def preprocess(self, img, img_path):
+ # self.image_path = img_path
+ # self.result = self.reader.readtext(self.image_path)
+
+ def readtext(self, img_path):
+ return self.reader.readtext(img_path)
- def search(self, coord):
- for item in self.result:
+ def search(self, coord, orc_res):
+ for item in orc_res:
left_top = item[0][0]
right_bottom=item[0][-2]
if (coord[0] >= left_top[0] and coord[1] >= left_top[1]) and \
@@ -1150,25 +1108,20 @@ class ImageOCRRecognition:
return ''
- def reset(self):
- self.image_path = None
- self.result = None
- self.mask = None
class ConversationBot:
def __init__(self, load_dict):
- # load_dict = {'VisualQuestionAnswering':'cuda:0', 'ImageCaptioning':'cuda:1',...}
- print(f"Initializing VisualChatGPT, load_dict={load_dict}")
+ print(f"Initializing InternGPT, load_dict={load_dict}")
if 'HuskyVQA' not in load_dict:
- raise ValueError("You have to load ImageCaptioning as a basic function for i-GPT")
+ raise ValueError("You have to load ImageCaptioning as a basic function for iGPT")
if 'SegmentAnything' not in load_dict:
- raise ValueError("You have to load SegmentAnything as a basic function for i-GPT")
+ raise ValueError("You have to load SegmentAnything as a basic function for iGPT")
+ if 'ImageOCRRecognition' not in load_dict:
+ raise ValueError("You have to load ImageOCRRecognition as a basic function for iGPT")
self.models = {}
- self.uploaded_image_filename = None
- # self.segmented_image_filename = None
- self.history_mask = None
+ self.audio_model = whisper.load_model("small").to('cuda:0')
# Load Basic Foundation Models
for class_name, device in load_dict.items():
self.models[class_name] = globals()[class_name](device=device)
@@ -1187,27 +1140,7 @@ class ConversationBot:
if e.startswith('inference'):
func = getattr(instance, e)
self.tools.append(Tool(name=func.name, description=func.description, func=func))
- self.llm = None
- self.memory = None
- self.audio_model = None
- def init_agent(self):
- if self.memory is not None:
- self.memory.clear() #clear previous history
- else:
- self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
-
- self.reset()
- self.llm = OpenAI(temperature=0)
- self.agent = initialize_agent(
- self.tools,
- self.llm,
- agent="conversational-react-description",
- verbose=True,
- memory=self.memory,
- return_intermediate_steps=True,
- agent_kwargs={'prefix': INTERN_CHAT_PREFIX, 'format_instructions': INTERN_CHAT_FORMAT_INSTRUCTIONS,
- 'suffix': INTERN_CHAT_SUFFIX}, )
def find_latest_image(self, file_list):
res = None
@@ -1231,12 +1164,12 @@ class ConversationBot:
res = file_item[0]
return res
- def run_task(self, use_voice, text, audio_path, state):
+ def run_task(self, use_voice, text, audio_path, state, user_state):
if use_voice:
- state, _ = self.run_audio(audio_path, state)
+ state, _, user_state = self.run_audio(audio_path, state, user_state)
else:
- state, _ = self.run_text(text, state)
- return state, state, None
+ state, _, user_state = self.run_text(text, state, user_state)
+ return state, state, user_state
def find_param(self, msg, keyword, excluded=False):
p1 = re.compile(f'(image/[-\\w]*.(png|mp4))')
@@ -1253,8 +1186,7 @@ class ConversationBot:
res = self.find_latest_image(out_filenames)
return res
- def rectify_action(self, inputs, history_msg):
- # history_msg = self.agent.memory.buffer.copy()
+ def rectify_action(self, inputs, history_msg, user_state):
print('Rectify the action.')
print(inputs)
func = None
@@ -1316,7 +1248,7 @@ class ConversationBot:
func_inputs = f'{img_path},{prompt}'
else:
# raise NotImplementedError('Can not find the matched function.')
- res = self.agent(f"You can use history message to sanswer this question without using any tools. {inputs}")
+ res = user_state[0]['agent'](f"You can use history message to sanswer this question without using any tools. {inputs}")
res = res['output'].replace("\\", "/")
print(f'{func_name}: {func_inputs}')
@@ -1340,17 +1272,14 @@ class ConversationBot:
return illegal_files
- def run_text(self, text, state):
+ def run_text(self, text, state, user_state):
if text is None or len(text) == 0:
state += [(None, 'Please input text.')]
- return state, state
- self.agent.memory.buffer = cut_dialogue_history(self.agent.memory.buffer, keep_last_n_words=500)
+ return state, state, user_state
+ user_state[0]['agent'].memory.buffer = cut_dialogue_history(user_state[0]['agent'].memory.buffer, keep_last_n_words=500)
pattern = re.compile('(image/[-\\w]*.(png|mp4))')
try:
- # new_text = text.strip() + 'You can find all input paths in the history.'
- # res = self.agent({"input": new_text})
- response = self.agent({"input": text.strip()})['output']
- # print(f'*******response*********: {response}')
+ response = user_state[0]['agent']({"input": text.strip()})['output']
response = response.replace("\\", "/")
out_filenames = pattern.findall(response)
illegal_files = self.check_illegal_files(out_filenames)
@@ -1361,29 +1290,29 @@ class ConversationBot:
# state += [(text, 'Sorry, I failed to understand your instruction. You can try it again or turn to more powerful language model.')]
print(f'Error: {err1}')
try:
- response = self.rectify_action(text, self.agent.memory.buffer[:])
+ response = self.rectify_action(text, user_state[0]['agent'].memory.buffer[:], user_state)
# print('response = ', response)
out_filenames = pattern.findall(response)
res = self.find_latest_image(out_filenames)
# print(out_filenames)
- self.agent.memory.buffer += f'\nHuman: {text.strip()}\n' + f'AI:{response})'
+ user_state[0]['agent'].memory.buffer += f'\nHuman: {text.strip()}\n' + f'AI:{response})'
except Exception as err2:
print(f'Error: {err2}')
state += [(text, 'Sorry, I failed to understand your instruction. You can try it again or turn to more powerful language model.')]
- return state, state
+ return state, state, user_state
- if res is not None and self.agent.memory.buffer.count(res) <= 1:
+ if res is not None and user_state[0]['agent'].memory.buffer.count(res) <= 1:
state = state + [(text, response + f' `{res}` is as follows: ')]
state = state + [(None, (res, ))]
else:
state = state + [(text, response)]
print(f"\nProcessed run_text, Input text: {text}\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
+ return state, state, user_state
- def run_audio(self, audio_path, state):
+ def run_audio(self, audio_path, state, user_state):
print(f'audio_path = {audio_path}')
if audio_path is None or not os.path.exists(audio_path):
state += [(None, 'No audio input. Please stop recording first and then send the audio.')]
@@ -1391,68 +1320,74 @@ class ConversationBot:
if self.audio_model is None:
self.audio_model = whisper.load_model("small").to('cuda:0')
text = self.audio_model.transcribe(audio_path)["text"]
- res = self.run_text(text, state)
+ res = self.run_text(text, state, user_state)
print(f"\nProcessed run_audio, Input transcribed audio: {text}\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return res[0], res[1]
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
+ return res[0], res[1], res[2]
- def upload_image(self, image, state, txt):
- self.reset()
+ def upload_image(self, image, state, user_state):
+ # [txt, click_img, state, user_state], [chatbot, txt, state, user_state]
+ # self.reset()
print('upload an image')
+ user_state = self.clear_user_state(False, user_state)
img = image['image']
image_filename = os.path.join('image', f"{str(uuid.uuid4())[:6]}.png")
- image_filename = gen_new_name(image_filename, 'raw')
- self.uploaded_image_filename = image_filename
- img = img.convert('RGB')
+ image_filename = gen_new_name(image_filename, 'image')
img.save(image_filename, "PNG")
- # print(f"Resize image form {width}x{height} to {width_new}x{height_new}")
- # let some foundation models preprocess image
- NEED_PREPROCESSING_LIST = ["SegmentAnything", "ImageOCRRecognition"]
- for model_name in NEED_PREPROCESSING_LIST:
- if model_name in self.models.keys():
- self.models[model_name].preprocess(np.array(img), image_filename)
- # description = self.models['ImageCaptioning'].inference(image_filename)
- description = self.models['HuskyVQA'].inference_captioning(image_filename)
+ # self.uploaded_image_filename = image_filename
+ user_state[0]['image_path'] = image_filename
+ img = img.convert('RGB')
+
+ image_caption = self.models['HuskyVQA'].inference_captioning(image_filename)
# description = 'Debug'
+ user_state[0]['image_caption'] = image_caption
- ocr_text = None
+ ocr_res = None
+ user_state[0]['ocr_res'] = []
if 'ImageOCRRecognition' in self.models.keys():
- ocr_text = self.models['ImageOCRRecognition'].inference(image_filename)
-
- if ocr_text is not None and len(ocr_text) > 0:
- Human_prompt = f'\nHuman: provide a image named {image_filename}. The description is: {description}. OCR result is: {ocr_text}. This information helps you to understand this image, but you should use tools to finish following tasks, rather than directly imagine from my description. If you understand, say \"Received\". \n'
+ ocr_res = self.models['ImageOCRRecognition'].inference(image_filename)
+ ocr_res_raw = self.models['ImageOCRRecognition'].readtext(image_filename)
+ if ocr_res is not None and len(ocr_res) > 0:
+ Human_prompt = f'\nHuman: provide a image named {image_filename}. The description is: {image_caption} OCR result is: {ocr_res}. This information helps you to understand this image, but you should use tools to finish following tasks, rather than directly imagine from my description. If you understand, say \"Received\". \n'
+ user_state[0]['ocr_res'] = ocr_res_raw
else:
- Human_prompt = f'\nHuman: provide a image named {image_filename}. The description is: {description}. This information helps you to understand this image, but you should use tools to finish following tasks, rather than directly imagine from my description. If you understand, say \"Received\". \n'
+ Human_prompt = f'\nHuman: provide a image named {image_filename}. The description is: {image_caption} This information helps you to understand this image, but you should use tools to finish following tasks, rather than directly imagine from my description. If you understand, say \"Received\". \n'
AI_prompt = "Received. "
- self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + ' AI: ' + AI_prompt
+ # self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + ' AI: ' + AI_prompt
+ user_state[0]['agent'].memory.buffer += Human_prompt + 'AI: ' + AI_prompt
state = state + [(f"![](file={image_filename})*{image_filename}*", AI_prompt)]
print(f"\nProcessed upload_image, Input image: {image_filename}\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state, f'{txt}'
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
- def upload_video(self, video_path, state, txt):
- self.reset()
+ return state, state, user_state
+
+ def upload_video(self, video_path, state, user_state):
+ # self.reset()
print('upload a video')
+ user_state = self.clear_user_state(False, user_state)
vid_name = os.path.basename(video_path)
# vid_name = gen_new_name(vid_name, '', vid_name.split('.')[-1])
new_video_path = os.path.join('./image/', vid_name)
- new_video_path = gen_new_name(new_video_path, 'raw', vid_name.split('.')[-1])
+ new_video_path = gen_new_name(new_video_path, 'image', vid_name.split('.')[-1])
shutil.copy(video_path, new_video_path)
+ user_state[0]['video_path'] = new_video_path
if "VideoCaption" in self.models.keys():
description = self.models['VideoCaption'].inference(new_video_path)
else:
description = 'A video.'
+ user_state[0]['video_caption'] = description
Human_prompt = f'\nHuman: provide a video named {new_video_path}. The description is: {description}. This information helps you to understand this video, but you should use tools to finish following tasks, rather than directly imagine from my description. If you understand, say \"Received\". \n'
AI_prompt = f"Received video: {new_video_path} "
- self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + 'AI: ' + AI_prompt
- # state = state + [(f"![](file={new_video_path})*{new_video_path}*", AI_prompt)]
- # state = state + [(f"![](file={video_path})*{new_video_path}*", AI_prompt)]
+ # self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + 'AI: ' + AI_prompt
+ user_state[0]['agent'].memory.buffer += Human_prompt + 'AI: ' + AI_prompt
+
state = state + [((new_video_path, ), AI_prompt)]
# print('exists = ', os.path.exists("./tmp_files/1e7f_f4236666_tmp.mp4"))
print(f"\nProcessed upload_video, Input video: `{new_video_path}`\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state, f'{txt}'
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
+
+ return state, state, user_state
def blend_mask(self, img, mask):
mask = mask.astype(np.uint8)
@@ -1468,63 +1403,67 @@ class ConversationBot:
# print(new_img_arr.shape)
return new_img_arr
- def process_seg(self, image, state):
- if self.uploaded_image_filename is None or \
- not os.path.exists(self.uploaded_image_filename) or \
- image is None:
- return state, state, None
+ def process_seg(self, image, state, user_state):
+ Human_prompt="Please process this image based on given mask."
+ if image is None or \
+ user_state[0].get('image_path', None) is None or \
+ not os.path.exists(user_state[0]['image_path']):
+ AI_prompt = "Please upload an image for processing."
+ state += [(Human_prompt, AI_prompt)]
+ return None, state, state, user_state
if 'SegmentAnything' not in self.models.keys():
state += [(None, 'Please load the segmentation tool.')]
- return state, state, image
+ return image['image'], state, state, user_state
- img = Image.open(self.uploaded_image_filename).convert('RGB')
- # img = image['image'].convert('RGB')
+ img = Image.open(user_state[0]['image_path']).convert('RGB')
+ print(f'user_state[0][\'image_path\'] = {user_state[0]["image_path"]}')
+ img = np.array(img, dtype=np.uint8)
mask = image['mask'].convert('L')
mask = np.array(mask, dtype=np.uint8)
-
- Human_prompt="Please process this image based on given mask."
- if self.uploaded_image_filename is None:
- AI_prompt = "Please upload an image for processing."
- state += [(Human_prompt, AI_prompt)]
- return state, state, None
+
if mask.sum() == 0:
- AI_prompt = "You can click the image in the right and ask me some questions."
+ AI_prompt = "You can click the image and ask me some questions."
state += [(Human_prompt, AI_prompt)]
- return state, state, image['image']
+ return image['image'], state, state, user_state
+
+ # if 'SegmentAnything' in self.models.keys():
+ # self.models['SegmentAnything'].clicked_region = mask
+ if user_state[0].get('features', None) is None:
+ user_state[0]['features'] = self.models['SegmentAnything'].get_image_embedding(img)
+
+ res_mask = self.models['SegmentAnything'].segment_by_mask(mask, user_state[0]['features'])
+
+ if user_state[0].get('seg_mask', None) is not None:
+ res_mask = np.logical_or(user_state[0]['seg_mask'], res_mask)
- if 'SegmentAnything' in self.models.keys():
- self.models['SegmentAnything'].clicked_region = mask
-
- res_mask_path = self.models['SegmentAnything'].inference_by_mask()
- res_mask = Image.open(res_mask_path)
- res_mask_arr = np.array(res_mask, dtype=np.uint8)
- # dilate_factor = self.models['SegmentAnything'].cal_dilate_factor(res_mask_arr)
- # res_mask_arr = self.models['SegmentAnything'].dilate_mask(res_mask_arr, dilate_factor)
- new_img_arr = self.blend_mask(img, res_mask_arr)
+ res_mask = res_mask.astype(np.uint8)*255
+ user_state[0]['seg_mask'] = res_mask
+ new_img_arr = self.blend_mask(img, res_mask)
new_img = Image.fromarray(new_img_arr)
- new_img_name = gen_new_name(self.uploaded_image_filename, 'blended')
- print(new_img_name)
- new_img.save(new_img_name)
- # AI_prompt = f"I have finished processing. Now, you can ask me some questions."
- # state = state + [(Human_prompt, AI_prompt)]
+ res_mask_img = Image.fromarray(res_mask).convert('RGB')
+ res_mask_path = gen_new_name(user_state[0]['image_path'], 'mask')
+ res_mask_img.save(res_mask_path)
AI_prompt = f"Received. The mask_path is named {res_mask_path}."
- self.agent.memory.buffer = self.agent.memory.buffer + '\nHuman: ' + Human_prompt + ' AI: ' + AI_prompt
+ user_state[0]['agent'].memory.buffer += '\nHuman: ' + Human_prompt + '\nAI: ' + AI_prompt
# state = state + [(Human_prompt, f"![](file={seg_filename})*{AI_prompt}*")]
state = state + [(Human_prompt, f'Received. The sgemented figure named `{res_mask_path}` is as follows: ')]
state = state + [(None, (res_mask_path, ))]
- print(f"\nProcessed run_image, Input image: `{self.uploaded_image_filename}`\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state, new_img
-
- def process_ocr(self, image, state):
- if self.uploaded_image_filename is None or \
- not os.path.exists(self.uploaded_image_filename) or \
- image is None:
- return state, state, None
- img = Image.open(self.uploaded_image_filename).convert('RGB')
- img = np.array(img)
+ print(f"\nProcessed run_image, Input image: `{user_state[0]['image_path']}`\nCurrent state: {state}\n"
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
+ return new_img, state, state, user_state
+
+ def process_ocr(self, image, state, user_state):
+ Human_prompt="Please process this image based on given mask."
+ if image is None or \
+ user_state[0].get('image_path', None) is None or \
+ not os.path.exists(user_state[0]['image_path']):
+ AI_prompt = "Please upload an image for processing."
+ state += [(Human_prompt, AI_prompt)]
+ return None, state, state, user_state
+
+ img = np.array(image['image'])
# img[:100+int(time.time() % 50),:100, :] = 0
img = Image.fromarray(img)
# img = image['image'].convert('RGB')
@@ -1532,38 +1471,33 @@ class ConversationBot:
# mask.save(f'test_{int(time.time()) % 1000}.png')
mask = np.array(mask, dtype=np.uint8)
- Human_prompt="Please process this image based on given mask."
- if self.uploaded_image_filename is None:
- AI_prompt = "Please upload an image for processing."
- state += [(Human_prompt, AI_prompt)]
- return state, state, None
if mask.sum() == 0:
- AI_prompt = "You can click the image in the right and ask me some questions."
+ AI_prompt = "You can click the image and ask me some questions."
state += [(Human_prompt, AI_prompt)]
- return state, state, image['image']
+ return image['image'], state, state, user_state
- ocr_text = None
+ chosen_ocr_res = None
if 'ImageOCRRecognition' in self.models.keys():
- self.models['ImageOCRRecognition'].clicked_region = mask
- ocr_text = self.models['ImageOCRRecognition'].inference_by_mask()
+ # self.models['ImageOCRRecognition'].clicked_region = mask
+ chosen_ocr_res = self.models['ImageOCRRecognition'].get_ocr_by_mask(mask, user_state[0]['ocr_res'])
else:
state += [Human_prompt, f'ImageOCRRecognition is not loaded.']
- if ocr_text is not None and len(ocr_text) > 0:
- AI_prompt = f'OCR result: {ocr_text}'
+ if chosen_ocr_res is not None and len(chosen_ocr_res) > 0:
+ AI_prompt = f'OCR result: {chosen_ocr_res}'
# self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + ' AI: ' + AI_prompt
else:
AI_prompt = 'I didn\'t find any optical characters at given location.'
state = state + [(Human_prompt, AI_prompt)]
- self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + ' AI: ' + AI_prompt
+ user_state[0]['agent'].memory.buffer += '\nHuman: ' + Human_prompt + '\nAI: ' + AI_prompt
print(f"\nProcessed process_ocr, Input image: {self.uploaded_image_filename}\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state, image['image']
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
+ return image['image'], state, state, user_state
- def process_save(self, image, state):
+ def process_save(self, image, state, user_state):
if image is None:
- return state, state, None
+ return None, state, state, user_state
mask_image = image['mask'].convert('RGB')
# mask = np.array(mask, dtype=np.uint8)
@@ -1580,72 +1514,22 @@ class ConversationBot:
AI_prompt = f'The saved mask is named {mask_image_name}: '
state = state + [(Human_prompt, AI_prompt)]
state = state + [(None, (mask_image_name, ))]
- self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + ' AI: ' + AI_prompt
+ user_state[0]['agent'].memory.buffer = user_state[0]['agent'].memory.buffer + Human_prompt + ' AI: ' + AI_prompt
print(f"\nProcessed process_ocr, Input image: {self.uploaded_image_filename}\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state, image['image']
+ f"Current Memory: {user_state[0]['agent'].memory.buffer}")
+ return image['image'], state, state, user_state
- def process_image(self, image, state):
- img = Image.open(self.uploaded_image_filename).convert('RGB')
- # img = image['image'].convert('RGB')
- mask = image['mask'].convert('L')
- mask = np.array(mask, dtype=np.uint8)
- Human_prompt="Please process this image based on given mask."
- if self.uploaded_image_filename is None:
- AI_prompt = "Please upload an image for processing."
- state += [(Human_prompt, AI_prompt)]
- return state, state, None
- if mask.sum() == 0:
- AI_prompt = "You can click the image in the right and ask me some questions."
- state += [(Human_prompt, AI_prompt)]
- return state, state, image['image']
-
- if self.history_mask is None:
- self.history_mask = mask
+ def clear_user_state(self, clear_momery, user_state):
+ new_user_state = [{}]
+ new_user_state[0]['agent'] = user_state[0]['agent']
+ new_user_state[0]['memory'] = user_state[0]['memory']
+ if clear_momery:
+ new_user_state[0]['memory'].clear()
else:
- self.history_mask = np.logical_or(self.history_mask, mask)
-
- ocr_text = None
- if 'SegmentAnything' in self.models.keys():
- self.models['SegmentAnything'].clicked_region = self.history_mask
- if 'ImageOCRRecognition' in self.models.keys():
- self.models['ImageOCRRecognition'].clicked_region = mask
- inds = np.where(mask != 0)
- coord = (int(np.mean(inds[1])), int(np.mean(inds[0])))
- ocr_text = self.models['ImageOCRRecognition'].search(coord)
-
- # description = self.models['ImageCaptioning'].inference(image_filename)
- res_mask = self.models['SegmentAnything'].segment_by_mask(self.history_mask)
- mask_image = Image.fromarray(res_mask.astype(np.uint8)*255)
- img = self.blend_mask(img, res_mask)
- seg_filename = gen_new_name(self.uploaded_image_filename, 'mask')
- mask_image.save(seg_filename, "PNG")
-
- AI_prompt = f"Received. The mask_path is named {seg_filename}:"
- self.agent.memory.buffer = self.agent.memory.buffer + Human_prompt + ' AI: ' + AI_prompt
- # state = state + [(Human_prompt, f"![](file={seg_filename})*{AI_prompt}*")]
- state = state + [(Human_prompt, f"Received. The segmented image is named {seg_filename}:")]
- state = state + [(None, (seg_filename, ))]
- if ocr_text is not None and len(ocr_text) > 0:
- state = state + [(None, f'OCR result: {ocr_text}')]
-
- print(f"\nProcessed process_image, Input image: {self.uploaded_image_filename}\nCurrent state: {state}\n"
- f"Current Memory: {self.agent.memory.buffer}")
- return state, state, img
-
- def reset(self, clear_history_memory=False):
- print('reset the model cache.')
- NEED_RESET_LIST = ['SegmentAnything', 'HuskyVQA']
- for model_name in NEED_RESET_LIST:
- if model_name in self.models.keys():
- self.models[model_name].reset()
+ new_user_state[0]['memory'] = user_state[0]['memory']
- self.history_mask = None
- self.uploaded_image_filename = None
- if clear_history_memory and bot.memory is not None:
- self.memory.clear()
- return None
+ return new_user_state
class ImageSketcher(gr.Image):
@@ -1670,8 +1554,6 @@ class ImageSketcher(gr.Image):
mask = np.zeros((height, width, 4), dtype=np.uint8)
mask[..., -1] = 255
mask = self.postprocess(mask)
- # print(type(mask))
- # print(mask.shape)
x['mask'] = mask
elif not isinstance(x, dict):
# print(x)
@@ -1682,9 +1564,7 @@ class ImageSketcher(gr.Image):
# print(width, height)
mask = np.zeros((height, width, 4), dtype=np.uint8)
mask[..., -1] = 255
- # print(mask.shape)
mask = self.postprocess(mask)
- # print(type(mask))
x = {'image': x, 'mask': mask}
x = super().preprocess(x)
return x
@@ -1745,6 +1625,79 @@ css='''
#image_upload:{align-items: center; min-width: 640px}
'''
+def resize_800(image):
+ w, h = image.size
+ if w > h:
+ ratio = w * 1.0 / 800
+ new_w, new_h = 800, int(h * 1.0 / ratio)
+ else:
+ ratio = h * 1.0 / 800
+ new_w, new_h = int(w * 1.0 / ratio), 800
+ image = image.resize((new_w, new_h))
+ return image
+
+def cut_dialogue_history(history_memory, keep_last_n_words=500):
+ if history_memory is None or len(history_memory) == 0:
+ return history_memory
+ tokens = history_memory.split()
+ n_tokens = len(tokens)
+ print(f"history_memory:{history_memory}, n_tokens: {n_tokens}")
+ if n_tokens < keep_last_n_words:
+ return history_memory
+ paragraphs = history_memory.split('\n')
+ last_n_tokens = n_tokens
+ while last_n_tokens >= keep_last_n_words:
+ last_n_tokens -= len(paragraphs[0].split(' '))
+ paragraphs = paragraphs[1:]
+ return '\n' + '\n'.join(paragraphs)
+
+
+def login_with_key(bot, debug, api_key):
+ # Just for debug
+ print('===>logging in')
+ user_state = [{}]
+ is_error = True
+ if debug:
+ user_state = init_agent(bot)
+ return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False, value=''), user_state
+ else:
+ import openai
+ from langchain.llms.openai import OpenAI
+ if api_key and len(api_key) > 30:
+ os.environ["OPENAI_API_KEY"] = api_key
+ openai.api_key = api_key
+ try:
+ llm = OpenAI(temperature=0)
+ llm('Hi!')
+ response = 'Success!'
+ is_error = False
+ user_state = init_agent(bot)
+ except:
+ # gr.update(visible=True)
+ response = 'Incorrect key, please input again'
+ is_error = True
+ else:
+ is_error = True
+ response = 'Incorrect key, please input again'
+
+ return gr.update(visible=not is_error), gr.update(visible=is_error), gr.update(visible=is_error, value=response), user_state
+
+def init_agent(bot):
+ memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
+ llm = OpenAI(temperature=0)
+ agent = initialize_agent(
+ bot.tools,
+ llm,
+ agent="conversational-react-description",
+ verbose=True,
+ memory=memory,
+ return_intermediate_steps=True,
+ agent_kwargs={'prefix': INTERN_CHAT_PREFIX, 'format_instructions': INTERN_CHAT_FORMAT_INSTRUCTIONS,
+ 'suffix': INTERN_CHAT_SUFFIX}, )
+
+ user_state = [{'agent': agent, 'memory': memory}]
+ return user_state
+
def change_input_type(flag):
if flag:
print('Using voice input.')
@@ -1772,9 +1725,7 @@ def process_image_tab():
def add_whiteboard():
# wb = np.ones((1080, 1920, 3), dtype=np.uint8) * 255
- # wb = np.ones((540, 960, 3), dtype=np.uint8) * 255
wb = np.ones((720, 1280, 3), dtype=np.uint8) * 255
- # wb[0, 0, 0] = int(time.time() % 100)
return Image.fromarray(wb)
@@ -1783,15 +1734,21 @@ if __name__ == '__main__':
parser.add_argument('-p', '--port', type=int, default=7862)
parser.add_argument('-d', '--debug', action='store_true')
parser.add_argument('--https', action='store_true')
- parser.add_argument('--load', type=str, default="HuskyVQA_cuda:0,Text2Image_cuda:0")
+ parser.add_argument('--load', type=str, default="HuskyVQA_cuda:0,ImageOCRRecognition_cuda:0,SegmentAnything_cuda:0")
args = parser.parse_args()
load_dict = {e.split('_')[0].strip(): e.split('_')[1].strip() for e in args.load.split(',')}
bot = ConversationBot(load_dict=load_dict)
# bot.init_agent()
with gr.Blocks(theme=Seafoam(), css=css) as demo:
state = gr.State([])
- gr.HTML("
")
-
+ # user_state is dict. Keys: [agent, memory, image_path, video_path, seg_mask, image_caption, OCR_res, ...]
+ user_state = gr.State([])
+
+ gr.HTML(
+ """
+
+ GitHub ArXiv
+ """)
with gr.Row(visible=True, elem_id='login') as login:
with gr.Column(scale=0.6, min_width=0) :
openai_api_key_text = gr.Textbox(
@@ -1800,12 +1757,12 @@ if __name__ == '__main__':
label="OpenAI API Key",
lines=1,
type="password").style(container=False)
- with gr.Column(scale=0.4, min_width=0) :
+ with gr.Column(scale=0.4, min_width=0):
key_submit_button = gr.Button(value="Please log in with your OpenAI API Key", interactive=True, variant='primary').style(container=False)
with gr.Row(visible=False) as user_interface:
with gr.Column(scale=0.5, elem_id="text_input") as chat_part:
- chatbot = gr.Chatbot(elem_id="chatbot", label="InternChat").style(height=360)
+ chatbot = gr.Chatbot(elem_id="chatbot", label="InternGPT").style(height=360)
with gr.Row(visible=True) as input_row:
with gr.Column(scale=0.8, min_width=0) as text_col:
txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter, or upload an image").style(
@@ -1841,14 +1798,13 @@ if __name__ == '__main__':
video_input = gr.Video(interactive=True, include_audio=True, elem_id="video_upload").style(height=360)
login_func = partial(login_with_key, bot, args.debug)
- openai_api_key_text.submit(login_func, [openai_api_key_text], [user_interface, openai_api_key_text, key_submit_button])
- key_submit_button.click(login_func, [openai_api_key_text, ], [user_interface, openai_api_key_text, key_submit_button])
- # txt.submit(bot.run_text, [txt, state], [chatbot, state])
- # txt.submit(lambda: "", None, txt)
+ openai_api_key_text.submit(login_func, [openai_api_key_text], [user_interface, openai_api_key_text, key_submit_button, user_state])
+ key_submit_button.click(login_func, [openai_api_key_text, ], [user_interface, openai_api_key_text, key_submit_button, user_state])
+
txt.submit(
lambda: gr.update(visible=False), [], [send_btn]).then(
lambda: gr.update(visible=False), [], [txt]).then(
- bot.run_text, [txt, state], [chatbot, state]).then(
+ bot.run_text, [txt, state, user_state], [chatbot, state, user_state]).then(
lambda: gr.update(visible=True), [], [send_btn]
).then(lambda: "", None, [txt, ]).then(
lambda: gr.update(visible=True), [], [txt])
@@ -1857,57 +1813,120 @@ if __name__ == '__main__':
send_btn.click(
lambda: gr.update(visible=False), [], [send_btn]).then(
lambda: gr.update(visible=False), [], [txt]).then(
- bot.run_task, [audio_switch, txt, audio_input, state], [chatbot, state, txt]).then(
+ bot.run_task, [audio_switch, txt, audio_input, state, user_state], [chatbot, state, user_state]).then(
lambda: gr.update(visible=True), [], [send_btn]).then(
+ lambda: "", None, [txt, ]).then(
lambda: gr.update(visible=True), [], [txt]
)
audio_switch.change(change_input_type, [audio_switch, ], [txt, audio_input])
+ # add_img_example.click(ramdom_image, [], [click_img,]).then(
+ # bot.upload_image, [click_img, state, user_state], [chatbot, state, user_state])
+
add_img_example.click(ramdom_image, [], [click_img,]).then(
- bot.upload_image, [click_img, state, txt], [chatbot, state, txt])
+ lambda: gr.update(visible=False), [], [send_btn]).then(
+ lambda: gr.update(visible=False), [], [txt]).then(
+ lambda: gr.update(visible=False), [], [vis_btn]).then(
+ bot.upload_image, [click_img, state, user_state],
+ [chatbot, state, user_state]).then(
+ lambda: gr.update(visible=True), [], [send_btn]).then(
+ lambda: gr.update(visible=True), [], [txt]).then(
+ lambda: gr.update(visible=True), [], [vis_btn])
+ # add_vid_example.click(ramdom_video, [], [video_input,]).then(
+ # bot.upload_video, [video_input, state, user_state], [chatbot, state, user_state])
+
add_vid_example.click(ramdom_video, [], [video_input,]).then(
- bot.upload_video, [video_input, state, txt], [chatbot, state, txt])
+ lambda: gr.update(visible=False), [], [send_btn]).then(
+ lambda: gr.update(visible=False), [], [txt]).then(
+ lambda: gr.update(visible=False), [], [vis_btn]).then(
+ bot.upload_video, [video_input, state, user_state],
+ [chatbot, state, user_state]).then(
+ lambda: gr.update(visible=True), [], [send_btn]).then(
+ lambda: gr.update(visible=True), [], [txt]).then(
+ lambda: gr.update(visible=True), [], [vis_btn])
- whiteboard_mode.click(add_whiteboard, [], [click_img,])
+ whiteboard_mode.click(add_whiteboard, [], [click_img, ])
# click_img.upload(bot.upload_image, [click_img, state, txt], [chatbot, state, txt])
- click_img.upload(lambda: gr.update(visible=False), [], [send_btn]).then(bot.upload_image, [click_img, state, txt], [chatbot, state, txt]).then(lambda: gr.update(visible=True), [], [send_btn])
+ click_img.upload(lambda: gr.update(visible=False), [], [send_btn]).then(
+ lambda: gr.update(visible=False), [], [txt]).then(
+ lambda: gr.update(visible=False), [], [vis_btn]).then(
+ bot.upload_image, [click_img, state, user_state],
+ [chatbot, state, user_state]).then(
+ lambda: gr.update(visible=True), [], [send_btn]).then(
+ lambda: gr.update(visible=True), [], [txt]).then(
+ lambda: gr.update(visible=True), [], [vis_btn])
- # process_btn.click(bot.process_image, [click_img, state], [chatbot, state, click_img])
- # process_ocr_btn.click(bot.process_ocr, [click_img, state], [chatbot, state, click_img])
process_ocr_btn.click(
lambda: gr.update(visible=False), [], [vis_btn]).then(
- bot.process_ocr, [click_img, state], [chatbot, state, click_img]).then(
+ bot.process_ocr, [click_img, state, user_state], [click_img, chatbot, state, user_state]).then(
lambda: gr.update(visible=True), [], [vis_btn]
)
# process_seg_btn.click(bot.process_seg, [click_img, state], [chatbot, state, click_img])
process_seg_btn.click(
lambda: gr.update(visible=False), [], [vis_btn]).then(
- bot.process_seg, [click_img, state], [chatbot, state, click_img]).then(
+ bot.process_seg, [click_img, state, user_state], [click_img, chatbot, state, user_state]).then(
lambda: gr.update(visible=True), [], [vis_btn]
)
# process_save_btn.click(bot.process_save, [click_img, state], [chatbot, state, click_img])
process_save_btn.click(
lambda: gr.update(visible=False), [], [vis_btn]).then(
- bot.process_save, [click_img, state], [chatbot, state, click_img]).then(
+ bot.process_save, [click_img, state, user_state], [click_img, chatbot, state, user_state]).then(
lambda: gr.update(visible=True), [], [vis_btn]
)
video_tab.select(process_video_tab, [], [whiteboard_mode, img_example, vid_example])
img_tab.select(process_image_tab, [], [whiteboard_mode, img_example, vid_example])
# clear_img_btn.click(bot.reset, [], [click_img])
- clear_func = partial(bot.reset, clear_history_memory=True)
- clear_btn.click(clear_func, [], [click_img]).then(
+ clear_func = partial(bot.clear_user_state, True)
+ clear_btn.click(lambda: None, [], [click_img, ]).then(
lambda: [], None, state).then(
+ clear_func, [user_state, ], [user_state, ]).then(
lambda: None, None, chatbot
- )
- click_img.upload(bot.reset, None, None)
+ ).then(lambda: '', None, [txt, ])
+ # click_img.upload(bot.reset, None, None)
- video_input.upload(bot.upload_video, [video_input, state, txt], [chatbot, state, txt])
- video_input.clear(bot.reset, [], [video_input])
+ # video_input.upload(bot.upload_video, [video_input, state, user_state], [chatbot, state, user_state])
+ video_input.upload(lambda: gr.update(visible=False), [], [send_btn]).then(
+ lambda: gr.update(visible=False), [], [txt]).then(
+ bot.upload_video, [video_input, state, user_state],
+ [chatbot, state, user_state]).then(
+ lambda: gr.update(visible=True), [], [send_btn]).then(
+ lambda: gr.update(visible=True), [], [txt])
+
+ clear_func = partial(bot.clear_user_state, False)
+ video_input.clear(clear_func, [user_state, ], [user_state, ])
+
+ # (More detailed instructions can be found in here:
+ gr.HTML(
+ """
+
+ Tips!!! (More detailed instructions are coming soon):
+
+ """
+ )
+ gr.Markdown(
+ '''
+ 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:
+ - You can click the image and press the button `Pick` to **visualize the segmented region** or press the button `OCR` to **recognize the words** at chosen position;
+ - To **remove the masked reigon** in the image, you can send the message like: `remove the maked region`;
+ - To **replace the masked reigon** in the image, you can send the message like: `replace the maked region with {your prompt}`;
+ - To **generate a new image**, you can send the message like: `generate a new image based on its segmentation decribing {your prompt}`
+ - To **create a new image by your scribble**, you can press button `Whiteboard` and drawing in the below board. After drawing, you need to press the button `Save` and send the message like: `generate a new image based on this scribble decribing {your prompt}`.
+ '''
+ )
+ gr.HTML(
+ """
+
+ More features is coming soon. Hope you have fun with our demo!
+
+ """
+ )
if args.https:
- demo.queue().launch(server_name="0.0.0.0", ssl_certfile="./cert.pem", ssl_keyfile="./key.pem", ssl_verify=False, server_port=args.port)
+ demo.queue().launch(server_name="0.0.0.0", ssl_certfile="./certificate/cert.pem", ssl_keyfile="./certificate/key.pem", ssl_verify=False, server_port=args.port)
else:
demo.queue().launch(server_name="0.0.0.0", server_port=args.port)
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/model_zoo/__init__.py b/iChat/models/grit_src/third_party/CenterNet2/detectron2/model_zoo/__init__.py
deleted file mode 100644
index 6204208198d813728cf6419e8eef4a733f20c18f..0000000000000000000000000000000000000000
--- a/iChat/models/grit_src/third_party/CenterNet2/detectron2/model_zoo/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright (c) Facebook, Inc. and its affiliates.
-"""
-Model Zoo API for Detectron2: a collection of functions to create common model architectures
-listed in `MODEL_ZOO.md `_,
-and optionally load their pre-trained weights.
-"""
-
-from .model_zoo import get, get_config_file, get_checkpoint_url, get_config
-
-__all__ = ["get_checkpoint_url", "get", "get_config_file", "get_config"]
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/model_zoo/model_zoo.py b/iChat/models/grit_src/third_party/CenterNet2/detectron2/model_zoo/model_zoo.py
deleted file mode 100644
index 5b90bc9a165ea46ada72ed0e71f1e80e71ea9f40..0000000000000000000000000000000000000000
--- a/iChat/models/grit_src/third_party/CenterNet2/detectron2/model_zoo/model_zoo.py
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright (c) Facebook, Inc. and its affiliates.
-import os
-from typing import Optional
-import pkg_resources
-import torch
-
-from detectron2.checkpoint import DetectionCheckpointer
-from detectron2.config import CfgNode, LazyConfig, get_cfg, instantiate
-from detectron2.modeling import build_model
-
-
-class _ModelZooUrls(object):
- """
- Mapping from names to officially released Detectron2 pre-trained models.
- """
-
- S3_PREFIX = "https://dl.fbaipublicfiles.com/detectron2/"
-
- # format: {config_path.yaml} -> model_id/model_final_{commit}.pkl
- CONFIG_PATH_TO_URL_SUFFIX = {
- # COCO Detection with Faster R-CNN
- "COCO-Detection/faster_rcnn_R_50_C4_1x": "137257644/model_final_721ade.pkl",
- "COCO-Detection/faster_rcnn_R_50_DC5_1x": "137847829/model_final_51d356.pkl",
- "COCO-Detection/faster_rcnn_R_50_FPN_1x": "137257794/model_final_b275ba.pkl",
- "COCO-Detection/faster_rcnn_R_50_C4_3x": "137849393/model_final_f97cb7.pkl",
- "COCO-Detection/faster_rcnn_R_50_DC5_3x": "137849425/model_final_68d202.pkl",
- "COCO-Detection/faster_rcnn_R_50_FPN_3x": "137849458/model_final_280758.pkl",
- "COCO-Detection/faster_rcnn_R_101_C4_3x": "138204752/model_final_298dad.pkl",
- "COCO-Detection/faster_rcnn_R_101_DC5_3x": "138204841/model_final_3e0943.pkl",
- "COCO-Detection/faster_rcnn_R_101_FPN_3x": "137851257/model_final_f6e8b1.pkl",
- "COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x": "139173657/model_final_68b088.pkl",
- # COCO Detection with RetinaNet
- "COCO-Detection/retinanet_R_50_FPN_1x": "190397773/model_final_bfca0b.pkl",
- "COCO-Detection/retinanet_R_50_FPN_3x": "190397829/model_final_5bd44e.pkl",
- "COCO-Detection/retinanet_R_101_FPN_3x": "190397697/model_final_971ab9.pkl",
- # COCO Detection with RPN and Fast R-CNN
- "COCO-Detection/rpn_R_50_C4_1x": "137258005/model_final_450694.pkl",
- "COCO-Detection/rpn_R_50_FPN_1x": "137258492/model_final_02ce48.pkl",
- "COCO-Detection/fast_rcnn_R_50_FPN_1x": "137635226/model_final_e5f7ce.pkl",
- # COCO Instance Segmentation Baselines with Mask R-CNN
- "COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x": "137259246/model_final_9243eb.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x": "137260150/model_final_4f86c3.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x": "137260431/model_final_a54504.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x": "137849525/model_final_4ce675.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x": "137849551/model_final_84107b.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x": "137849600/model_final_f10217.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x": "138363239/model_final_a2914c.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x": "138363294/model_final_0464b7.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x": "138205316/model_final_a3ec72.pkl",
- "COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x": "139653917/model_final_2d9806.pkl", # noqa
- # New baselines using Large-Scale Jitter and Longer Training Schedule
- "new_baselines/mask_rcnn_R_50_FPN_100ep_LSJ": "42047764/model_final_bb69de.pkl",
- "new_baselines/mask_rcnn_R_50_FPN_200ep_LSJ": "42047638/model_final_89a8d3.pkl",
- "new_baselines/mask_rcnn_R_50_FPN_400ep_LSJ": "42019571/model_final_14d201.pkl",
- "new_baselines/mask_rcnn_R_101_FPN_100ep_LSJ": "42025812/model_final_4f7b58.pkl",
- "new_baselines/mask_rcnn_R_101_FPN_200ep_LSJ": "42131867/model_final_0bb7ae.pkl",
- "new_baselines/mask_rcnn_R_101_FPN_400ep_LSJ": "42073830/model_final_f96b26.pkl",
- "new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_100ep_LSJ": "42047771/model_final_b7fbab.pkl", # noqa
- "new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_200ep_LSJ": "42132721/model_final_5d87c1.pkl", # noqa
- "new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_400ep_LSJ": "42025447/model_final_f1362d.pkl", # noqa
- "new_baselines/mask_rcnn_regnety_4gf_dds_FPN_100ep_LSJ": "42047784/model_final_6ba57e.pkl", # noqa
- "new_baselines/mask_rcnn_regnety_4gf_dds_FPN_200ep_LSJ": "42047642/model_final_27b9c1.pkl", # noqa
- "new_baselines/mask_rcnn_regnety_4gf_dds_FPN_400ep_LSJ": "42045954/model_final_ef3a80.pkl", # noqa
- # COCO Person Keypoint Detection Baselines with Keypoint R-CNN
- "COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x": "137261548/model_final_04e291.pkl",
- "COCO-Keypoints/keypoint_rcnn_R_50_FPN_3x": "137849621/model_final_a6e10b.pkl",
- "COCO-Keypoints/keypoint_rcnn_R_101_FPN_3x": "138363331/model_final_997cc7.pkl",
- "COCO-Keypoints/keypoint_rcnn_X_101_32x8d_FPN_3x": "139686956/model_final_5ad38f.pkl",
- # COCO Panoptic Segmentation Baselines with Panoptic FPN
- "COCO-PanopticSegmentation/panoptic_fpn_R_50_1x": "139514544/model_final_dbfeb4.pkl",
- "COCO-PanopticSegmentation/panoptic_fpn_R_50_3x": "139514569/model_final_c10459.pkl",
- "COCO-PanopticSegmentation/panoptic_fpn_R_101_3x": "139514519/model_final_cafdb1.pkl",
- # LVIS Instance Segmentation Baselines with Mask R-CNN
- "LVISv0.5-InstanceSegmentation/mask_rcnn_R_50_FPN_1x": "144219072/model_final_571f7c.pkl", # noqa
- "LVISv0.5-InstanceSegmentation/mask_rcnn_R_101_FPN_1x": "144219035/model_final_824ab5.pkl", # noqa
- "LVISv0.5-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x": "144219108/model_final_5e3439.pkl", # noqa
- # Cityscapes & Pascal VOC Baselines
- "Cityscapes/mask_rcnn_R_50_FPN": "142423278/model_final_af9cf5.pkl",
- "PascalVOC-Detection/faster_rcnn_R_50_C4": "142202221/model_final_b1acc2.pkl",
- # Other Settings
- "Misc/mask_rcnn_R_50_FPN_1x_dconv_c3-c5": "138602867/model_final_65c703.pkl",
- "Misc/mask_rcnn_R_50_FPN_3x_dconv_c3-c5": "144998336/model_final_821d0b.pkl",
- "Misc/cascade_mask_rcnn_R_50_FPN_1x": "138602847/model_final_e9d89b.pkl",
- "Misc/cascade_mask_rcnn_R_50_FPN_3x": "144998488/model_final_480dd8.pkl",
- "Misc/mask_rcnn_R_50_FPN_3x_syncbn": "169527823/model_final_3b3c51.pkl",
- "Misc/mask_rcnn_R_50_FPN_3x_gn": "138602888/model_final_dc5d9e.pkl",
- "Misc/scratch_mask_rcnn_R_50_FPN_3x_gn": "138602908/model_final_01ca85.pkl",
- "Misc/scratch_mask_rcnn_R_50_FPN_9x_gn": "183808979/model_final_da7b4c.pkl",
- "Misc/scratch_mask_rcnn_R_50_FPN_9x_syncbn": "184226666/model_final_5ce33e.pkl",
- "Misc/panoptic_fpn_R_101_dconv_cascade_gn_3x": "139797668/model_final_be35db.pkl",
- "Misc/cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv": "18131413/model_0039999_e76410.pkl", # noqa
- # D1 Comparisons
- "Detectron1-Comparisons/faster_rcnn_R_50_FPN_noaug_1x": "137781054/model_final_7ab50c.pkl", # noqa
- "Detectron1-Comparisons/mask_rcnn_R_50_FPN_noaug_1x": "137781281/model_final_62ca52.pkl", # noqa
- "Detectron1-Comparisons/keypoint_rcnn_R_50_FPN_1x": "137781195/model_final_cce136.pkl",
- }
-
- @staticmethod
- def query(config_path: str) -> Optional[str]:
- """
- Args:
- config_path: relative config filename
- """
- name = config_path.replace(".yaml", "").replace(".py", "")
- if name in _ModelZooUrls.CONFIG_PATH_TO_URL_SUFFIX:
- suffix = _ModelZooUrls.CONFIG_PATH_TO_URL_SUFFIX[name]
- return _ModelZooUrls.S3_PREFIX + name + "/" + suffix
- return None
-
-
-def get_checkpoint_url(config_path):
- """
- Returns the URL to the model trained using the given config
-
- Args:
- config_path (str): config file name relative to detectron2's "configs/"
- directory, e.g., "COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml"
-
- Returns:
- str: a URL to the model
- """
- url = _ModelZooUrls.query(config_path)
- if url is None:
- raise RuntimeError("Pretrained model for {} is not available!".format(config_path))
- return url
-
-
-def get_config_file(config_path):
- """
- Returns path to a builtin config file.
-
- Args:
- config_path (str): config file name relative to detectron2's "configs/"
- directory, e.g., "COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml"
-
- Returns:
- str: the real path to the config file.
- """
- cfg_file = pkg_resources.resource_filename(
- "detectron2.model_zoo", os.path.join("configs", config_path)
- )
- if not os.path.exists(cfg_file):
- raise RuntimeError("{} not available in Model Zoo!".format(config_path))
- return cfg_file
-
-
-def get_config(config_path, trained: bool = False):
- """
- Returns a config object for a model in model zoo.
-
- Args:
- config_path (str): config file name relative to detectron2's "configs/"
- directory, e.g., "COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml"
- trained (bool): If True, will set ``MODEL.WEIGHTS`` to trained model zoo weights.
- If False, the checkpoint specified in the config file's ``MODEL.WEIGHTS`` is used
- instead; this will typically (though not always) initialize a subset of weights using
- an ImageNet pre-trained model, while randomly initializing the other weights.
-
- Returns:
- CfgNode or omegaconf.DictConfig: a config object
- """
- cfg_file = get_config_file(config_path)
- if cfg_file.endswith(".yaml"):
- cfg = get_cfg()
- cfg.merge_from_file(cfg_file)
- if trained:
- cfg.MODEL.WEIGHTS = get_checkpoint_url(config_path)
- return cfg
- elif cfg_file.endswith(".py"):
- cfg = LazyConfig.load(cfg_file)
- if trained:
- url = get_checkpoint_url(config_path)
- if "train" in cfg and "init_checkpoint" in cfg.train:
- cfg.train.init_checkpoint = url
- else:
- raise NotImplementedError
- return cfg
-
-
-def get(config_path, trained: bool = False, device: Optional[str] = None):
- """
- Get a model specified by relative path under Detectron2's official ``configs/`` directory.
-
- Args:
- config_path (str): config file name relative to detectron2's "configs/"
- directory, e.g., "COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml"
- trained (bool): see :func:`get_config`.
- device (str or None): overwrite the device in config, if given.
-
- Returns:
- nn.Module: a detectron2 model. Will be in training mode.
-
- Example:
- ::
- from detectron2 import model_zoo
- model = model_zoo.get("COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml", trained=True)
- """
- cfg = get_config(config_path, trained)
- if device is None and not torch.cuda.is_available():
- device = "cpu"
- if device is not None and isinstance(cfg, CfgNode):
- cfg.MODEL.DEVICE = device
-
- if isinstance(cfg, CfgNode):
- model = build_model(cfg)
- DetectionCheckpointer(model).load(cfg.MODEL.WEIGHTS)
- else:
- model = instantiate(cfg.model)
- if device is not None:
- model = model.to(device)
- if "train" in cfg and "init_checkpoint" in cfg.train:
- DetectionCheckpointer(model).load(cfg.train.init_checkpoint)
- return model
diff --git a/iChat/__init__.py b/iGPT/__init__.py
similarity index 100%
rename from iChat/__init__.py
rename to iGPT/__init__.py
diff --git a/iChat/chatbot/__init__.py b/iGPT/chatbot/__init__.py
similarity index 100%
rename from iChat/chatbot/__init__.py
rename to iGPT/chatbot/__init__.py
diff --git a/iChat/chatbot/chatbot.py b/iGPT/chatbot/chatbot.py
similarity index 100%
rename from iChat/chatbot/chatbot.py
rename to iGPT/chatbot/chatbot.py
diff --git a/iChat/models/__init__.py b/iGPT/models/__init__.py
similarity index 100%
rename from iChat/models/__init__.py
rename to iGPT/models/__init__.py
diff --git a/iChat/models/grit_model.py b/iGPT/models/grit_model.py
similarity index 100%
rename from iChat/models/grit_model.py
rename to iGPT/models/grit_model.py
diff --git a/iChat/models/grit_src/configs/Base.yaml b/iGPT/models/grit_src/configs/Base.yaml
similarity index 100%
rename from iChat/models/grit_src/configs/Base.yaml
rename to iGPT/models/grit_src/configs/Base.yaml
diff --git a/iChat/models/grit_src/configs/GRiT_B_DenseCap.yaml b/iGPT/models/grit_src/configs/GRiT_B_DenseCap.yaml
similarity index 100%
rename from iChat/models/grit_src/configs/GRiT_B_DenseCap.yaml
rename to iGPT/models/grit_src/configs/GRiT_B_DenseCap.yaml
diff --git a/iChat/models/grit_src/configs/GRiT_B_DenseCap_ObjectDet.yaml b/iGPT/models/grit_src/configs/GRiT_B_DenseCap_ObjectDet.yaml
similarity index 100%
rename from iChat/models/grit_src/configs/GRiT_B_DenseCap_ObjectDet.yaml
rename to iGPT/models/grit_src/configs/GRiT_B_DenseCap_ObjectDet.yaml
diff --git a/iChat/models/grit_src/configs/GRiT_B_ObjectDet.yaml b/iGPT/models/grit_src/configs/GRiT_B_ObjectDet.yaml
similarity index 100%
rename from iChat/models/grit_src/configs/GRiT_B_ObjectDet.yaml
rename to iGPT/models/grit_src/configs/GRiT_B_ObjectDet.yaml
diff --git a/iChat/models/grit_src/configs/GRiT_H_ObjectDet.yaml b/iGPT/models/grit_src/configs/GRiT_H_ObjectDet.yaml
similarity index 100%
rename from iChat/models/grit_src/configs/GRiT_H_ObjectDet.yaml
rename to iGPT/models/grit_src/configs/GRiT_H_ObjectDet.yaml
diff --git a/iChat/models/grit_src/configs/GRiT_L_ObjectDet.yaml b/iGPT/models/grit_src/configs/GRiT_L_ObjectDet.yaml
similarity index 100%
rename from iChat/models/grit_src/configs/GRiT_L_ObjectDet.yaml
rename to iGPT/models/grit_src/configs/GRiT_L_ObjectDet.yaml
diff --git a/iChat/models/grit_src/grit/__init__.py b/iGPT/models/grit_src/grit/__init__.py
similarity index 100%
rename from iChat/models/grit_src/grit/__init__.py
rename to iGPT/models/grit_src/grit/__init__.py
diff --git a/iChat/models/grit_src/grit/config.py b/iGPT/models/grit_src/grit/config.py
similarity index 100%
rename from iChat/models/grit_src/grit/config.py
rename to iGPT/models/grit_src/grit/config.py
diff --git a/iChat/models/grit_src/grit/custom_solver.py b/iGPT/models/grit_src/grit/custom_solver.py
similarity index 100%
rename from iChat/models/grit_src/grit/custom_solver.py
rename to iGPT/models/grit_src/grit/custom_solver.py
diff --git a/iChat/models/grit_src/grit/data/custom_build_augmentation.py b/iGPT/models/grit_src/grit/data/custom_build_augmentation.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/custom_build_augmentation.py
rename to iGPT/models/grit_src/grit/data/custom_build_augmentation.py
diff --git a/iChat/models/grit_src/grit/data/custom_dataset_dataloader.py b/iGPT/models/grit_src/grit/data/custom_dataset_dataloader.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/custom_dataset_dataloader.py
rename to iGPT/models/grit_src/grit/data/custom_dataset_dataloader.py
diff --git a/iChat/models/grit_src/grit/data/custom_dataset_mapper.py b/iGPT/models/grit_src/grit/data/custom_dataset_mapper.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/custom_dataset_mapper.py
rename to iGPT/models/grit_src/grit/data/custom_dataset_mapper.py
diff --git a/iChat/models/grit_src/grit/data/datasets/grit_coco.py b/iGPT/models/grit_src/grit/data/datasets/grit_coco.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/datasets/grit_coco.py
rename to iGPT/models/grit_src/grit/data/datasets/grit_coco.py
diff --git a/iChat/models/grit_src/grit/data/datasets/object365.py b/iGPT/models/grit_src/grit/data/datasets/object365.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/datasets/object365.py
rename to iGPT/models/grit_src/grit/data/datasets/object365.py
diff --git a/iChat/models/grit_src/grit/data/datasets/vg.py b/iGPT/models/grit_src/grit/data/datasets/vg.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/datasets/vg.py
rename to iGPT/models/grit_src/grit/data/datasets/vg.py
diff --git a/iChat/models/grit_src/grit/data/transforms/custom_augmentation_impl.py b/iGPT/models/grit_src/grit/data/transforms/custom_augmentation_impl.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/transforms/custom_augmentation_impl.py
rename to iGPT/models/grit_src/grit/data/transforms/custom_augmentation_impl.py
diff --git a/iChat/models/grit_src/grit/data/transforms/custom_transform.py b/iGPT/models/grit_src/grit/data/transforms/custom_transform.py
similarity index 100%
rename from iChat/models/grit_src/grit/data/transforms/custom_transform.py
rename to iGPT/models/grit_src/grit/data/transforms/custom_transform.py
diff --git a/iChat/models/grit_src/grit/evaluation/eval.py b/iGPT/models/grit_src/grit/evaluation/eval.py
similarity index 100%
rename from iChat/models/grit_src/grit/evaluation/eval.py
rename to iGPT/models/grit_src/grit/evaluation/eval.py
diff --git a/iChat/models/grit_src/grit/modeling/backbone/utils.py b/iGPT/models/grit_src/grit/modeling/backbone/utils.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/backbone/utils.py
rename to iGPT/models/grit_src/grit/modeling/backbone/utils.py
diff --git a/iChat/models/grit_src/grit/modeling/backbone/vit.py b/iGPT/models/grit_src/grit/modeling/backbone/vit.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/backbone/vit.py
rename to iGPT/models/grit_src/grit/modeling/backbone/vit.py
diff --git a/iChat/models/grit_src/grit/modeling/meta_arch/grit.py b/iGPT/models/grit_src/grit/modeling/meta_arch/grit.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/meta_arch/grit.py
rename to iGPT/models/grit_src/grit/modeling/meta_arch/grit.py
diff --git a/iChat/models/grit_src/grit/modeling/roi_heads/grit_fast_rcnn.py b/iGPT/models/grit_src/grit/modeling/roi_heads/grit_fast_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/roi_heads/grit_fast_rcnn.py
rename to iGPT/models/grit_src/grit/modeling/roi_heads/grit_fast_rcnn.py
diff --git a/iChat/models/grit_src/grit/modeling/roi_heads/grit_roi_heads.py b/iGPT/models/grit_src/grit/modeling/roi_heads/grit_roi_heads.py
similarity index 99%
rename from iChat/models/grit_src/grit/modeling/roi_heads/grit_roi_heads.py
rename to iGPT/models/grit_src/grit/modeling/roi_heads/grit_roi_heads.py
index c67354bde77e81c1334e7f6846a753ee13f89b41..fb568276a88acc918e5df4e61e4a65feff887c18 100644
--- a/iChat/models/grit_src/grit/modeling/roi_heads/grit_roi_heads.py
+++ b/iGPT/models/grit_src/grit/modeling/roi_heads/grit_roi_heads.py
@@ -16,7 +16,7 @@ from .grit_fast_rcnn import GRiTFastRCNNOutputLayers
from ..text.text_decoder import TransformerDecoderTextualHead, GRiTTextDecoder, AutoRegressiveBeamSearch
from ..text.load_text_token import LoadTextTokens
from transformers import BertTokenizer
-from iChat.models.grit_src.grit.data.custom_dataset_mapper import ObjDescription
+from iGPT.models.grit_src.grit.data.custom_dataset_mapper import ObjDescription
from ..soft_nms import batched_soft_nms
import logging
diff --git a/iChat/models/grit_src/grit/modeling/soft_nms.py b/iGPT/models/grit_src/grit/modeling/soft_nms.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/soft_nms.py
rename to iGPT/models/grit_src/grit/modeling/soft_nms.py
diff --git a/iChat/models/grit_src/grit/modeling/text/file_utils.py b/iGPT/models/grit_src/grit/modeling/text/file_utils.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/text/file_utils.py
rename to iGPT/models/grit_src/grit/modeling/text/file_utils.py
diff --git a/iChat/models/grit_src/grit/modeling/text/load_text_token.py b/iGPT/models/grit_src/grit/modeling/text/load_text_token.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/text/load_text_token.py
rename to iGPT/models/grit_src/grit/modeling/text/load_text_token.py
diff --git a/iChat/models/grit_src/grit/modeling/text/modeling_bert.py b/iGPT/models/grit_src/grit/modeling/text/modeling_bert.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/text/modeling_bert.py
rename to iGPT/models/grit_src/grit/modeling/text/modeling_bert.py
diff --git a/iChat/models/grit_src/grit/modeling/text/text_decoder.py b/iGPT/models/grit_src/grit/modeling/text/text_decoder.py
similarity index 100%
rename from iChat/models/grit_src/grit/modeling/text/text_decoder.py
rename to iGPT/models/grit_src/grit/modeling/text/text_decoder.py
diff --git a/iChat/models/grit_src/grit/predictor.py b/iGPT/models/grit_src/grit/predictor.py
similarity index 100%
rename from iChat/models/grit_src/grit/predictor.py
rename to iGPT/models/grit_src/grit/predictor.py
diff --git a/iChat/models/grit_src/image_dense_captions.py b/iGPT/models/grit_src/image_dense_captions.py
similarity index 89%
rename from iChat/models/grit_src/image_dense_captions.py
rename to iGPT/models/grit_src/image_dense_captions.py
index f52763ce36827ccbcdbf27840163371fc98d805e..527a72eb75b75d2d636c9ae4e9d6e04d0346044a 100644
--- a/iChat/models/grit_src/image_dense_captions.py
+++ b/iGPT/models/grit_src/image_dense_captions.py
@@ -10,7 +10,7 @@ from detectron2.config import get_cfg
from detectron2.data.detection_utils import read_image
from detectron2.utils.logger import setup_logger
-sys.path.insert(0, 'iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/')
+sys.path.insert(0, 'iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/')
from centernet.config import add_centernet_config
from ..grit_src.grit.config import add_grit_config
@@ -58,7 +58,7 @@ def setup_cfg(args):
return cfg
def get_parser(device):
- arg_dict = {'config_file': "iChat/models/grit_src/configs/GRiT_B_DenseCap_ObjectDet.yaml", 'device': device, 'confidence_threshold': 0.5, 'test_task': 'DenseCap', 'opts': ["MODEL.WEIGHTS", "model_zoo/grit_b_densecap_objectdet.pth"]}
+ arg_dict = {'config_file': "iGPT/models/grit_src/configs/GRiT_B_DenseCap_ObjectDet.yaml", 'device': device, 'confidence_threshold': 0.5, 'test_task': 'DenseCap', 'opts': ["MODEL.WEIGHTS", "model_zoo/grit_b_densecap_objectdet.pth"]}
return arg_dict
def image_caption_api(image_src, device):
diff --git a/iChat/models/grit_src/third_party/CenterNet2/.circleci/config.yml b/iGPT/models/grit_src/third_party/CenterNet2/.circleci/config.yml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/.circleci/config.yml
rename to iGPT/models/grit_src/third_party/CenterNet2/.circleci/config.yml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/.clang-format b/iGPT/models/grit_src/third_party/CenterNet2/.clang-format
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/.clang-format
rename to iGPT/models/grit_src/third_party/CenterNet2/.clang-format
diff --git a/iChat/models/grit_src/third_party/CenterNet2/.flake8 b/iGPT/models/grit_src/third_party/CenterNet2/.flake8
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/.flake8
rename to iGPT/models/grit_src/third_party/CenterNet2/.flake8
diff --git a/iChat/models/grit_src/third_party/CenterNet2/.gitignore b/iGPT/models/grit_src/third_party/CenterNet2/.gitignore
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/.gitignore
rename to iGPT/models/grit_src/third_party/CenterNet2/.gitignore
diff --git a/iChat/models/grit_src/third_party/CenterNet2/GETTING_STARTED.md b/iGPT/models/grit_src/third_party/CenterNet2/GETTING_STARTED.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/GETTING_STARTED.md
rename to iGPT/models/grit_src/third_party/CenterNet2/GETTING_STARTED.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/INSTALL.md b/iGPT/models/grit_src/third_party/CenterNet2/INSTALL.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/INSTALL.md
rename to iGPT/models/grit_src/third_party/CenterNet2/INSTALL.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/LICENSE b/iGPT/models/grit_src/third_party/CenterNet2/LICENSE
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/LICENSE
rename to iGPT/models/grit_src/third_party/CenterNet2/LICENSE
diff --git a/iChat/models/grit_src/third_party/CenterNet2/MODEL_ZOO.md b/iGPT/models/grit_src/third_party/CenterNet2/MODEL_ZOO.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/MODEL_ZOO.md
rename to iGPT/models/grit_src/third_party/CenterNet2/MODEL_ZOO.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/README.md b/iGPT/models/grit_src/third_party/CenterNet2/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/README_D2.md b/iGPT/models/grit_src/third_party/CenterNet2/README_D2.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/README_D2.md
rename to iGPT/models/grit_src/third_party/CenterNet2/README_D2.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-C4.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-C4.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-C4.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-C4.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-DilatedC5.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-DilatedC5.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-DilatedC5.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-DilatedC5.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-FPN.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-FPN.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-FPN.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RCNN-FPN.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Base-RetinaNet.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RetinaNet.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Base-RetinaNet.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Base-RetinaNet.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fast_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fast_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fast_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fast_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_C4_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_C4_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_C4_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_C4_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_DC5_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_DC5_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_DC5_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_DC5_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_C4_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_DC5_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fcos_R_50_FPN_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fcos_R_50_FPN_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fcos_R_50_FPN_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/fcos_R_50_FPN_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_101_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_C4_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_C4_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_C4_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_C4_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Detection/rpn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_C4_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_DC5_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_101_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_DC5_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x_giou.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnetx_4gf_dds_fpn_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnetx_4gf_dds_fpn_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnetx_4gf_dds_fpn_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnetx_4gf_dds_fpn_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnety_4gf_dds_fpn_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnety_4gf_dds_fpn_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnety_4gf_dds_fpn_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnety_4gf_dds_fpn_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/Base-Keypoint-RCNN-FPN.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/Base-Keypoint-RCNN-FPN.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/Base-Keypoint-RCNN-FPN.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/Base-Keypoint-RCNN-FPN.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_101_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_101_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_101_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_101_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_X_101_32x8d_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_X_101_32x8d_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_X_101_32x8d_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_X_101_32x8d_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/Base-Panoptic-FPN.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/Base-Panoptic-FPN.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/Base-Panoptic-FPN.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/Base-Panoptic-FPN.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_101_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_101_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_101_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_101_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Cityscapes/mask_rcnn_R_50_FPN.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Cityscapes/mask_rcnn_R_50_FPN.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Cityscapes/mask_rcnn_R_50_FPN.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Cityscapes/mask_rcnn_R_50_FPN.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/README.md b/iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/faster_rcnn_R_50_FPN_noaug_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/faster_rcnn_R_50_FPN_noaug_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/faster_rcnn_R_50_FPN_noaug_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/faster_rcnn_R_50_FPN_noaug_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/keypoint_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/keypoint_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/keypoint_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/keypoint_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/mask_rcnn_R_50_FPN_noaug_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/mask_rcnn_R_50_FPN_noaug_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/mask_rcnn_R_50_FPN_noaug_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Detectron1-Comparisons/mask_rcnn_R_50_FPN_noaug_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv0.5-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_101_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/LVISv1-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_R_50_FPN_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_gn.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_gn.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_gn.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_gn.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_syncbn.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_syncbn.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_syncbn.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mask_rcnn_R_50_FPN_3x_syncbn.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mmdet_mask_rcnn_R_50_FPN_1x.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mmdet_mask_rcnn_R_50_FPN_1x.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/mmdet_mask_rcnn_R_50_FPN_1x.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/mmdet_mask_rcnn_R_50_FPN_1x.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_3x_gn.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_3x_gn.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_3x_gn.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_3x_gn.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_gn.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_gn.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_gn.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_gn.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/semantic_R_50_FPN_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/semantic_R_50_FPN_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/semantic_R_50_FPN_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/semantic_R_50_FPN_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/Misc/torchvision_imagenet_R_50.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/torchvision_imagenet_R_50.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/Misc/torchvision_imagenet_R_50.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/Misc/torchvision_imagenet_R_50.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_C4.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_C4.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_C4.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_C4.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_FPN.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_FPN.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_FPN.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/PascalVOC-Detection/faster_rcnn_R_50_FPN.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/README.md b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/coco_schedule.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/coco_schedule.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/coco_schedule.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/coco_schedule.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/data/coco_keypoint.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/data/coco_keypoint.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/data/coco_keypoint.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/data/coco_keypoint.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/data/coco_panoptic_separated.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/data/coco_panoptic_separated.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/data/coco_panoptic_separated.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/data/coco_panoptic_separated.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/cascade_rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/cascade_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/cascade_rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/cascade_rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/fcos.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/fcos.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/fcos.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/fcos.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/keypoint_rcnn_fpn.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/keypoint_rcnn_fpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/keypoint_rcnn_fpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/keypoint_rcnn_fpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_c4.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_c4.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_c4.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_c4.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_fpn.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_fpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_fpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/mask_rcnn_fpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/panoptic_fpn.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/panoptic_fpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/panoptic_fpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/panoptic_fpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/models/retinanet.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/retinanet.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/models/retinanet.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/models/retinanet.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/optim.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/optim.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/optim.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/optim.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/common/train.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/common/train.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/common/train.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/common/train.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_100ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_100ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_100ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_100ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_200ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_200ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_200ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_200ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_400ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_400ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_400ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_101_FPN_400ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_100ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_100ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_100ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_100ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_200ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_200ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_200ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_200ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_400ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_400ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_400ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_400ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_50ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_50ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_50ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_R_50_FPN_50ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_100ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_100ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_100ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_100ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_200ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_200ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_200ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_200ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_400ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_400ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_400ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnetx_4gf_dds_FPN_400ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_100ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_100ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_100ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_100ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_200ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_200ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_200ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_200ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_400ep_LSJ.py b/iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_400ep_LSJ.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_400ep_LSJ.py
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/new_baselines/mask_rcnn_regnety_4gf_dds_FPN_400ep_LSJ.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/README.md b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/cascade_mask_rcnn_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/fast_rcnn_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/keypoint_rcnn_R_50_FPN_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_GCV_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_GCV_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_GCV_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_GCV_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_C4_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_DC5_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_DC5_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_DC5_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_DC5_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/mask_rcnn_R_50_FPN_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/panoptic_fpn_R_50_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/retinanet_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/rpn_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_inference_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_inference_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_inference_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_inference_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_instant_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_instant_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_instant_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_instant_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_training_acc_test.yaml b/iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_training_acc_test.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_training_acc_test.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/configs/quick_schedules/semantic_R_50_FPN_training_acc_test.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/datasets/README.md b/iGPT/models/grit_src/third_party/CenterNet2/datasets/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/datasets/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/datasets/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/datasets/lvis/lvis_v1_train_cat_info.json b/iGPT/models/grit_src/third_party/CenterNet2/datasets/lvis/lvis_v1_train_cat_info.json
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/datasets/lvis/lvis_v1_train_cat_info.json
rename to iGPT/models/grit_src/third_party/CenterNet2/datasets/lvis/lvis_v1_train_cat_info.json
diff --git a/iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_ade20k_sem_seg.py b/iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_ade20k_sem_seg.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_ade20k_sem_seg.py
rename to iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_ade20k_sem_seg.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_cocofied_lvis.py b/iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_cocofied_lvis.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_cocofied_lvis.py
rename to iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_cocofied_lvis.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_for_tests.sh b/iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_for_tests.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_for_tests.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_for_tests.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_panoptic_fpn.py b/iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_panoptic_fpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/datasets/prepare_panoptic_fpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/datasets/prepare_panoptic_fpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/demo/README.md b/iGPT/models/grit_src/third_party/CenterNet2/demo/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/demo/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/demo/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/demo/demo.py b/iGPT/models/grit_src/third_party/CenterNet2/demo/demo.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/demo/demo.py
rename to iGPT/models/grit_src/third_party/CenterNet2/demo/demo.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/demo/predictor.py b/iGPT/models/grit_src/third_party/CenterNet2/demo/predictor.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/demo/predictor.py
rename to iGPT/models/grit_src/third_party/CenterNet2/demo/predictor.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/c2_model_loading.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/c2_model_loading.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/c2_model_loading.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/c2_model_loading.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/catalog.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/catalog.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/catalog.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/catalog.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/detection_checkpoint.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/detection_checkpoint.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/detection_checkpoint.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/checkpoint/detection_checkpoint.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/config/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/config/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/config/compat.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/compat.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/config/compat.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/compat.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/config/config.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/config.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/config/config.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/config.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/config/defaults.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/defaults.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/config/defaults.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/defaults.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/config/instantiate.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/instantiate.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/config/instantiate.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/instantiate.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/config/lazy.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/lazy.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/config/lazy.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/config/lazy.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/benchmark.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/benchmark.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/benchmark.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/benchmark.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/build.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/build.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/build.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/build.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/catalog.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/catalog.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/catalog.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/catalog.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/common.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/common.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/common.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/common.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/dataset_mapper.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/dataset_mapper.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/dataset_mapper.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/dataset_mapper.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/README.md b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin_meta.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin_meta.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin_meta.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/builtin_meta.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes_panoptic.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes_panoptic.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes_panoptic.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/cityscapes_panoptic.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco_panoptic.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco_panoptic.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco_panoptic.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/coco_panoptic.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v0_5_categories.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v0_5_categories.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v0_5_categories.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v0_5_categories.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v1_categories.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v1_categories.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v1_categories.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/lvis_v1_categories.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/pascal_voc.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/pascal_voc.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/pascal_voc.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/pascal_voc.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/register_coco.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/register_coco.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/register_coco.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/register_coco.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/detection_utils.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/detection_utils.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/detection_utils.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/detection_utils.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/distributed_sampler.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/distributed_sampler.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/distributed_sampler.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/distributed_sampler.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/grouped_batch_sampler.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/grouped_batch_sampler.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/grouped_batch_sampler.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/samplers/grouped_batch_sampler.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation_impl.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation_impl.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation_impl.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/augmentation_impl.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/transform.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/transform.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/transform.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/data/transforms/transform.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/defaults.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/defaults.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/defaults.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/defaults.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/hooks.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/hooks.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/hooks.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/hooks.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/launch.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/launch.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/launch.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/launch.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/train_loop.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/train_loop.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/engine/train_loop.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/engine/train_loop.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/cityscapes_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/cityscapes_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/cityscapes_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/cityscapes_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/coco_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/coco_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/coco_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/coco_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/evaluator.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/evaluator.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/evaluator.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/evaluator.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/fast_eval_api.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/fast_eval_api.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/fast_eval_api.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/fast_eval_api.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/lvis_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/lvis_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/lvis_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/lvis_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/panoptic_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/panoptic_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/panoptic_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/panoptic_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/pascal_voc_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/pascal_voc_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/pascal_voc_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/pascal_voc_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/rotated_coco_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/rotated_coco_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/rotated_coco_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/rotated_coco_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/sem_seg_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/sem_seg_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/sem_seg_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/sem_seg_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/testing.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/testing.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/evaluation/testing.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/evaluation/testing.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/README.md b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/api.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/api.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/api.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/api.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/c10.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/c10.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/c10.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/c10.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_export.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_export.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_export.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_export.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_inference.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_inference.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_inference.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_inference.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_modeling.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_modeling.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_modeling.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_modeling.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_patch.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_patch.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_patch.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/caffe2_patch.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/flatten.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/flatten.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/flatten.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/flatten.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/shared.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/shared.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/shared.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/shared.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript_patch.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript_patch.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript_patch.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/export/torchscript_patch.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/aspp.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/aspp.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/aspp.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/aspp.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/batch_norm.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/batch_norm.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/batch_norm.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/batch_norm.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/blocks.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/blocks.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/blocks.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/blocks.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/README.md b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.cpp b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.cpp
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.cpp
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.cpp
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.h b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.h
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.h
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cocoeval/cocoeval.h
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cuda_version.cu b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cuda_version.cu
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cuda_version.cu
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/cuda_version.cu
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv.h b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv.h
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv.h
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv.h
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated.h b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated.h
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated.h
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated.h
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/vision.cpp b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/vision.cpp
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/vision.cpp
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/csrc/vision.cpp
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/deform_conv.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/deform_conv.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/deform_conv.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/deform_conv.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/losses.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/losses.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/losses.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/losses.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/mask_ops.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/mask_ops.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/mask_ops.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/mask_ops.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/nms.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/nms.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/nms.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/nms.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align_rotated.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align_rotated.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align_rotated.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/roi_align_rotated.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/rotated_boxes.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/rotated_boxes.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/rotated_boxes.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/rotated_boxes.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/shape_spec.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/shape_spec.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/shape_spec.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/shape_spec.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/wrappers.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/wrappers.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/layers/wrappers.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/layers/wrappers.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/anchor_generator.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/anchor_generator.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/anchor_generator.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/anchor_generator.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/backbone.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/backbone.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/backbone.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/backbone.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/build.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/build.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/build.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/build.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/fpn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/fpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/fpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/fpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/regnet.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/regnet.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/regnet.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/regnet.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/resnet.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/resnet.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/resnet.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/backbone/resnet.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/box_regression.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/box_regression.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/box_regression.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/box_regression.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/matcher.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/matcher.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/matcher.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/matcher.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/build.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/build.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/build.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/build.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/dense_detector.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/dense_detector.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/dense_detector.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/dense_detector.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/fcos.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/fcos.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/fcos.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/fcos.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/panoptic_fpn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/panoptic_fpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/panoptic_fpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/panoptic_fpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/retinanet.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/retinanet.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/retinanet.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/retinanet.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/semantic_seg.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/semantic_seg.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/semantic_seg.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/meta_arch/semantic_seg.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/mmdet_wrapper.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/mmdet_wrapper.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/mmdet_wrapper.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/mmdet_wrapper.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/poolers.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/poolers.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/poolers.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/poolers.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/postprocessing.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/postprocessing.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/postprocessing.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/postprocessing.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/build.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/build.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/build.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/build.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/proposal_utils.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/proposal_utils.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/proposal_utils.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/proposal_utils.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rpn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rrpn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rrpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rrpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/proposal_generator/rrpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/box_head.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/box_head.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/box_head.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/box_head.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/cascade_rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/cascade_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/cascade_rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/cascade_rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/fast_rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/fast_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/fast_rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/fast_rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/keypoint_head.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/keypoint_head.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/keypoint_head.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/keypoint_head.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/mask_head.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/mask_head.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/mask_head.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/mask_head.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/roi_heads.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/roi_heads.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/roi_heads.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/roi_heads.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/roi_heads/rotated_fast_rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/sampling.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/sampling.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/sampling.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/sampling.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/test_time_augmentation.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/test_time_augmentation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/modeling/test_time_augmentation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/modeling/test_time_augmentation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/projects/README.md b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/projects/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/projects/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/projects/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/projects/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/projects/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/projects/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/projects/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/solver/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/solver/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/solver/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/solver/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/solver/build.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/solver/build.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/solver/build.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/solver/build.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/solver/lr_scheduler.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/solver/lr_scheduler.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/solver/lr_scheduler.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/solver/lr_scheduler.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/boxes.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/boxes.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/boxes.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/boxes.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/image_list.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/image_list.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/image_list.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/image_list.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/instances.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/instances.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/instances.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/instances.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/keypoints.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/keypoints.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/keypoints.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/keypoints.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/masks.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/masks.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/masks.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/masks.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/rotated_boxes.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/rotated_boxes.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/structures/rotated_boxes.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/structures/rotated_boxes.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/README.md b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/analysis.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/analysis.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/analysis.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/analysis.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/collect_env.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/collect_env.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/collect_env.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/collect_env.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/colormap.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/colormap.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/colormap.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/colormap.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/comm.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/comm.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/comm.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/comm.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/env.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/env.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/env.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/env.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/events.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/events.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/events.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/events.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/file_io.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/file_io.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/file_io.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/file_io.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/logger.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/logger.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/logger.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/logger.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/memory.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/memory.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/memory.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/memory.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/registry.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/registry.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/registry.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/registry.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/serialize.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/serialize.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/serialize.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/serialize.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/testing.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/testing.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/testing.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/testing.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/video_visualizer.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/video_visualizer.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/video_visualizer.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/video_visualizer.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/visualizer.py b/iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/visualizer.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/detectron2/utils/visualizer.py
rename to iGPT/models/grit_src/third_party/CenterNet2/detectron2/utils/visualizer.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/README.md b/iGPT/models/grit_src/third_party/CenterNet2/dev/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/linter.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/linter.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/linter.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/linter.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/packaging/README.md b/iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/packaging/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/packaging/build_all_wheels.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/build_all_wheels.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/packaging/build_all_wheels.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/build_all_wheels.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/packaging/build_wheel.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/build_wheel.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/packaging/build_wheel.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/build_wheel.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/packaging/gen_install_table.py b/iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/gen_install_table.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/packaging/gen_install_table.py
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/gen_install_table.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/packaging/gen_wheel_index.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/gen_wheel_index.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/packaging/gen_wheel_index.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/gen_wheel_index.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/packaging/pkg_helpers.bash b/iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/pkg_helpers.bash
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/packaging/pkg_helpers.bash
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/packaging/pkg_helpers.bash
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/parse_results.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/parse_results.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/parse_results.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/parse_results.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/run_inference_tests.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/run_inference_tests.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/run_inference_tests.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/run_inference_tests.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/dev/run_instant_tests.sh b/iGPT/models/grit_src/third_party/CenterNet2/dev/run_instant_tests.sh
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/dev/run_instant_tests.sh
rename to iGPT/models/grit_src/third_party/CenterNet2/dev/run_instant_tests.sh
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docker/Dockerfile b/iGPT/models/grit_src/third_party/CenterNet2/docker/Dockerfile
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docker/Dockerfile
rename to iGPT/models/grit_src/third_party/CenterNet2/docker/Dockerfile
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docker/README.md b/iGPT/models/grit_src/third_party/CenterNet2/docker/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docker/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docker/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docker/deploy.Dockerfile b/iGPT/models/grit_src/third_party/CenterNet2/docker/deploy.Dockerfile
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docker/deploy.Dockerfile
rename to iGPT/models/grit_src/third_party/CenterNet2/docker/deploy.Dockerfile
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docker/docker-compose.yml b/iGPT/models/grit_src/third_party/CenterNet2/docker/docker-compose.yml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docker/docker-compose.yml
rename to iGPT/models/grit_src/third_party/CenterNet2/docker/docker-compose.yml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/.gitignore b/iGPT/models/grit_src/third_party/CenterNet2/docs/.gitignore
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/.gitignore
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/.gitignore
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/Makefile b/iGPT/models/grit_src/third_party/CenterNet2/docs/Makefile
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/Makefile
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/Makefile
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/README.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/_static/css/custom.css b/iGPT/models/grit_src/third_party/CenterNet2/docs/_static/css/custom.css
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/_static/css/custom.css
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/_static/css/custom.css
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/conf.py b/iGPT/models/grit_src/third_party/CenterNet2/docs/conf.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/conf.py
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/conf.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/index.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/index.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/index.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/index.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/checkpoint.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/checkpoint.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/checkpoint.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/checkpoint.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/config.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/config.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/config.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/config.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/data.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/data.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/data.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/data.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/data_transforms.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/data_transforms.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/data_transforms.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/data_transforms.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/engine.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/engine.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/engine.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/engine.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/evaluation.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/evaluation.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/evaluation.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/evaluation.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/export.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/export.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/export.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/export.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/fvcore.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/fvcore.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/fvcore.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/fvcore.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/index.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/index.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/index.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/index.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/layers.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/layers.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/layers.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/layers.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/model_zoo.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/model_zoo.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/model_zoo.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/model_zoo.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/modeling.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/modeling.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/modeling.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/modeling.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/solver.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/solver.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/solver.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/solver.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/structures.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/structures.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/structures.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/structures.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/modules/utils.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/modules/utils.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/modules/utils.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/modules/utils.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/notes/benchmarks.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/notes/benchmarks.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/notes/benchmarks.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/notes/benchmarks.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/notes/changelog.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/notes/changelog.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/notes/changelog.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/notes/changelog.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/notes/compatibility.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/notes/compatibility.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/notes/compatibility.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/notes/compatibility.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/notes/contributing.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/notes/contributing.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/notes/contributing.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/notes/contributing.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/notes/index.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/notes/index.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/notes/index.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/notes/index.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/requirements.txt b/iGPT/models/grit_src/third_party/CenterNet2/docs/requirements.txt
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/requirements.txt
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/requirements.txt
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/README.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/augmentation.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/augmentation.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/augmentation.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/augmentation.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/builtin_datasets.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/builtin_datasets.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/builtin_datasets.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/builtin_datasets.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/configs.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/configs.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/configs.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/configs.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/data_loading.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/data_loading.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/data_loading.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/data_loading.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/datasets.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/datasets.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/datasets.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/datasets.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/deployment.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/deployment.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/deployment.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/deployment.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/evaluation.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/evaluation.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/evaluation.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/evaluation.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/extend.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/extend.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/extend.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/extend.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/getting_started.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/getting_started.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/getting_started.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/getting_started.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/index.rst b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/index.rst
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/index.rst
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/index.rst
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/install.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/install.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/install.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/install.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/lazyconfigs.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/lazyconfigs.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/lazyconfigs.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/lazyconfigs.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/models.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/models.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/models.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/models.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/training.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/training.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/training.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/training.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/write-models.md b/iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/write-models.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/docs/tutorials/write-models.md
rename to iGPT/models/grit_src/third_party/CenterNet2/docs/tutorials/write-models.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/.gitignore b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/.gitignore
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/.gitignore
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/.gitignore
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/config.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/config.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/config.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/config.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_build_augmentation.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_build_augmentation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_build_augmentation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_build_augmentation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_dataset_dataloader.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_dataset_dataloader.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_dataset_dataloader.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/custom_dataset_dataloader.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/coco.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/coco.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/coco.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/coco.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/nuimages.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/nuimages.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/nuimages.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/nuimages.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/objects365.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/objects365.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/objects365.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/datasets/objects365.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_augmentation_impl.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_augmentation_impl.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_augmentation_impl.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_augmentation_impl.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_transform.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_transform.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_transform.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/data/transforms/custom_transform.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn_fcos.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn_fcos.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn_fcos.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/bifpn_fcos.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dla.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dla.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dla.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dla.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dlafpn.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dlafpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dlafpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dlafpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/fpn_p5.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/fpn_p5.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/fpn_p5.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/fpn_p5.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/res2net.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/res2net.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/res2net.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/res2net.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/debug.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/debug.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/debug.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/debug.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet_head.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet_head.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet_head.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/centernet_head.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/utils.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/utils.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/utils.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/dense_heads/utils.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/deform_conv.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/deform_conv.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/deform_conv.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/deform_conv.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/heatmap_focal_loss.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/heatmap_focal_loss.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/heatmap_focal_loss.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/heatmap_focal_loss.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/iou_loss.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/iou_loss.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/iou_loss.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/iou_loss.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/ml_nms.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/ml_nms.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/ml_nms.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/layers/ml_nms.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/meta_arch/centernet_detector.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/meta_arch/centernet_detector.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/meta_arch/centernet_detector.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/meta_arch/centernet_detector.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_fast_rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_fast_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_fast_rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_fast_rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_roi_heads.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_roi_heads.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_roi_heads.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/custom_roi_heads.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/fed_loss.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/fed_loss.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/fed_loss.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/roi_heads/fed_loss.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet2_docs/MODEL_ZOO.md b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet2_docs/MODEL_ZOO.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet2_docs/MODEL_ZOO.md
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/centernet2_docs/MODEL_ZOO.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet-FPN.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet-FPN.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet-FPN.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet-FPN.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet2.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet2.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet2.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base-CenterNet2.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base_S4_DLA.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base_S4_DLA.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base_S4_DLA.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/Base_S4_DLA.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-FPN_R50_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-FPN_R50_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-FPN_R50_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-FPN_R50_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-S4_DLA_8x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-S4_DLA_8x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-S4_DLA_8x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet-S4_DLA_8x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2-F_R50_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2-F_R50_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2-F_R50_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2-F_R50_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_24x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_24x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_24x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_24x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_4x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_4x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_4x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P3_4x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x_ST.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x_ST.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x_ST.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-BiFPN-P5_640_16x_ST.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-fcosBiFPN-P5_640_16x_ST.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-fcosBiFPN-P5_640_16x_ST.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-fcosBiFPN-P5_640_16x_ST.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_DLA-fcosBiFPN-P5_640_16x_ST.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_1280_4x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_1280_4x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_1280_4x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_1280_4x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN_896_4x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN_896_4x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN_896_4x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R2-101-DCN_896_4x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R50_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R50_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R50_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_R50_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_X101-DCN_2x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_X101-DCN_2x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_X101-DCN_2x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/CenterNet2_X101-DCN_2x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_Fed_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_Fed_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_Fed_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/LVIS_CenterNet2_R50_Fed_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/O365_CenterNet2_R50_1x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/O365_CenterNet2_R50_1x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/O365_CenterNet2_R50_1x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/O365_CenterNet2_R50_1x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/nuImages_CenterNet2_DLA_640_8x.yaml b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/nuImages_CenterNet2_DLA_640_8x.yaml
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/nuImages_CenterNet2_DLA_640_8x.yaml
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/configs/nuImages_CenterNet2_DLA_640_8x.yaml
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/demo.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/demo.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/demo.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/demo.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/predictor.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/predictor.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/predictor.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/predictor.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/train_net.py b/iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/train_net.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/projects/CenterNet2/train_net.py
rename to iGPT/models/grit_src/third_party/CenterNet2/projects/CenterNet2/train_net.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/setup.cfg b/iGPT/models/grit_src/third_party/CenterNet2/setup.cfg
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/setup.cfg
rename to iGPT/models/grit_src/third_party/CenterNet2/setup.cfg
diff --git a/iChat/models/grit_src/third_party/CenterNet2/setup.py b/iGPT/models/grit_src/third_party/CenterNet2/setup.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/setup.py
rename to iGPT/models/grit_src/third_party/CenterNet2/setup.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/README.md b/iGPT/models/grit_src/third_party/CenterNet2/tests/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_a.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_a.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_a.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_a.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_b.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_b.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_b.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/config/dir1/dir1_b.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/config/root_cfg.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/config/root_cfg.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/config/root_cfg.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/config/root_cfg.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/config/test_instantiate_config.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/config/test_instantiate_config.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/config/test_instantiate_config.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/config/test_instantiate_config.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/config/test_lazy_config.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/config/test_lazy_config.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/config/test_lazy_config.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/config/test_lazy_config.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/config/test_yacs_config.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/config/test_yacs_config.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/config/test_yacs_config.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/config/test_yacs_config.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_coco.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_coco.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_coco.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_coco.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_coco_evaluation.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_coco_evaluation.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_coco_evaluation.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_coco_evaluation.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_dataset.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_dataset.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_dataset.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_dataset.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_detection_utils.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_detection_utils.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_detection_utils.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_detection_utils.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_rotation_transform.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_rotation_transform.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_rotation_transform.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_rotation_transform.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_sampler.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_sampler.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_sampler.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_sampler.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/data/test_transforms.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_transforms.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/data/test_transforms.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/data/test_transforms.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_blocks.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_blocks.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_blocks.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_blocks.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_deformable.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_deformable.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_deformable.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_deformable.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_losses.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_losses.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_losses.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_losses.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_mask_ops.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_mask_ops.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_mask_ops.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_mask_ops.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_nms.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_nms.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_nms.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_nms.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_nms_rotated.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_nms_rotated.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_nms_rotated.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_nms_rotated.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align_rotated.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align_rotated.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align_rotated.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/layers/test_roi_align_rotated.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_anchor_generator.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_anchor_generator.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_anchor_generator.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_anchor_generator.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_backbone.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_backbone.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_backbone.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_backbone.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_box2box_transform.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_box2box_transform.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_box2box_transform.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_box2box_transform.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_fast_rcnn.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_fast_rcnn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_fast_rcnn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_fast_rcnn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_matcher.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_matcher.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_matcher.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_matcher.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_mmdet.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_mmdet.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_mmdet.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_mmdet.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_model_e2e.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_model_e2e.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_model_e2e.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_model_e2e.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_heads.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_heads.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_heads.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_heads.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_pooler.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_pooler.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_pooler.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_roi_pooler.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_rpn.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_rpn.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/modeling/test_rpn.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/modeling/test_rpn.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_boxes.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_boxes.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_boxes.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_boxes.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_imagelist.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_imagelist.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_imagelist.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_imagelist.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_instances.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_instances.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_instances.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_instances.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_keypoints.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_keypoints.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_keypoints.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_keypoints.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_masks.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_masks.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_masks.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_masks.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_rotated_boxes.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_rotated_boxes.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/structures/test_rotated_boxes.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/structures/test_rotated_boxes.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_checkpoint.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_checkpoint.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_checkpoint.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_checkpoint.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_engine.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_engine.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_engine.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_engine.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_events.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_events.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_events.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_events.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_export_caffe2.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_export_caffe2.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_export_caffe2.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_export_caffe2.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_export_torchscript.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_export_torchscript.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_export_torchscript.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_export_torchscript.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_model_analysis.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_model_analysis.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_model_analysis.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_model_analysis.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_model_zoo.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_model_zoo.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_model_zoo.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_model_zoo.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_packaging.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_packaging.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_packaging.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_packaging.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_registry.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_registry.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_registry.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_registry.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_scheduler.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_scheduler.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_scheduler.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_scheduler.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_solver.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_solver.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_solver.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_solver.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tests/test_visualizer.py b/iGPT/models/grit_src/third_party/CenterNet2/tests/test_visualizer.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tests/test_visualizer.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tests/test_visualizer.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/README.md b/iGPT/models/grit_src/third_party/CenterNet2/tools/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/__init__.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/__init__.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/__init__.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/__init__.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/analyze_model.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/analyze_model.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/analyze_model.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/analyze_model.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/benchmark.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/benchmark.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/benchmark.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/benchmark.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/convert-torchvision-to-d2.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/convert-torchvision-to-d2.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/convert-torchvision-to-d2.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/convert-torchvision-to-d2.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/deploy/CMakeLists.txt b/iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/CMakeLists.txt
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/deploy/CMakeLists.txt
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/CMakeLists.txt
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/deploy/README.md b/iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/README.md
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/deploy/README.md
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/README.md
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/deploy/export_model.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/export_model.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/deploy/export_model.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/export_model.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/deploy/torchscript_mask_rcnn.cpp b/iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/torchscript_mask_rcnn.cpp
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/deploy/torchscript_mask_rcnn.cpp
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/deploy/torchscript_mask_rcnn.cpp
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/lazyconfig_train_net.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/lazyconfig_train_net.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/lazyconfig_train_net.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/lazyconfig_train_net.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/lightning_train_net.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/lightning_train_net.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/lightning_train_net.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/lightning_train_net.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/plain_train_net.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/plain_train_net.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/plain_train_net.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/plain_train_net.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/train_net.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/train_net.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/train_net.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/train_net.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/visualize_data.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/visualize_data.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/visualize_data.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/visualize_data.py
diff --git a/iChat/models/grit_src/third_party/CenterNet2/tools/visualize_json_results.py b/iGPT/models/grit_src/third_party/CenterNet2/tools/visualize_json_results.py
similarity index 100%
rename from iChat/models/grit_src/third_party/CenterNet2/tools/visualize_json_results.py
rename to iGPT/models/grit_src/third_party/CenterNet2/tools/visualize_json_results.py
diff --git a/iChat/models/husky.py b/iGPT/models/husky.py
similarity index 97%
rename from iChat/models/husky.py
rename to iGPT/models/husky.py
index 642d6f52cc1260438f1660c82b1208a935e72a05..21e24178a232e285c4cb93d323411c642f455bcd 100644
--- a/iChat/models/husky.py
+++ b/iGPT/models/husky.py
@@ -25,6 +25,8 @@ from transformers import (
)
from .husky_src.husky_chat import Blip2LlaMAForConditionalGeneration
+from .husky_src.load_ckpt import apply_delta
+
from .husky_src.conversation import (
conv_templates,
get_default_conv_template,
@@ -64,10 +66,13 @@ def load_model(
):
kwargs = {"torch_dtype": torch.float16}
+ if not os.path.exists(model_path[1]):
+ apply_delta(model_path[0], model_path[1], model_path[2])
+
tokenizer = AutoTokenizer.from_pretrained(
- model_path, use_fast=False)
+ model_path[1], use_fast=False)
model = Blip2LlaMAForConditionalGeneration.from_pretrained(
- model_path, low_cpu_mem_usage=True, **kwargs
+ model_path[1], low_cpu_mem_usage=True, **kwargs
)
if load_8bit:
@@ -337,7 +342,7 @@ class HuskyVQA:
self,
device
):
- model_path="model_zoo/husky-7b-v0_01"
+ model_path=["model_zoo/llama-7b-hf", "model_zoo/husky-7b-v0_01", 'model_zoo/husky-7b-delta-v0_01']
load_8bit=True
max_new_tokens=512
self.chat = Chat(
diff --git a/iChat/models/husky_src/compression.py b/iGPT/models/husky_src/compression.py
similarity index 100%
rename from iChat/models/husky_src/compression.py
rename to iGPT/models/husky_src/compression.py
diff --git a/iChat/models/husky_src/conversation.py b/iGPT/models/husky_src/conversation.py
similarity index 100%
rename from iChat/models/husky_src/conversation.py
rename to iGPT/models/husky_src/conversation.py
diff --git a/iChat/models/husky_src/husky_chat.py b/iGPT/models/husky_src/husky_chat.py
similarity index 100%
rename from iChat/models/husky_src/husky_chat.py
rename to iGPT/models/husky_src/husky_chat.py
diff --git a/iGPT/models/husky_src/load_ckpt.py b/iGPT/models/husky_src/load_ckpt.py
new file mode 100644
index 0000000000000000000000000000000000000000..977f27ce5f4212f594b3f8366773855f2feda40f
--- /dev/null
+++ b/iGPT/models/husky_src/load_ckpt.py
@@ -0,0 +1,43 @@
+import argparse
+
+import torch
+from tqdm import tqdm
+from transformers import AutoTokenizer, AutoModelForCausalLM
+from iGPT.models.husky_src.husky_chat import Blip2LlaMAForConditionalGeneration
+
+
+def apply_delta(base_model_path, target_model_path, delta_path):
+ print("Loading base model")
+ base = AutoModelForCausalLM.from_pretrained(base_model_path, torch_dtype=torch.float16, low_cpu_mem_usage=True)
+
+ print("Loading delta")
+ delta_tokenizer = AutoTokenizer.from_pretrained(delta_path, use_fast=False)
+ delta = Blip2LlaMAForConditionalGeneration.from_pretrained(delta_path, torch_dtype=torch.float16, low_cpu_mem_usage=True)
+
+ print("Applying delta")
+ for name, param in tqdm(delta.state_dict().items(), desc="Applying delta"):
+ if name.startswith('language_model'):
+ name = name[len('language_model.'):]
+ if param.data.shape == base.state_dict()[name].shape:
+ param.data += base.state_dict()[name]
+ else:
+ bparam = base.state_dict()[name]
+ param.data[:bparam.shape[0], :bparam.shape[1]] += bparam
+ else:
+ pass
+
+ print("Saving target model")
+ delta.save_pretrained(target_model_path)
+ delta_tokenizer.save_pretrained(target_model_path)
+
+
+if __name__ == "__main__":
+ parser = argparse.ArgumentParser()
+ parser.add_argument("--base-model-path", type=str, required=True)
+ parser.add_argument("--target-model-path", type=str, required=True)
+ parser.add_argument("--delta-path", type=str, required=True)
+
+ args = parser.parse_args()
+
+ apply_delta(args.base_model_path, args.target_model_path, args.delta_path)
+ # srun -p INTERN2 --gres=gpu:0 python apply_delta.py --base-model-path "/mnt/petrelfs/share_data/wangweiyun/share_hf/llama-7b-hf" --target-model-path "/mnt/petrelfs/share_data/wangweiyun/share_hf/husky-7b-demo-v0_01" --delta-path "/mnt/petrelfs/share_data/wangweiyun/share_hf/husky-7b-delta-v0_01"
\ No newline at end of file
diff --git a/iChat/models/image.py b/iGPT/models/image.py
similarity index 100%
rename from iChat/models/image.py
rename to iGPT/models/image.py
diff --git a/iChat/models/inpainting.py b/iGPT/models/inpainting.py
similarity index 98%
rename from iChat/models/inpainting.py
rename to iGPT/models/inpainting.py
index 98e7609a7d95b7ca12edf8c63bcf5fc003f771fb..63c2e4e9ef11b6a4b72cb856bafcf82d7b64aa85 100644
--- a/iChat/models/inpainting.py
+++ b/iGPT/models/inpainting.py
@@ -36,7 +36,7 @@ def make_batch(image, mask, device):
class LDMInpainting:
def __init__(self, device):
ckpt_path = 'model_zoo/ldm_inpainting_big.ckpt'
- config = './iChat/models/inpainting_src/ldm_inpainting/config.yaml'
+ config = './iGPT/models/inpainting_src/ldm_inpainting/config.yaml'
self.ddim_steps = 50
self.device = device
config = OmegaConf.load(config)
diff --git a/iChat/models/inpainting_src/__init__.py b/iGPT/models/inpainting_src/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/__init__.py
rename to iGPT/models/inpainting_src/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/config.yaml b/iGPT/models/inpainting_src/ldm_inpainting/config.yaml
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/config.yaml
rename to iGPT/models/inpainting_src/ldm_inpainting/config.yaml
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/lr_scheduler.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/lr_scheduler.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/lr_scheduler.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/lr_scheduler.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/autoencoder.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/autoencoder.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/autoencoder.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/autoencoder.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/classifier.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/classifier.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/classifier.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/classifier.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddim.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddim.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddim.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddim.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddpm.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddpm.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddpm.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/ddpm.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/plms.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/plms.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/plms.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/diffusion/plms.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/models/quantize.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/models/quantize.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/models/quantize.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/models/quantize.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/attention.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/attention.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/attention.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/attention.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/model.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/model.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/model.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/model.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/openaimodel.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/openaimodel.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/openaimodel.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/openaimodel.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/util.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/util.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/util.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/diffusionmodules/util.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/distributions.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/distributions.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/distributions.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/distributions/distributions.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/ema.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/ema.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/ema.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/ema.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/modules.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/modules.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/modules.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/encoders/modules.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan_light.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan_light.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan_light.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/bsrgan_light.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils/test.png b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils/test.png
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils/test.png
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils/test.png
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils_image.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils_image.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils_image.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/image_degradation/utils_image.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/losses/__init__.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/losses/__init__.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/losses/__init__.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/losses/__init__.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/modules/x_transformer.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/x_transformer.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/modules/x_transformer.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/modules/x_transformer.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/ldm/util.py b/iGPT/models/inpainting_src/ldm_inpainting/ldm/util.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/ldm/util.py
rename to iGPT/models/inpainting_src/ldm_inpainting/ldm/util.py
diff --git a/iChat/models/inpainting_src/ldm_inpainting/wrapper.py b/iGPT/models/inpainting_src/ldm_inpainting/wrapper.py
similarity index 100%
rename from iChat/models/inpainting_src/ldm_inpainting/wrapper.py
rename to iGPT/models/inpainting_src/ldm_inpainting/wrapper.py
diff --git a/iChat/models/intern_action.py b/iGPT/models/intern_action.py
similarity index 100%
rename from iChat/models/intern_action.py
rename to iGPT/models/intern_action.py
diff --git a/iChat/models/lang.py b/iGPT/models/lang.py
similarity index 100%
rename from iChat/models/lang.py
rename to iGPT/models/lang.py
diff --git a/iChat/models/load_internvideo.py b/iGPT/models/load_internvideo.py
similarity index 100%
rename from iChat/models/load_internvideo.py
rename to iGPT/models/load_internvideo.py
diff --git a/iChat/models/med.py b/iGPT/models/med.py
similarity index 100%
rename from iChat/models/med.py
rename to iGPT/models/med.py
diff --git a/iChat/models/processing.py b/iGPT/models/processing.py
similarity index 100%
rename from iChat/models/processing.py
rename to iGPT/models/processing.py
diff --git a/iChat/models/sam_preditor.py b/iGPT/models/sam_preditor.py
similarity index 100%
rename from iChat/models/sam_preditor.py
rename to iGPT/models/sam_preditor.py
diff --git a/iChat/models/swin_transformer.py b/iGPT/models/swin_transformer.py
similarity index 100%
rename from iChat/models/swin_transformer.py
rename to iGPT/models/swin_transformer.py
diff --git a/iChat/models/tag2text.py b/iGPT/models/tag2text.py
similarity index 100%
rename from iChat/models/tag2text.py
rename to iGPT/models/tag2text.py
diff --git a/iChat/models/utils.py b/iGPT/models/utils.py
similarity index 100%
rename from iChat/models/utils.py
rename to iGPT/models/utils.py
diff --git a/iChat/models/video.py b/iGPT/models/video.py
similarity index 100%
rename from iChat/models/video.py
rename to iGPT/models/video.py
diff --git a/iChat/models/vit.py b/iGPT/models/vit.py
similarity index 100%
rename from iChat/models/vit.py
rename to iGPT/models/vit.py