Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
quattrinifabio committed Aug 8, 2024
1 parent 21c880d commit 1ab3eb0
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions generate_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from settings import parse_setting
import json

from sam_aclip_pixart_sigma.generate import get_pipe, base_arg_parser, parse_bool_args
from alfie.generate import get_pipe, base_arg_parser, parse_bool_args

from transformers import VitMatteImageProcessor, VitMatteForImageMatting

Expand All @@ -11,11 +11,11 @@
from accelerate.logging import get_logger
from accelerate.utils import set_seed

from sam_aclip_pixart_sigma.grabcut import grabcut, save_rgba
from alfie.grabcut import grabcut, save_rgba

import torch
from sam_aclip_pixart_sigma.trimap import compute_trimap
from sam_aclip_pixart_sigma.utils import normalize_masks
from alfie.trimap import compute_trimap
from alfie.utils import normalize_masks

torch.backends.cuda.matmul.allow_tf32 = True

Expand Down

0 comments on commit 1ab3eb0

Please sign in to comment.