main 0.3.0
Kye 2 years ago
parent a21904ea4b
commit 20d3526c9d

@ -15,7 +15,7 @@ from setuptools import setup, find_packages
setup( setup(
name = 'swarms', name = 'swarms',
packages = find_packages(exclude=[]), packages = find_packages(exclude=[]),
version = '0.2.9', version = '0.3.0',
license='MIT', license='MIT',
description = 'Swarms - Pytorch', description = 'Swarms - Pytorch',
author = 'Kye Gomez', author = 'Kye Gomez',

@ -0,0 +1,6 @@
import swarms.agents.workers.models.GroundingDINO.groundingdino.datasets.transforms as T
from swarms.agents.workers.models.GroundingDINO.groundingdino.models import build_model
from swarms.agents.workers.models.GroundingDINO.groundingdino.util import box_ops
from swarms.agents.workers.models.GroundingDINO.groundingdino.util.slconfig import SLConfig
from swarms.agents.workers.models.GroundingDINO.groundingdino.util.utils import clean_state_dict, get_phrases_from_posmap
from swarms.agents.workers.models.segment_anything.segment_anything import build_sam, SamPredictor, SamAutomaticMaskGenerator

@ -33,11 +33,11 @@ from langchain.llms.openai import OpenAI
# Grounding DINO # Grounding DINO
# import groundingdino.datasets.transforms as T # import groundingdino.datasets.transforms as T
import swarms.agents.workers.models.GroundingDINO.groundingdino.datasets.transforms as T from swarms.agents.workers.models import T
from swarms.agents.workers.models.GroundingDINO.groundingdino.models import build_model from swarms.agents.workers.models import build_model
from swarms.agents.workers.models.GroundingDINO.groundingdino.util import box_ops from swarms.agents.workers.models import box_ops
from swarms.agents.workers.models.GroundingDINO.groundingdino.util.slconfig import SLConfig from swarms.agents.workers.models import SLConfig
from swarms.agents.workers.models.GroundingDINO.groundingdino.util.utils import clean_state_dict, get_phrases_from_posmap from swarms.agents.workers.models import clean_state_dict, get_phrases_from_posmap
from swarms.agents.workers.models.segment_anything.segment_anything import build_sam, SamPredictor, SamAutomaticMaskGenerator from swarms.agents.workers.models.segment_anything.segment_anything import build_sam, SamPredictor, SamAutomaticMaskGenerator
import cv2 import cv2

Loading…
Cancel
Save