Skip to content

Commit

Permalink
Merge pull request #23 from asgg4321/master
Browse files Browse the repository at this point in the history
Update train.py
  • Loading branch information
Shiyu Huang committed Mar 23, 2018
2 parents 0df80e7 + 1376fd5 commit 4a76607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Expand Up @@ -33,7 +33,7 @@ def build(self, rgb, label, label_weight, bbox_target, bbox_loss_weight, learnin
print('build model started')

# Convert RGB to BGR
red, green, blue = tf.split(3, 3, rgb)
red, green, blue = tf.split(rgb, 3, 3)
assert red.get_shape().as_list()[1:] == [image_height, image_width, 1]
assert green.get_shape().as_list()[1:] == [image_height, image_width, 1]
assert blue.get_shape().as_list()[1:] == [image_height, image_width, 1]
Expand Down

0 comments on commit 4a76607

Please sign in to comment.