diff --git a/single_eval.py b/single_eval.py index 142e35b..d5c6516 100644 --- a/single_eval.py +++ b/single_eval.py @@ -26,7 +26,7 @@ model.eval() model.to(device) print("Print ipconfig") -if platform.linux: +if platform == linux: os.system("ip r") else: os.system("ipconfig")