mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
added auto port find
This commit is contained in:
@@ -138,4 +138,5 @@ if __name__ == '__main__':
|
||||
command = "lsof -i :%s | awk '{print $2}'" % 12910
|
||||
pids = subprocess.check_output(command, shell=True)
|
||||
pids = pids.strip()
|
||||
|
||||
print(pids)
|
||||
|
||||
Reference in New Issue
Block a user