Spaces:
Sleeping
Sleeping
update RohanGivenCode.py
Browse files- 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:
|