-
Notifications
You must be signed in to change notification settings - Fork 553
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
[Improvement] browse_dataset.py
#304
Merged
hhaAndroid
merged 13 commits into
open-mmlab:dev
from
matrixgame2018:update-tools/browse_dataset
Dec 1, 2022
Merged
[Improvement] browse_dataset.py
#304
hhaAndroid
merged 13 commits into
open-mmlab:dev
from
matrixgame2018:update-tools/browse_dataset
Dec 1, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upgrate the brow_transform 对pipeline中的transform过程实现了可视化,以及可以将transform中key参数的变化打印出来。
hhaAndroid
reviewed
Nov 30, 2022
修改了215行result_i = [result['dataset_sample'] for result in intermediate_imgs]通过lint
hhaAndroid
approved these changes
Dec 1, 2022
triple-Mu
pushed a commit
to triple-Mu/mmyolo
that referenced
this pull request
Dec 6, 2022
* Create browse_transform.py Upgrate the brow_transform 对pipeline中的transform过程实现了可视化,以及可以将transform中key参数的变化打印出来。 * Update browse_dataset.py * Delete browse_transform.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py * Update browse_dataset.py 修改了215行result_i = [result['dataset_sample'] for result in intermediate_imgs]通过lint * fix some error Co-authored-by: huanghaian <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
浏览数据集
所有参数的说明:
config
: 模型配置文件的路径。-o, --output-dir
: 保存图片文件夹,如果没有指定,默认为''
,表示不保存。-p, --phase
: 可视化数据集的阶段,只能为['train', 'val', 'test']
之一,默认为'train'
。-n, --show-number
: 可视化样本数量。如果没有指定,默认展示数据集的所有图片。-i, --show-interval
: 浏览时,每张图片的停留间隔,单位为秒。-m, --mode
: 可视化的模式,只能为['original', 'transformed', 'concat', 'pipeline']
之一。 默认为'transformed'
.--cfg-options
: 对配置文件的修改,参考[学习配置文件](./config.md)。示例:
--phase val
: 可视化验证集, 可简化为-p val
;--output-dir tmp
: 可视化结果保存在 "tmp" 文件夹, 可简化为-o tmp
;--mode original
: 可视化原图, 可简化为-m original
;--show-number 100
: 可视化100张图,可简化为-n 100
;