Add pytorch version reporting
This commit is contained in:
parent
a579c9655b
commit
b7a9adf0c7
@ -11,6 +11,7 @@ from .utils import import_attr, load_model_state_dict
|
||||
|
||||
|
||||
def test(args):
|
||||
print('pytorch {}'.format(torch.__version__))
|
||||
pprint(vars(args))
|
||||
sys.stdout.flush()
|
||||
|
||||
|
@ -184,6 +184,7 @@ def gpu_worker(local_rank, node, args):
|
||||
logger = SummaryWriter()
|
||||
|
||||
if rank == 0:
|
||||
print('pytorch {}'.format(torch.__version__))
|
||||
pprint(vars(args))
|
||||
sys.stdout.flush()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user