raja5259 commited on
Commit
dee3d77
1 Parent(s): c3ea996

update RohanGivenCode.py

Browse files
Files changed (1) hide show
  1. RohanGivenCode.py +1 -1
RohanGivenCode.py CHANGED
@@ -264,7 +264,7 @@ def train_the_model(train_loader):
264
 
265
 
266
  #From here inference
267
- def infer_the_model(device, test_loader, save1_or_load0, max_length):
268
  x, y = test_loader.next_batch()
269
  model = get_model(device)
270
  if save1_or_load0 == 0:
 
264
 
265
 
266
  #From here inference
267
+ def infer_the_model(device, test_loader, save1_or_load0, max_length, num_return_sequences):
268
  x, y = test_loader.next_batch()
269
  model = get_model(device)
270
  if save1_or_load0 == 0: