-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support to output video or gif file in demo.py #72
Conversation
demo.gif is too large. pls reduce the size below 1.5M |
demo/demo.py
Outdated
@@ -18,10 +20,84 @@ def parse_args(): | |||
help='whether to use rawframes as input') | |||
parser.add_argument( | |||
'--device', type=str, default='cuda:0', help='CPU/CUDA device option') | |||
parser.add_argument( | |||
'--fps', default=30, help='fps value of the output video') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fps should be None. if the input is video, then probe the input fps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modify the description to "specify fps value of the output video when using rawframes to generate file"
Codecov Report
@@ Coverage Diff @@
## master #72 +/- ##
==========================================
+ Coverage 85.22% 85.32% +0.10%
==========================================
Files 73 75 +2
Lines 3994 4083 +89
Branches 645 652 +7
==========================================
+ Hits 3404 3484 +80
- Misses 485 493 +8
- Partials 105 106 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
mmaction2_overview.gif is much larger than the current demo.gif |
They are both about 1.5MB. |
demo.py
.demo.gif
anddemo_out.mp4
).