Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: 63 is not in list #2

Open
deepbluesea opened this issue Aug 1, 2019 · 0 comments
Open

ValueError: 63 is not in list #2

deepbluesea opened this issue Aug 1, 2019 · 0 comments

Comments

@deepbluesea
Copy link

tensor flow 2.0.0-beta1


InvalidArgumentError: ValueError: 63 is not in list
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/script_ops.py", line 209, in __call__
    ret = func(*args)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 525, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "/content/gpt2-estimator/gpt2_estimator/gpt2_estimator_fn.py", line 118, in sample_batch
    mask_start = len(v) - list(v[::-1]).index(63) + 1

ValueError: 63 is not in list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant