Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running demo code #1

Open
lilyuam opened this issue Jun 7, 2023 · 1 comment
Open

Error when running demo code #1

lilyuam opened this issue Jun 7, 2023 · 1 comment

Comments

@lilyuam
Copy link

lilyuam commented Jun 7, 2023

python enhance_anything_continusly.py --input_img ./examples/0006.png --point_coords 200 300 --point_labels 1 --dilate_kernel_size 30 --output_dir ./results --sam_model_type "vit_h" --sam_ckpt ./pretrained_models/sam_vit_h_4b8939.pth --opt ./CResMD/options/test/modulation_CResMD.yml
usage: enhance_anything_continusly.py [-h] --input_img INPUT_IMG --point_coords
POINT_COORDS [POINT_COORDS ...] --point_labels
POINT_LABELS [POINT_LABELS ...]
[--dilate_kernel_size DILATE_KERNEL_SIZE]
--output_dir OUTPUT_DIR
[--sam_model_type {vit_h,vit_l,vit_b}]
--sam_ckpt SAM_CKPT --lama_ckpt LAMA_CKPT --opt
OPT
enhance_anything_continusly.py: error: the following arguments are required: --lama_ckpt

When running the demo code in enhance_anything_continusly.py I get these errors:
python enhance_anything_continusly.py
--input_img ./test_img/
--point_coords 750 500
--point_labels 1
--dilate_kernel_size 15
--output_dir ./results
--sam_model_type "vit_h"
--sam_ckpt sam_vit_h_4b8939.pth
--lama_config lama/configs/prediction/default.yaml
--lama_ckpt big-lama
--opt ./options/test/modulation_CResMD.yml
usage: enhance_anything_continusly.py [-h] --input_img INPUT_IMG --point_coords
POINT_COORDS [POINT_COORDS ...] --point_labels
POINT_LABELS [POINT_LABELS ...]
[--dilate_kernel_size DILATE_KERNEL_SIZE]
--output_dir OUTPUT_DIR
[--sam_model_type {vit_h,vit_l,vit_b}]
--sam_ckpt SAM_CKPT --lama_ckpt LAMA_CKPT --opt
OPT
enhance_anything_continusly.py: error: unrecognized arguments: --lama_config lama/configs/prediction/default.yaml

@lixinustc
Copy link
Owner

Thanks for your question. It can be removed since it is not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants