added auto port find
This commit is contained in:
parent
8651173920
commit
9a3f373d16
|
@ -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)
|
Loading…
Reference in New Issue