mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix
This commit is contained in:
parent
9f0b4bf3cf
commit
62c6fffdde
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Conv2D(nn.LayerBase):
|
||||||
else:
|
else:
|
||||||
dilations = [1,1,dilations,dilations]
|
dilations = [1,1,dilations,dilations]
|
||||||
|
|
||||||
x = tf.nn.conv2d(x, weight, self.strides, 'VALID', dilations=self.dilations, data_format=nn.data_format)
|
x = tf.nn.conv2d(x, weight, strides, 'VALID', dilations=dilations, data_format=nn.data_format)
|
||||||
if self.use_bias:
|
if self.use_bias:
|
||||||
if nn.data_format == "NHWC":
|
if nn.data_format == "NHWC":
|
||||||
bias = tf.reshape (self.bias, (1,1,1,self.out_ch) )
|
bias = tf.reshape (self.bias, (1,1,1,self.out_ch) )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue