remove duplicate line

This commit is contained in:
Kai Zhang 2020-10-17 09:31:52 -04:00 committed by GitHub
parent 86d6f883b2
commit 6e889b2426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -323,7 +323,6 @@ def create_nerf(rank, args):
for m in range(models['cascade_level']): for m in range(models['cascade_level']):
for name in ['net_{}'.format(m), 'optim_{}'.format(m)]: for name in ['net_{}'.format(m), 'optim_{}'.format(m)]:
models[name].load_state_dict(to_load[name]) models[name].load_state_dict(to_load[name])
models[name].load_state_dict(to_load[name])
return start, models return start, models