We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85c22a4 commit 0e314d8Copy full SHA for 0e314d8
tools/export_onnx.py
@@ -65,6 +65,9 @@ def main():
65
exp = get_exp(args.exp_file, args.name)
66
exp.merge(args.opts)
67
68
+ if exp.color_channel != args.num_channels:
69
+ logger.warning(f"When exporting to ONNX, it is important to ensure that the image channels match those used during training.")
70
+
71
if not args.experiment_name:
72
args.experiment_name = exp.exp_name
73
0 commit comments