Uminosachi
6560412ca1
Fix cannot import name 'SiglipImageProcessor'
2024-12-27 19:04:52 +09:00
Uminosachi
91568a8c5f
Tighten return value checks for SAM mask images
2024-08-10 08:32:12 +09:00
Uminosachi
247d388ad2
Remove torch.jit.script from SAM2Transforms class
2024-08-06 19:02:54 +09:00
Uminosachi
e54e285072
Catch exception of initialize_config_dir in hydra
2024-08-05 11:39:47 +09:00
Uminosachi
28fe6a7a0f
Round parameters of arguments for SAM 2 class
2024-08-04 17:39:19 +09:00
Uminosachi
71bdef2ba7
Add use_safetensors=True to from_pretrained func
2024-08-04 13:40:37 +09:00
Uminosachi
ec5d27cb74
Suppress UserWarning of get_sdpa_settings function
2024-08-02 10:34:00 +09:00
Uminosachi
39d647db54
Enable bfloat16 for autocast only when CUDA is 8+
2024-08-02 10:03:11 +09:00
Uminosachi
de9f5f5c71
Pass antialias=True to torchvision Resize function
2024-08-02 09:14:36 +09:00
Uminosachi
b19df4c74e
Execute generate function with autocast for SAM 2
2024-08-01 19:32:29 +09:00
Uminosachi
3ddf311c64
Fix fallback nms to output same value as original
2024-08-01 15:29:52 +09:00
Uminosachi
1ccb9e462c
Add fallback nms for environ without batched_nms
2024-08-01 14:34:20 +09:00
Uminosachi
71dc7fe3ff
Cast points np.ndarray from float64 to float32
2024-07-31 19:21:00 +09:00
Uminosachi
99e476a88d
Remove torch.backends.cuda.sdp_kernel context
2024-07-31 18:30:54 +09:00
Uminosachi
8fec5cb42e
Support downloading and mask generation of SAM 2
2024-07-31 16:26:00 +09:00
Uminosachi
167da47dea
Fix error when using reference_only of ControlNet
2024-07-28 14:46:31 +09:00
Uminosachi
f26eb6ddd9
Add onnxruntime to list of required dependencies
2024-07-18 19:05:32 +09:00
Uminosachi
11bba19a32
Fix install.py to install packages without launch
2024-07-18 13:05:39 +09:00
Uminosachi
ae6cc075f6
Apply amp.autocast only when CUDA is available
2024-06-30 12:14:47 +09:00
Uminosachi
03a1fabb16
Disable triton via env when platform is Windows
2024-06-22 16:26:51 +09:00
Uminosachi
ac2da7e9bf
Change warnings.simplefilter to filterwarnings
2024-06-21 10:04:38 +09:00
Uminosachi
798737ae78
Remove UserWarning when registering TinyViT model
2024-06-21 09:14:06 +09:00
Uminosachi
df7bfd8b2c
Remove resume_download from args as deprecated
2024-06-21 08:26:43 +09:00
Uminosachi
4e5c2c7a91
Move SDXL VAE validation step after model loading
2024-06-09 17:06:57 +09:00
Uminosachi
67b7f80f69
Allow combination of SDXL model and SDXL VAE
2024-06-09 16:41:32 +09:00
Uminosachi
b7e105a6a9
Set scheduler in args only if img2img class has it
2024-06-08 19:43:10 +09:00
Uminosachi
cac134a5fe
Add scheduler to img2img args and set "Automatic"
2024-06-08 19:01:32 +09:00
Uminosachi
347f0eea6f
Filter FutureWarning from timm with ignore
2024-05-31 15:37:53 +09:00
Uminosachi
aa077dd54c
Refactor package installation to use dict and loop
2024-05-09 21:18:39 +09:00
Uminosachi
bfe7222bcc
Filter FutureWarning from huggingface_hub with ignore
2024-05-08 15:03:36 +09:00
Uminosachi
79bb14139b
Fix linting warnings and errors using Ruff
2024-05-08 14:22:17 +09:00
Uminosachi
ed336d45b0
Add installation of timm required to run lama-cleaner
2024-05-07 18:46:44 +09:00
Uminosachi
a980f40a29
Add threshold_a and b to config of ControlNet's inpaint
2024-04-23 19:21:05 +09:00
Uminosachi
79458bcbaa
Add threshold_b to config of ControlNet's IP-Adapter
2024-04-21 12:14:03 +09:00
Uminosachi
e2725802be
Add installation of packages required to run lama-cleaner
2024-04-01 16:46:52 +09:00
Uminosachi
6305c6189e
Change to keep lama-cleaner locally instead of installing by pip
2024-04-01 11:23:26 +09:00
Uminosachi
ab57640de4
Fix missing attribute in FastSAM's 'Upsample'
2024-02-18 16:34:30 +09:00
Uminosachi
a08995a7d2
Fix for immediate reflection of web UI settings
2023-10-18 11:31:34 +09:00
Uminosachi
a058a09d50
Merge pull request #109 from khatamnejad/main
...
Introduces "Segment Anything Models Directory" option to change default Segment Anything models directory
2023-10-18 11:07:20 +09:00
Aydin Khatamnejad
fa69848b8f
Introduces "Segment Anything Models Directory" option to change default Segment Anything models directory
...
Both Segment Anything and Inpaint Anything AUTOMATIC1111 extensions require "SAM" models to work, however they don't use the same directory for storing these models. The introduced "Segment Anything Models Directory" allows Inpaint Anything to use Segment Anything models directory so that there won't be any need to have 2 sets of the same models in the file system.
2023-10-17 20:16:37 -04:00
Uminosachi
bf4d49e296
Fix error when iteration_count slider is None
2023-10-10 21:06:26 +09:00
Uminosachi
a14612c7a0
Handle errors raised in pathlib and set path
2023-10-08 18:20:37 +09:00
Uminosachi
a53fbfa882
Check if web UI img2img output path is absolute
2023-10-04 10:24:20 +09:00
Uminosachi
7e692bfc19
Follow path setting of img2img-images in web UI
2023-10-04 06:48:05 +09:00
Uminosachi
18c3ad6349
Load SAM HQ model to CPU if CUDA is not available
2023-10-02 19:41:36 +09:00
Uminosachi
3c312bde08
Remove fixed-height of Gallery preview in Gradio
2023-10-01 12:48:10 +09:00
Uminosachi
03095102da
Set style.height of Gallery for older Gradio
2023-09-30 20:28:14 +09:00
Uminosachi
6e177e3b82
Support style function in older Gradio version
2023-09-30 09:47:13 +09:00
Uminosachi
ab3342ab07
Set True to gr.Gallery preview argument
2023-09-29 22:02:35 +09:00
Uminosachi
f836db5f07
Set contain to gr.Gallery object_fit argument
2023-09-29 21:46:08 +09:00