Commit Graph

32 Commits

Author SHA1 Message Date
Sanster
a219da27f7 add setup.py 2022-04-18 15:15:51 +08:00
Sanster
f7e1e073dc make model switch work with toast 2022-04-18 08:46:19 +08:00
Sanster
205286a414 big update 2022-04-16 21:29:18 +08:00
Sanster
5183c21ad3 add host arg 2022-04-09 21:01:30 +08:00
Sanster
ca65c95d22 bug fix: resize alpha channel when using non original image size 2022-04-09 12:31:48 +08:00
Sanster
1b1aade067 fix png alpha channel lose 2022-04-09 08:12:41 +08:00
Sanster
caed45b520 return correct file ext/mimetype 2022-04-09 07:23:33 +08:00
Sanster
705e12d02d check --input before start server 2022-03-27 13:37:26 +08:00
Sanster
0cc17ea322 remove redundant parentheses 2022-03-27 13:21:04 +08:00
blessedcoolant
1ca0359eab Fixed wrong push 2022-03-25 14:06:03 +13:00
blessedcoolant
2e5590f74c Fixed missing dependency for useInputImage 2022-03-25 14:05:13 +13:00
blessedcoolant
7c7daf8ade Bug fixes
Fixed a few bugs from previous patch.

- Removed default value for --input tag. It was causing the front end to trigger a request and throw an error when there was no input given.
- Added a check to see if input is provided or not
- Converted the new hook to Typescript and added necessary types.
- Rebuilt to update to current changes.
2022-03-25 13:49:56 +13:00
blessedcoolant
a2d7851a40
Merge pull request #2 from blessedcoolant/user_input_image
User Input Image / Dev QoL Update
2022-03-25 07:47:55 +13:00
blessedcoolant
d0f025f2d4 Add User Input Image Support
Users can now supply the --input argument to load their image by default to the application.
2022-03-25 07:33:13 +13:00
blessedcoolant
785848b5ec
Fix crop trigger size not having a default value 2022-03-25 05:56:00 +13:00
Sanster
1c997991e4 change --gui_size to --gui-size; use nargs for crop-trigger-size 2022-03-24 21:45:09 +08:00
blessedcoolant
68616d0ebe
Merge branch 'main' into main 2022-03-24 16:31:29 +13:00
Sanster
d3f1ea2474 change crop-size to crop-margin, to add more context for crop infer 2022-03-24 09:08:49 +08:00
blessedcoolant
44e131f9ac Added desktop application mode
Run lama-cleaner as a desktop application.
2022-03-24 05:07:33 +13:00
Sanster
43c9c22c73 add crop infor for lama 2022-03-23 10:15:23 +08:00
Sanster
a46424478a move time to main 2022-03-20 22:42:59 +08:00
Sanster
61fcffda94 add torch.cuda.empty_cache() after model forward 2022-03-12 20:43:47 +08:00
Sanster
f9b96cf218 add ldm model 2022-03-06 20:29:45 +08:00
Sanster
f09d40cbef turnoff torchscript fuser feature
https://github.com/Sanster/lama-cleaner/issues/1
2022-02-18 13:30:20 +08:00
Sanster
5450fd2234 download small size image 2022-02-09 18:01:19 +08:00
callmepantoine
ffd527c2fd bug: set eval mode during inference 2021-12-16 14:29:32 +01:00
Sanster
05e4c0993d add LAMA_MODEL env for loading other lama model 2021-12-05 21:32:18 +08:00
Qing
1e2c8fd348 resize image using backend;add resize radio button
frontend resize image will reduce image quality
2021-11-30 13:24:52 +08:00
Qing
10fb00311f fix cache_dir in main.py 2021-11-30 13:24:45 +08:00
loretoparisi
7114f988b4 Set TORCH_HOME 2021-11-15 23:37:26 +01:00
Loreto Parisi
e839a36503 Added Dockerfile 2021-11-15 20:11:46 +01:00
wq.chu
4e027f81e6 init 2021-11-15 22:21:01 +08:00