Skip to content

Commit

Permalink
Merge pull request zzh8829#83 from MarBra110/master
Browse files Browse the repository at this point in the history
Fixed wrong transfer flag
  • Loading branch information
zzh8829 committed Nov 14, 2019
2 parents 4cd9a9e + 11fbc34 commit 6cf777b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def main(_argv):
# freeze darknet
darknet = model.get_layer('yolo_darknet')
freeze_all(darknet)
elif FLAGS.mode == 'frozen':
elif FLAGS.transfer == 'frozen':
# freeze everything
freeze_all(model)
else:
Expand Down

0 comments on commit 6cf777b

Please sign in to comment.