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

[Fix] Fix bug on mmrazor visualization, mismatch argument in define and use. #356

Merged
merged 1 commit into from
Dec 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/visualizations/feature_diff_visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def parse_args():
'config1', help='train config file path for the first model')
parser.add_argument(
'config2', help='train config file path for the second model')
parser.add_argument('vis-config', help='visualization config file path')
parser.add_argument('vis_config', help='visualization config file path')
parser.add_argument(
'checkpoint1', help='Checkpoint file for the first model')
parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion tools/visualizations/feature_visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def parse_args():
parser = argparse.ArgumentParser(description='Feature map visualization')
parser.add_argument('img', help='Image file')
parser.add_argument('config', help='train config file path')
parser.add_argument('vis-config', help='visualization config file path')
parser.add_argument('vis_config', help='visualization config file path')
parser.add_argument('checkpoint', help='Checkpoint file')
parser.add_argument('--out-file', default=None, help='Path to output file')
parser.add_argument(
Expand Down