Skip to content

Commit 03a7526

Browse files
committed
fix argument collision
1 parent 1019fd3 commit 03a7526

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TensorRT/python/FACILE_online_mc_cfg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
options.register("hang", "", VarParsing.multiplicity.singleton, VarParsing.varType.string)
1818
options.parseArguments()
1919

20+
# reset args to avoid collision w/ customizeHLTforAll
21+
sys.argv = sys.argv[0:1]
2022

2123
if len(options.params)>0:
2224
with open(options.params,'r') as pfile:

0 commit comments

Comments
 (0)