Skip to content

Commit cdf3253

Browse files
authored
Update actor.py
1 parent c6442ef commit cdf3253

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ptr_Net_TSPTW/actor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def build_optim(self):
206206
for i in tqdm(range(nb_epoch)): # epoch i
207207

208208
# Get feed_dict
209-
input_batch = training_set.train_batch(actor.batch_size, actor.max_length, actor.input_dimension)
209+
input_batch = training_set.train_batch()
210210
feed = {actor.input_: input_batch}
211211
#print(' Input \n', input_batch)
212212

@@ -225,4 +225,4 @@ def build_optim(self):
225225
variables_names = [v.name for v in tf.global_variables() if 'Adam' not in v.name]
226226
values = sess.run(variables_names)
227227
for k, v in zip(variables_names, values):
228-
print("Variable: ", k, "Shape: ", v.shape)
228+
print("Variable: ", k, "Shape: ", v.shape)

0 commit comments

Comments
 (0)