Skip to content

Commit 593a864

Browse files
committed
Remove batchnorm that we didn't use in the main figure
1 parent 6d91dee commit 593a864

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
import multiprocessing
2+
import numpy as np
23
import os
34
import pickle
45
import platform
56
import subprocess
67
import sys
7-
from functools import partial
8-
9-
import numpy as np
108
import tensorflow as tf
119
from baselines.common.tf_util import normc_initializer
10+
from functools import partial
1211
from mpi4py import MPI
1312

1413

@@ -144,7 +143,6 @@ def small_convnet(x, nl, feat_dim, last_nl, layernormalize, batchnorm=False):
144143
x = last_nl(x)
145144
if layernormalize:
146145
x = layernorm(x)
147-
x = tf.layers.batch_normalization(x, trainable=False, training=True)
148146
return x
149147

150148

0 commit comments

Comments
 (0)