代码拉取完成,页面将自动刷新
同步操作将从 Ring24/ISAT_with_segment_anything 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# -*- coding: utf-8 -*-
# @Author : LG
import os
import codecs
from setuptools import setup, find_packages
def get_version():
try:
from ISAT.__init__ import __version__
return __version__
except:
FileExistsError('ISAT/__init__.py not exists.')
def get_install_requires():
requirements_file = 'requirements.txt'
requirements_list = []
if os.path.exists(requirements_file):
with open(requirements_file) as f:
lines = f.readlines()
for line in lines:
line = line.rstrip('\n')
if line != '':
requirements_list.append(line)
return requirements_list
setup(
name="isat-sam", # 包名
version=get_version(), # 版本号
author="yatengLG",
author_email="yatenglg@foxmail.com",
description="Interactive semi-automatic annotation tool for image segmentation based on SAM(segment anything model).",
long_description=(codecs.open("README.md", encoding='utf-8').read() + "\n" +
codecs.open("CHANGELOG.md", encoding='utf-8').read()),
long_description_content_type="text/markdown",
url="https://github.com/yatengLG/ISAT_with_segment_anything", # 项目相关文件地址
keywords=["annotation tool", "segment anything", "image annotation", "semantic segmentation", 'instance segmentation'],
license="Apache2.0",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.8", # python 版本要求
install_requires=[
'imgviz',
'scikit-image',
'numpy',
'opencv_python_headless',
'pillow',
'pyqt5',
'pyyaml',
'torch>=2.1.1',
'torchvision',
'pycocotools',
'timm',
],
classifiers=[
"Intended Audience :: Developers", # 目标用户:开发者
"Intended Audience :: Science/Research", # 目标用户:学者
'Development Status :: 5 - Production/Stable',
"Natural Language :: Chinese (Simplified)",
"Natural Language :: English",
'License :: OSI Approved :: Apache Software License',
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
entry_points={
"console_scripts": [
"isat-sam=ISAT.main:main",
],
},
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。