We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a2e93 commit 88017d2Copy full SHA for 88017d2
onnx_diagnostic/torch_models/validate.py
@@ -123,8 +123,8 @@ def _make_folder_name(
123
els = [model_id.replace("/", "_")]
124
if subfolder:
125
els.append(subfolder.replace("/", "_"))
126
- if not task:
127
- els.append(task) # type: ignore[arg-type]
+ if task:
+ els.append(task)
128
if drop_inputs:
129
ii = "-".join(f"{s[0]}{s[-1]}" for s in drop_inputs)
130
els.append(f"I-{ii.upper()}")
0 commit comments