RysonFeng commited on
Commit
d63b142
1 Parent(s): b5baf02
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. third_party/segment-anything/.flake8 +3 -0
  2. third_party/segment-anything/.gitignore +3 -0
  3. third_party/segment-anything/CODE_OF_CONDUCT.md +3 -0
  4. third_party/segment-anything/CONTRIBUTING.md +3 -0
  5. third_party/segment-anything/LICENSE +3 -0
  6. third_party/segment-anything/README.md +3 -0
  7. third_party/segment-anything/assets/masks1.png +3 -0
  8. third_party/segment-anything/assets/masks2.jpg +3 -0
  9. third_party/segment-anything/assets/minidemo.gif +3 -0
  10. third_party/segment-anything/assets/model_diagram.png +3 -0
  11. third_party/segment-anything/assets/notebook1.png +3 -0
  12. third_party/segment-anything/assets/notebook2.png +3 -0
  13. third_party/segment-anything/demo/README.md +3 -0
  14. third_party/segment-anything/demo/configs/webpack/common.js +3 -0
  15. third_party/segment-anything/demo/configs/webpack/dev.js +3 -0
  16. third_party/segment-anything/demo/configs/webpack/prod.js +3 -0
  17. third_party/segment-anything/demo/package.json +3 -0
  18. third_party/segment-anything/demo/postcss.config.js +3 -0
  19. third_party/segment-anything/demo/src/App.tsx +3 -0
  20. third_party/segment-anything/demo/src/assets/data/dogs.jpg +3 -0
  21. third_party/segment-anything/demo/src/assets/index.html +3 -0
  22. third_party/segment-anything/demo/src/assets/scss/App.scss +3 -0
  23. third_party/segment-anything/demo/src/components/Stage.tsx +3 -0
  24. third_party/segment-anything/demo/src/components/Tool.tsx +3 -0
  25. third_party/segment-anything/demo/src/components/helpers/Interfaces.tsx +3 -0
  26. third_party/segment-anything/demo/src/components/helpers/maskUtils.tsx +3 -0
  27. third_party/segment-anything/demo/src/components/helpers/onnxModelAPI.tsx +3 -0
  28. third_party/segment-anything/demo/src/components/helpers/scaleHelper.tsx +3 -0
  29. third_party/segment-anything/demo/src/components/hooks/context.tsx +3 -0
  30. third_party/segment-anything/demo/src/components/hooks/createContext.tsx +3 -0
  31. third_party/segment-anything/demo/src/index.tsx +3 -0
  32. third_party/segment-anything/demo/tailwind.config.js +3 -0
  33. third_party/segment-anything/demo/tsconfig.json +3 -0
  34. third_party/segment-anything/linter.sh +3 -0
  35. third_party/segment-anything/notebooks/automatic_mask_generator_example.ipynb +3 -0
  36. third_party/segment-anything/notebooks/images/dog.jpg +3 -0
  37. third_party/segment-anything/notebooks/images/groceries.jpg +3 -0
  38. third_party/segment-anything/notebooks/images/truck.jpg +3 -0
  39. third_party/segment-anything/notebooks/onnx_model_example.ipynb +3 -0
  40. third_party/segment-anything/notebooks/predictor_example.ipynb +3 -0
  41. third_party/segment-anything/scripts/amg.py +3 -0
  42. third_party/segment-anything/scripts/export_onnx_model.py +3 -0
  43. third_party/segment-anything/segment_anything/__init__.py +3 -0
  44. third_party/segment-anything/segment_anything/automatic_mask_generator.py +3 -0
  45. third_party/segment-anything/segment_anything/build_sam.py +3 -0
  46. third_party/segment-anything/segment_anything/modeling/__init__.py +3 -0
  47. third_party/segment-anything/segment_anything/modeling/common.py +3 -0
  48. third_party/segment-anything/segment_anything/modeling/image_encoder.py +3 -0
  49. third_party/segment-anything/segment_anything/modeling/mask_decoder.py +3 -0
  50. 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

  • SHA256: 094650248317c2b41ca0279d402253a8d1ae3801f8809e69480561dddd7d9f64
  • Pointer size: 132 Bytes
  • Size of remote file: 3.7 MB
third_party/segment-anything/assets/masks2.jpg ADDED

Git LFS Details

  • SHA256: 96d80aae8cae21e6fa9d8081b99cb3ef68d513281f2ec4e360a4e2b3f7e6010c
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
third_party/segment-anything/assets/minidemo.gif ADDED

Git LFS Details

  • SHA256: 44ab93e0b59551a3c649cc8a38eb9760545285110f515673c5e7d1e85354125c
  • Pointer size: 132 Bytes
  • Size of remote file: 2.02 MB
third_party/segment-anything/assets/model_diagram.png ADDED

Git LFS Details

  • SHA256: 80f88ccc64fdefc08b28682661b41832e25e4c1612e7e430dc30ed551ee51d86
  • Pointer size: 131 Bytes
  • Size of remote file: 582 kB
third_party/segment-anything/assets/notebook1.png ADDED

Git LFS Details

  • SHA256: ff397cd575c022eb66fa48e2229eff78035bb144df20fc9df91548f53906b47c
  • Pointer size: 131 Bytes
  • Size of remote file: 874 kB
third_party/segment-anything/assets/notebook2.png ADDED

Git LFS Details

  • SHA256: bdffadfdddee81d090ec130566eae7de6de0c6d6b2be85974860327c5d860fcc
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB
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

  • SHA256: 49b29517d3a6457bf8bd0b83a80cbeb24c2466bf3e5804bd503ebe60e430d784
  • Pointer size: 131 Bytes
  • Size of remote file: 449 kB
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

  • SHA256: bf76876b90e3ebd521f9882b9177ba8f33e80cb7ec09c630f179b122edd125e1
  • Pointer size: 130 Bytes
  • Size of remote file: 99.8 kB
third_party/segment-anything/notebooks/images/groceries.jpg ADDED

Git LFS Details

  • SHA256: 7073dfecb5a3ecafb6152124113163a0ea1c1c70f92999ec892b519eca63e3d3
  • Pointer size: 131 Bytes
  • Size of remote file: 168 kB
third_party/segment-anything/notebooks/images/truck.jpg ADDED

Git LFS Details

  • SHA256: 941715e721c8864324a1425b445ea4dde0498b995c45ddce0141a58971c6ff99
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB
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