Spaces:
Runtime error
Runtime error
Add sam
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- third_party/segment-anything/.flake8 +3 -0
- third_party/segment-anything/.gitignore +3 -0
- third_party/segment-anything/CODE_OF_CONDUCT.md +3 -0
- third_party/segment-anything/CONTRIBUTING.md +3 -0
- third_party/segment-anything/LICENSE +3 -0
- third_party/segment-anything/README.md +3 -0
- third_party/segment-anything/assets/masks1.png +3 -0
- third_party/segment-anything/assets/masks2.jpg +3 -0
- third_party/segment-anything/assets/minidemo.gif +3 -0
- third_party/segment-anything/assets/model_diagram.png +3 -0
- third_party/segment-anything/assets/notebook1.png +3 -0
- third_party/segment-anything/assets/notebook2.png +3 -0
- third_party/segment-anything/demo/README.md +3 -0
- third_party/segment-anything/demo/configs/webpack/common.js +3 -0
- third_party/segment-anything/demo/configs/webpack/dev.js +3 -0
- third_party/segment-anything/demo/configs/webpack/prod.js +3 -0
- third_party/segment-anything/demo/package.json +3 -0
- third_party/segment-anything/demo/postcss.config.js +3 -0
- third_party/segment-anything/demo/src/App.tsx +3 -0
- third_party/segment-anything/demo/src/assets/data/dogs.jpg +3 -0
- third_party/segment-anything/demo/src/assets/index.html +3 -0
- third_party/segment-anything/demo/src/assets/scss/App.scss +3 -0
- third_party/segment-anything/demo/src/components/Stage.tsx +3 -0
- third_party/segment-anything/demo/src/components/Tool.tsx +3 -0
- third_party/segment-anything/demo/src/components/helpers/Interfaces.tsx +3 -0
- third_party/segment-anything/demo/src/components/helpers/maskUtils.tsx +3 -0
- third_party/segment-anything/demo/src/components/helpers/onnxModelAPI.tsx +3 -0
- third_party/segment-anything/demo/src/components/helpers/scaleHelper.tsx +3 -0
- third_party/segment-anything/demo/src/components/hooks/context.tsx +3 -0
- third_party/segment-anything/demo/src/components/hooks/createContext.tsx +3 -0
- third_party/segment-anything/demo/src/index.tsx +3 -0
- third_party/segment-anything/demo/tailwind.config.js +3 -0
- third_party/segment-anything/demo/tsconfig.json +3 -0
- third_party/segment-anything/linter.sh +3 -0
- third_party/segment-anything/notebooks/automatic_mask_generator_example.ipynb +3 -0
- third_party/segment-anything/notebooks/images/dog.jpg +3 -0
- third_party/segment-anything/notebooks/images/groceries.jpg +3 -0
- third_party/segment-anything/notebooks/images/truck.jpg +3 -0
- third_party/segment-anything/notebooks/onnx_model_example.ipynb +3 -0
- third_party/segment-anything/notebooks/predictor_example.ipynb +3 -0
- third_party/segment-anything/scripts/amg.py +3 -0
- third_party/segment-anything/scripts/export_onnx_model.py +3 -0
- third_party/segment-anything/segment_anything/__init__.py +3 -0
- third_party/segment-anything/segment_anything/automatic_mask_generator.py +3 -0
- third_party/segment-anything/segment_anything/build_sam.py +3 -0
- third_party/segment-anything/segment_anything/modeling/__init__.py +3 -0
- third_party/segment-anything/segment_anything/modeling/common.py +3 -0
- third_party/segment-anything/segment_anything/modeling/image_encoder.py +3 -0
- third_party/segment-anything/segment_anything/modeling/mask_decoder.py +3 -0
- third_party/segment-anything/segment_anything/modeling/prompt_encoder.py +3 -0
third_party/segment-anything/.flake8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dca6883639e28760c91d18bf835b3616f64f2c9c07ba14376adf7fa400d72743
|
3 |
+
size 211
|
third_party/segment-anything/.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36f3987a7f7f7289a8520350d3776410300bef8df94892236d23790a674fd03b
|
3 |
+
size 389
|
third_party/segment-anything/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4d00a8ac00c1735cd2f3fb50ca67c83960ef9123fc5656f2e69056c905ed244
|
3 |
+
size 3541
|
third_party/segment-anything/CONTRIBUTING.md
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d9d12cc7fcbc300c4f8c55dea9834bd917745eecdb2fbc8ff58cb21636aa0af
|
3 |
+
size 1400
|
third_party/segment-anything/LICENSE
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
|
3 |
+
size 11357
|
third_party/segment-anything/README.md
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:233748215bfcbbe467d768f11ec3189415a2bea14364a05373b4cc00247e728e
|
3 |
+
size 8488
|
third_party/segment-anything/assets/masks1.png
ADDED
Git LFS Details
|
third_party/segment-anything/assets/masks2.jpg
ADDED
Git LFS Details
|
third_party/segment-anything/assets/minidemo.gif
ADDED
Git LFS Details
|
third_party/segment-anything/assets/model_diagram.png
ADDED
Git LFS Details
|
third_party/segment-anything/assets/notebook1.png
ADDED
Git LFS Details
|
third_party/segment-anything/assets/notebook2.png
ADDED
Git LFS Details
|
third_party/segment-anything/demo/README.md
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a17f8a377e16a377b42932cdeeacab7a84afed5a2ef29907c0427ae5a493fed8
|
3 |
+
size 3681
|
third_party/segment-anything/demo/configs/webpack/common.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f085261110597dbe9bb6ea75920597a2da413257cba5e99d81aa55385a87b6c9
|
3 |
+
size 2051
|
third_party/segment-anything/demo/configs/webpack/dev.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94aeca1a07f6f02b210f7c020b9b549bff38aebfd68931ea04721a7b61e57714
|
3 |
+
size 767
|
third_party/segment-anything/demo/configs/webpack/prod.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c6be50b1f09763b0176abda1215cff8aed5f2d6fa30b5b57750b47a5fa5ad20
|
3 |
+
size 636
|
third_party/segment-anything/demo/package.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14f1d1233224c35e71f48cbede096eca89187bb0dc829fce0f380b0c68bfc98c
|
3 |
+
size 2002
|
third_party/segment-anything/demo/postcss.config.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e37ff61d56715fd068fa87ea291ccc249da1d9c3b745ab58763f8bba3f9aa776
|
3 |
+
size 339
|
third_party/segment-anything/demo/src/App.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aab0d86de97774277aca46d1d81696176b2e0cbb68595d36ee33d7f869dd7380
|
3 |
+
size 4245
|
third_party/segment-anything/demo/src/assets/data/dogs.jpg
ADDED
Git LFS Details
|
third_party/segment-anything/demo/src/assets/index.html
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:855449a290c63a7b952cfdb37052d6208e03411f620348c7c37ea012982b684f
|
3 |
+
size 532
|
third_party/segment-anything/demo/src/assets/scss/App.scss
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc1a7ad0d019ddb1d32d0ecb588ba0ac26ce41d8625dd6c366348b25f83a28ec
|
3 |
+
size 59
|
third_party/segment-anything/demo/src/components/Stage.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a3f0d0c911a2395c13fe4249ac51f8f46db6843ded73af645c1c9f089dca140
|
3 |
+
size 1580
|
third_party/segment-anything/demo/src/components/Tool.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0162bdbd5adaf79ce8f42f7f65d9127eb744a97febb86471c870fd62821951ed
|
3 |
+
size 2136
|
third_party/segment-anything/demo/src/components/helpers/Interfaces.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f5f260ab2e60b64948cc7f707f04d02fa2caa1af27b505a2cb24278aff1ad46
|
3 |
+
size 611
|
third_party/segment-anything/demo/src/components/helpers/maskUtils.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8de4ea63fc84e0e10410a6169e9613b22987dc8477d44979f14fba440fdec85
|
3 |
+
size 1616
|
third_party/segment-anything/demo/src/components/helpers/onnxModelAPI.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f52424953656fcbc125f1dddaf0f64623ff74f6c7b4c0b742c604974ff0e07c
|
3 |
+
size 2198
|
third_party/segment-anything/demo/src/components/helpers/scaleHelper.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c09c180931fb43baedd6c5b240879fa1b5613cf08f6621fb7353ac3d4f97651
|
3 |
+
size 614
|
third_party/segment-anything/demo/src/components/hooks/context.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17cf1e683e30ffc56a3017eb62f86f195ebffda3d82181c0614b7ef71f522cab
|
3 |
+
size 959
|
third_party/segment-anything/demo/src/components/hooks/createContext.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4daa14ae82a774ca78f99a7fecafe088e1337e527399baabca37721484762705
|
3 |
+
size 736
|
third_party/segment-anything/demo/src/index.tsx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32ef6d97f2e12b9f60669c036367e9c9b214ce262a5ff6c12e7ffd1120004985
|
3 |
+
size 529
|
third_party/segment-anything/demo/tailwind.config.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:996d1ac894296cf3137afa8b2cf66432e31fb3db31d6e9980a4873d257721ca7
|
3 |
+
size 337
|
third_party/segment-anything/demo/tsconfig.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa7fabbae4db7cfd6a63e1b60a50c64b8c0ed81ea7527c9bd4d2e2824e6f68d5
|
3 |
+
size 644
|
third_party/segment-anything/linter.sh
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de55131fe5f32874b314502a3f940036691f7e1fa166d17941eccb869a139d92
|
3 |
+
size 564
|
third_party/segment-anything/notebooks/automatic_mask_generator_example.ipynb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10908fffaa0c06b5f2ced2f32723bb6b54c373fd1e6ebb58f72e892339c3df19
|
3 |
+
size 4381012
|
third_party/segment-anything/notebooks/images/dog.jpg
ADDED
Git LFS Details
|
third_party/segment-anything/notebooks/images/groceries.jpg
ADDED
Git LFS Details
|
third_party/segment-anything/notebooks/images/truck.jpg
ADDED
Git LFS Details
|
third_party/segment-anything/notebooks/onnx_model_example.ipynb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0468449922eab9aaefe788a5e9da01b7756fb15795eaef71af71e0b590afb816
|
3 |
+
size 22502
|
third_party/segment-anything/notebooks/predictor_example.ipynb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd02280bcd3aab53ecb8fec3c808fc6b8976d094e6dba93d8e53b1a5f62a5752
|
3 |
+
size 8380947
|
third_party/segment-anything/scripts/amg.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24b3edd3f3880e75b64d2b8d67e1b7d9519f46f6479d1137c9ac3309e9d43105
|
3 |
+
size 7043
|
third_party/segment-anything/scripts/export_onnx_model.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0270d82d96cfb3348471f349b6cb5b224833a0ea101bd8091dc5c364695b3b2
|
3 |
+
size 6250
|
third_party/segment-anything/segment_anything/__init__.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8d8eb649610b2d51f138481a89617a3dcb61106465121dcb1c2f23affc84c30
|
3 |
+
size 427
|
third_party/segment-anything/segment_anything/automatic_mask_generator.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71c698d2b6cbf5a62eafa5f12106fdf3bff676102adf1aed2287df3b3990b4e0
|
3 |
+
size 15148
|
third_party/segment-anything/segment_anything/build_sam.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77bc4faf728118625ddd184dc4e6375bd1b5c636fc66fb429f9fc5276f331cc5
|
3 |
+
size 2941
|
third_party/segment-anything/segment_anything/modeling/__init__.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47f6363b86c0bfaa7a6abf723975136d17fae4a5f002d2814a5cce8834d18980
|
3 |
+
size 385
|
third_party/segment-anything/segment_anything/modeling/common.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59a53bfa5d0a4d446df7f2bb57d2e95808b130601592b934600fb663d256ce17
|
3 |
+
size 1479
|
third_party/segment-anything/segment_anything/modeling/image_encoder.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1665ada2902722c9a8cd566c840e324d623ef2b12f7d9ae9f38b24aed0e39886
|
3 |
+
size 14420
|
third_party/segment-anything/segment_anything/modeling/mask_decoder.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a2455e990515c67a061187c92c236b879b189f21ef6ebfce1627cae9a6b2f93
|
3 |
+
size 6615
|
third_party/segment-anything/segment_anything/modeling/prompt_encoder.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd8f2f5903f0647f55c21c608bcbb334eec2901ebe76aa41061b1c513df4a06f
|
3 |
+
size 8594
|