Skip to content

Commit 18ca6f4

Browse files
committed
minor fix
1 parent 6c61641 commit 18ca6f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graph_net/paddle/validate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def main(args):
7474
print("Check redundancy ...")
7575
graph_net_samples_path = (
7676
graph_net.paddle.samples_util.get_default_samples_directory()
77+
if args.graph_net_samples_path is None
78+
else args.graph_net_samples_path
7779
)
7880
cmd = f"{sys.executable} -m graph_net.paddle.check_redundant_incrementally --model-path {args.model_path} --graph-net-samples-path {graph_net_samples_path}"
7981
cmd_ret = os.system(cmd)

0 commit comments

Comments
 (0)