added auto port find

This commit is contained in:
William Falcon 2019-07-24 14:56:35 -04:00
parent 8651173920
commit 9a3f373d16
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def run_prediction(dataloader, trained_model):
assert val_acc > 0.70, f'this model is expected to get > 0.7 in test set (it got {val_acc})'
def main():
def mainasdf():
save_dir = init_save_dir()
model, hparams = get_model()
@ -145,5 +145,6 @@ def get_pids(port):
except:
pass
if __name__ == '__main__':
get_pids(12910)