Skip to content

Commit 47b24ad

Browse files
committed
add work space
1 parent c3a98de commit 47b24ad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

graph_net/torch/validate.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,12 @@ def main(args):
6666
action="store_true",
6767
help="whether check model graph redundancy",
6868
)
69+
parser.add_argument(
70+
"--workspace",
71+
default=os.environ.get("GRAPH_NET_EXTRACT_WORKSPACE", "./workspace"),
72+
help="whether check model graph redundancy",
73+
)
6974
args = parser.parse_args()
75+
os.environ["GRAPH_NET_EXTRACT_WORKSPACE"] = args.workspace
76+
7077
main(args=args)

0 commit comments

Comments
 (0)