remove unused dependency
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
# 4th Edited by ControlNet (added face and correct hands)
|
||||
|
||||
import os
|
||||
import pdb
|
||||
|
||||
os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
|
||||
|
||||
@@ -13,9 +12,7 @@ import torch
|
||||
import numpy as np
|
||||
from . import util
|
||||
from .body import Body
|
||||
from .hand import Hand
|
||||
from .face import Face
|
||||
from annotator.util import annotator_ckpts_path
|
||||
from ..util import annotator_ckpts_path
|
||||
|
||||
body_model_path = "https://huggingface.co/lllyasviel/Annotators/resolve/main/body_pose_model.pth"
|
||||
hand_model_path = "https://huggingface.co/lllyasviel/Annotators/resolve/main/hand_pose_model.pth"
|
||||
|
||||
@@ -1,30 +1,11 @@
|
||||
import pdb
|
||||
|
||||
import config
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
PROJECT_ROOT = Path(__file__).absolute().parents[0].absolute()
|
||||
sys.path.insert(0, str(PROJECT_ROOT))
|
||||
import os
|
||||
|
||||
import cv2
|
||||
import einops
|
||||
import numpy as np
|
||||
import random
|
||||
import time
|
||||
import json
|
||||
|
||||
# from pytorch_lightning import seed_everything
|
||||
from .annotator.util import resize_image, HWC3
|
||||
from .annotator.openpose import OpenposeDetector
|
||||
|
||||
import argparse
|
||||
from PIL import Image
|
||||
import torch
|
||||
import pdb
|
||||
|
||||
# os.environ['CUDA_VISIBLE_DEVICES'] = '0,1,2,3'
|
||||
|
||||
class OpenPose:
|
||||
def __init__(self):
|
||||
|
||||
@@ -12,6 +12,5 @@ accelerate
|
||||
matplotlib
|
||||
tqdm
|
||||
gradio
|
||||
config
|
||||
einops
|
||||
ninja
|
||||
|
||||
Reference in New Issue
Block a user