sczhou commited on
Commit
296e4e0
β€’
1 Parent(s): 07dabfd
.gitattributes DELETED
@@ -1,38 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
36
- *.mp4 filter=lfs diff=lfs merge=lfs -text
37
- *.png filter=lfs diff=lfs merge=lfs -text
38
- *.gif filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web-demos/hugging_face/app.py CHANGED
@@ -17,7 +17,13 @@ from tools.painter import mask_painter
17
  from track_anything import TrackingAnything
18
 
19
  from model.misc import get_device
20
- from utils.download_util import load_file_from_url
 
 
 
 
 
 
21
 
22
 
23
  def parse_augment():
 
17
  from track_anything import TrackingAnything
18
 
19
  from model.misc import get_device
20
+ from utils.download_util import load_file_from_url, download_url_to_file
21
+
22
+ # make sample videos into mp4 as git does not allow mp4 without lfs
23
+ sample_videos_path = os.path.join(os.path.dirname(__file__), "./test_sample/")
24
+ download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/14334509/281805130-e57c7016-5a6d-4d3b-9df9-b4ea6372cc87.mp4", os.path.join(sample_videos_path, "test-sample0.mp4"))
25
+ download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/76810782/281807801-69b9f70c-1e56-428d-9b1b-4870c5e533a7.mp4", os.path.join(sample_videos_path, "test-sample2.mp4"))
26
+ download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/76810782/281808625-ad98f03f-99c7-4008-acf1-3d7beb48f13b.mp4", os.path.join(sample_videos_path, "test-sample3.mp4"))
27
 
28
 
29
  def parse_augment():
web-demos/hugging_face/assets/step1.png CHANGED

Git LFS Details

  • SHA256: c93010fa938c75ae671e3aa362205f3f2692783930f67a6623e0a438479e7326
  • Pointer size: 131 Bytes
  • Size of remote file: 309 kB
web-demos/hugging_face/assets/step2.png CHANGED

Git LFS Details

  • SHA256: de449d6fa2c476d1db0e7dcf48e58f7e2b0a510564dbbdadcd9436c02b989f79
  • Pointer size: 131 Bytes
  • Size of remote file: 751 kB
web-demos/hugging_face/assets/step3.png CHANGED

Git LFS Details

  • SHA256: d8273104c2e558cb0d1edfe91f5e4ca27483815f5e31aad153f199a351c87b12
  • Pointer size: 132 Bytes
  • Size of remote file: 1.14 MB
web-demos/hugging_face/test_sample/test-sample0.mp4 CHANGED
Binary files a/web-demos/hugging_face/test_sample/test-sample0.mp4 and b/web-demos/hugging_face/test_sample/test-sample0.mp4 differ
 
web-demos/hugging_face/test_sample/test-sample1.mp4 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e0856abcba55f21e41830a58bde1681c6be5790a0dd1431d844e29687b36d891
3
- size 1163525
 
 
 
 
web-demos/hugging_face/test_sample/test-sample2.mp4 CHANGED
Binary files a/web-demos/hugging_face/test_sample/test-sample2.mp4 and b/web-demos/hugging_face/test_sample/test-sample2.mp4 differ
 
web-demos/hugging_face/test_sample/test-sample3.mp4 CHANGED
Binary files a/web-demos/hugging_face/test_sample/test-sample3.mp4 and b/web-demos/hugging_face/test_sample/test-sample3.mp4 differ
 
web-demos/hugging_face/test_sample/test-sample4.mp4 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:896c1a10230caaf913978e480378343d4992d80a2508eae8abe4f23f56ba7feb
3
- size 1163525