Skip to content
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

restoration_video_demo.py --filename_tmpl 参数问题 #335

Closed
JoshonSmith opened this issue May 28, 2021 · 3 comments
Closed

restoration_video_demo.py --filename_tmpl 参数问题 #335

JoshonSmith opened this issue May 28, 2021 · 3 comments
Assignees
Labels
kind/enhancement refactoring, improving CI, template, etc.

Comments

@JoshonSmith
Copy link

python demo/restoration_video_demo.py ./configs/restorers/basicvsr/basicvsr_vimeo90k_bi.py ./work_dirs/basicvsr_vimeo90k_bi_20210409-d2d8f760.pth ./data/vimeo_super_resolution_test/low_resolution/00001/0268/ ./output/basicvsr/vimeo --device=1 --filename_tmpl='im{:d}.png'

vimeo90k 数据集 的文件格式:im1.png ... im7.png
没有 im0.png
而--filename_tmpl参数该如何指定这种情况?

@JoshonSmith
Copy link
Author

the frame indices must start from 0 ?

@innerlee innerlee added the kind/enhancement refactoring, improving CI, template, etc. label May 28, 2021
@ckkelvinchan
Copy link
Member

the frame indices must start from 0 ?

Yes, since in GenerateSegmentIndices, we generate the indices based on the assumption that the first frame has an index 0.

Please rename the files for the moment, we will consider adding an optional argument start_index in GenerateSegmentIndices.

@JoshonSmith
Copy link
Author

ok
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement refactoring, improving CI, template, etc.
Projects
None yet
Development

No branches or pull requests

3 participants