add setup file to install

This commit is contained in:
ForJadeForest 2023-05-22 00:27:47 +08:00
parent 22d8888ca2
commit 1da2070c6f
40 changed files with 74 additions and 5 deletions

1
__init__.py Normal file
View File

@ -0,0 +1 @@
from .minigpt4 import *

View File

@ -0,0 +1,8 @@
Metadata-Version: 2.1
Name: minigpt4
Version: 0.1
Summary: The package for minigpt4
Author: YingzhePeng
Author-email: yingzhepeng@foxmail.com
License-File: LICENSE.md
License-File: LICENSE_Lavis.md

View File

@ -0,0 +1,47 @@
LICENSE.md
LICENSE_Lavis.md
README.md
setup.py
minigpt4/__init__.py
minigpt4.egg-info/PKG-INFO
minigpt4.egg-info/SOURCES.txt
minigpt4.egg-info/dependency_links.txt
minigpt4.egg-info/top_level.txt
minigpt4/common/__init__.py
minigpt4/common/config.py
minigpt4/common/dist_utils.py
minigpt4/common/gradcam.py
minigpt4/common/logger.py
minigpt4/common/optims.py
minigpt4/common/registry.py
minigpt4/common/utils.py
minigpt4/conversation/__init__.py
minigpt4/conversation/conversation.py
minigpt4/datasets/__init__.py
minigpt4/datasets/data_utils.py
minigpt4/datasets/builders/__init__.py
minigpt4/datasets/builders/base_dataset_builder.py
minigpt4/datasets/builders/image_text_pair_builder.py
minigpt4/datasets/datasets/__init__.py
minigpt4/datasets/datasets/base_dataset.py
minigpt4/datasets/datasets/caption_datasets.py
minigpt4/datasets/datasets/cc_sbu_dataset.py
minigpt4/datasets/datasets/dataloader_utils.py
minigpt4/datasets/datasets/laion_dataset.py
minigpt4/models/Qformer.py
minigpt4/models/__init__.py
minigpt4/models/base_model.py
minigpt4/models/blip2.py
minigpt4/models/blip2_outputs.py
minigpt4/models/eva_vit.py
minigpt4/models/mini_gpt4.py
minigpt4/models/modeling_llama.py
minigpt4/processors/__init__.py
minigpt4/processors/base_processor.py
minigpt4/processors/blip_processors.py
minigpt4/processors/randaugment.py
minigpt4/runners/__init__.py
minigpt4/runners/runner_base.py
minigpt4/tasks/__init__.py
minigpt4/tasks/base_task.py
minigpt4/tasks/image_text_pretrain.py

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@
minigpt4

View File

@ -10,12 +10,12 @@ import sys
from omegaconf import OmegaConf
from minigpt4.common.registry import registry
from .common.registry import registry
from minigpt4.datasets.builders import *
from minigpt4.models import *
from minigpt4.processors import *
from minigpt4.tasks import *
from .datasets.builders import *
from .models import *
from .processors import *
from .tasks import *
root_dir = os.path.dirname(os.path.abspath(__file__))

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

11
setup.py Normal file
View File

@ -0,0 +1,11 @@
from setuptools import setup, find_packages
setup(
name='minigpt4',
version='0.1',
description='The package for minigpt4',
author='YingzhePeng',
author_email='yingzhepeng@foxmail.com',
packages=find_packages()
)