-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
New Issue Checklist
- I have read the Contribution Guidelines
- I searched for existing GitHub issues
Issue Description
An Error caused when using tl.layers.DeformableConv2d.
Reproducible Code
- Which OS are you using ?
Windows 7 x64 - Please provide a reproducible code of your issue. Without any reproducible code, you will probably not receive any help.
net = tl.layers.InputLayer(x, name='input_layer')
offset1 = tl.layers.Conv2d(net, 18, (3, 3), (1, 1), act=act, padding='SAME', name='offset1')
net = tl.layers.DeformableConv2d(net, offset1, 32, (3, 3), act=act, name='deformable1')
offset2 = tl.layers.Conv2d(net, 18, (3, 3), (1, 1), act=act, padding='SAME', name='offset2')
net = tl.layers.DeformableConv2d(net, offset2, 64, (3, 3), act=act, name='deformable2')
When I used this code provided by Tensorlayer API documents, a TypeError was caused. I found a mistake in convolution.py
. And I suggest you delete Line 971 in convolution.py
or do something to fix this error.