You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finished loading training matrices
Traceback (most recent call last):
File "seq.py", line 223, in
encoderTrain, decoderTargetTrain, decoderInputTrain = getTrainingBatch(xTrain, yTrain, batchSize, maxEncoderLength)
File "seq.py", line 53, in getTrainingBatch
num = randint(0,numTrainingExamples - localBatchSize - 1)
File "C:\Users\ozun\Anaconda3\envs\tf-gpu\lib\random.py", line 221, in randint
return self.randrange(a, b+1)
File "C:\Users\ozun\Anaconda3\envs\tf-gpu\lib\random.py", line 199, in randrange
raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0,-12, -12)
The text was updated successfully, but these errors were encountered:
You should double check what your values are for numTrainingExamples and localBatchSize, and make sure they are positive and that the values make sense.
Hi all,
when i try to run seq2seq.py;
Finished loading training matrices
Traceback (most recent call last):
File "seq.py", line 223, in
encoderTrain, decoderTargetTrain, decoderInputTrain = getTrainingBatch(xTrain, yTrain, batchSize, maxEncoderLength)
File "seq.py", line 53, in getTrainingBatch
num = randint(0,numTrainingExamples - localBatchSize - 1)
File "C:\Users\ozun\Anaconda3\envs\tf-gpu\lib\random.py", line 221, in randint
return self.randrange(a, b+1)
File "C:\Users\ozun\Anaconda3\envs\tf-gpu\lib\random.py", line 199, in randrange
raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0,-12, -12)
The text was updated successfully, but these errors were encountered: