-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'main' and 'main' of ssh://github.com/xhiroga/til
- Loading branch information
Showing
11 changed files
with
1,535 additions
and
602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
329 changes: 0 additions & 329 deletions
329
computer-science/machine-learning/_src/background-removal/briarmbg.ipynb
This file was deleted.
Oops, something went wrong.
244 changes: 0 additions & 244 deletions
244
computer-science/machine-learning/_src/background-removal/environment.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
input/ | ||
output/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# OpenPose | ||
|
||
```powershell | ||
bin\OpenPoseDemo.exe --image_dir "C:\Users\hiroga\Documents\GitHub\til\software-engineering\openpose\_src\demo\input" -disable_blending --face --hand --write_json "C:\Users\hiroga\Documents\GitHub\til\software-engineering\openpose\_src\demo\output\image" --write_images "C:\Users\hiroga\Documents\GitHub\til\software-engineering\openpose\_src\demo\output\image" | ||
``` | ||
|
||
```powershell | ||
bin\OpenPoseDemo.exe --video "C:\Users\hiroga\Downloads\dance.mov" --face --hand --write_video "C:\Users\hiroga\Documents\GitHub\til\software-engineering\openpose\_src\demo\output\video\dance.mov" | ||
``` | ||
|
||
## Note | ||
|
||
- 日本語のファイル名を認識させるのに調整がいるかも | ||
- フォルダを事前に作成する必要があるかも |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
352 changes: 352 additions & 0 deletions
352
software-engineering/python/RMBG/_src/RMBG/briarmbg.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[project] | ||
name = "rmbg" | ||
version = "0.1.0" | ||
description = "Add your description here" | ||
readme = "README.md" | ||
requires-python = ">=3.12" | ||
dependencies = [ | ||
"imageio>=2.35.1", | ||
"matplotlib>=3.9.2", | ||
"scikit-image>=0.24.0", | ||
"torch==2.2.0+cu121", | ||
"torchvision==0.17.0+cu121", | ||
"pillow>=10.2.0", | ||
"numpy>=1.26.3", | ||
"typing>=3.10.0.0", | ||
"huggingface-hub>=0.24.6", | ||
"safetensors>=0.4.4", | ||
] | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/rmbg"] | ||
|
||
[tool.uv] | ||
dev-dependencies = [ | ||
"ipykernel>=6.29.5", | ||
"types-pillow>=10.2.0.20240822", | ||
] | ||
extra-index-url = ["https://download.pytorch.org/whl/cu121"] |
Oops, something went wrong.