Skip to content

Commit

Permalink
add FLAGS for temp model to testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
HaydenFaulkner committed Dec 30, 2019
1 parent 3afd5fc commit 9ee069a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion detect_yolo3.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
'Type to join hierarchical darknet. can be max or conv.')
flags.DEFINE_list('hier', [1, 1, 1, 1, 1],
'the hierarchical factors, the input must be temporally equal to all these multiplied together')
flags.DEFINE_boolean('mult_out', False,
'Have one or multiple outs for timeseries data')
flags.DEFINE_boolean('temp', False,
'Use new temporal model')

flags.DEFINE_boolean('visualise', False,
'Do you want to display the detections?')
Expand Down Expand Up @@ -632,7 +636,7 @@ def main(_argv):
block_conv_type=FLAGS.block_conv_type, rnn_pos=FLAGS.rnn_pos,
corr_pos=FLAGS.corr_pos, corr_d=FLAGS.corr_d, motion_stream=FLAGS.motion_stream,
agnostic=FLAGS.model_agnostic, add_type=FLAGS.stream_gating, new_model=FLAGS.new_model,
hierarchical=FLAGS.hier, h_join_type=FLAGS.h_join_type)
hierarchical=FLAGS.hier, h_join_type=FLAGS.h_join_type, temporal=FLAGS.temp, t_out=FLAGS.mult_out)
else:
net = yolo3_3ddarknet(trained_on_dataset.classes, conv_types=FLAGS.conv_types)
else:
Expand Down

0 comments on commit 9ee069a

Please sign in to comment.