mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
fix: use dilate_erode factor correctly (#47)
This commit is contained in:
@@ -611,7 +611,7 @@ class AfterDetailerScript(scripts.Script):
|
||||
with ChangeTorchLoad():
|
||||
pred = predictor(ad_model, pp.image, args.ad_conf, **kwargs)
|
||||
|
||||
masks = mask_preprocess(pred.masks)
|
||||
masks = mask_preprocess(pred.masks, args.ad_dilate_erode)
|
||||
|
||||
if not masks:
|
||||
print(
|
||||
|
||||
Reference in New Issue
Block a user