Skip to content

Commit 17ac96a

Browse files
committed
Fixed non-closed bracket. Closes #15.
1 parent 3c11564 commit 17ac96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch2keras/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def convert_conv(params, w_name, scope_name, inputs, layers, weights):
2020
tf_name = w_name + str(random.random())
2121
bias_name = '{0}.bias'.format(w_name)
2222
weights_name = '{0}.weight'.format(w_name)
23-
input_name = layers[inputs[0]
23+
input_name = layers[inputs[0]]
2424

2525
if len(weights[weights_name].numpy().shape) == 4:
2626
W = weights[weights_name].numpy().transpose(2, 3, 1, 0)

0 commit comments

Comments
 (0)