Pedro Henrique Conrado commited on
Commit
a9d3fa2
·
1 Parent(s): 3587ceb
Files changed (3) hide show
  1. 3_2.mp4 +0 -3
  2. app.py +1 -14
  3. examples/file +0 -0
3_2.mp4 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b6671f49f5714f497559fcaacc471ac2711813eca37a6142c1dc51d2504aaec
3
- size 3332097
 
 
 
 
app.py CHANGED
@@ -31,20 +31,7 @@ TARGET_VIDEO_PATH = "test.mp4"
31
 
32
  CLASS_ID = [0,1,2,3]
33
 
34
- file_urls = [
35
- 'https://drive.google.com/file/d/1dE7sViBayWAvi0YBHPhw0AX7AKhBTGY6/view?usp=sharing'
36
- ]
37
-
38
- def download_file(url, save_name):
39
- url = url
40
- if not os.path.exists(save_name):
41
- file = requests.get(url)
42
- open(save_name, 'wb').write(file.content)
43
-
44
- for i, url in enumerate(file_urls):
45
- download_file(file_urls[i], f'video.mp4')
46
-
47
- video_examples = [['video.mp4']]
48
 
49
  model = YOLO(MODEL)
50
  model.fuse()
 
31
 
32
  CLASS_ID = [0,1,2,3]
33
 
34
+ video_examples = [['example.mp4']]
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  model = YOLO(MODEL)
37
  model.fuse()
examples/file DELETED
File without changes