Skip to content

when using Inpainting demo there is an error #40

@Sleepybear66

Description

@Sleepybear66

1759a3ae3d494825b6801711e1c69cd
2925c3878e0c55d0b0849bbd3f2e7de
939360a417a0a62a095f4d94fe3073a

when following the operations:
(ocr-sam) PS D:\Python\text_removal\OCR-SAM> python mmocr_sam_inpainting.py `

--img_path "D:\Python\text_removal\OCR-SAM\image_test\images_in\13196_4.jpg" `
--outdir "D:\Python\text_removal\OCR-SAM\image_test\images_out" `
--device cuda `
--sam_checkpoint "D:\Python\text_removal\OCR-SAM\checkpoints\sam\sam_vit_h_4b8939.pth" `
--prompt "None" `
--select_index 0

there is an error occuring!
Traceback (most recent call last):
File "mmocr_sam_inpainting.py", line 87, in
args.det_config,
AttributeError: 'Namespace' object has no attribute 'det_config'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions