|
|
@ -332,7 +332,6 @@ def main():
|
|
|
|
scriptable=args.torchscript,
|
|
|
|
scriptable=args.torchscript,
|
|
|
|
checkpoint_path=args.initial_checkpoint)
|
|
|
|
checkpoint_path=args.initial_checkpoint)
|
|
|
|
|
|
|
|
|
|
|
|
print(model)
|
|
|
|
|
|
|
|
if args.local_rank == 0:
|
|
|
|
if args.local_rank == 0:
|
|
|
|
_logger.info('Model %s created, param count: %d' %
|
|
|
|
_logger.info('Model %s created, param count: %d' %
|
|
|
|
(args.model, sum([m.numel() for m in model.parameters()])))
|
|
|
|
(args.model, sum([m.numel() for m in model.parameters()])))
|
|
|
|