lixinustc / enhance-anything Goto Github PK
View Code? Open in Web Editor NEWEnhance and restore any things continuously with Segment Anything
License: Apache License 2.0
Enhance and restore any things continuously with Segment Anything
License: Apache License 2.0
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.