change default IS model size to 384
This commit is contained in:
parent
2611d2fb44
commit
db92e07b72
@ -159,7 +159,7 @@ INTERACTIVE_SEG_MODEL_URL = os.environ.get(
|
||||
|
||||
|
||||
class InteractiveSeg:
|
||||
def __init__(self, infer_size=448, open_kernel_size=3, dilate_kernel_size=3):
|
||||
def __init__(self, infer_size=384, open_kernel_size=3, dilate_kernel_size=3):
|
||||
device = torch.device('cpu')
|
||||
model = load_jit_model(INTERACTIVE_SEG_MODEL_URL, device).eval()
|
||||
self.predictor = ISPredictor(model, device,
|
||||
|
Loading…
Reference in New Issue
Block a user