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

error: Invalid argument: cycle_length must be > 0 #90

Open
AlexYoung757 opened this issue Jul 23, 2021 · 0 comments
Open

error: Invalid argument: cycle_length must be > 0 #90

AlexYoung757 opened this issue Jul 23, 2021 · 0 comments

Comments

@AlexYoung757
Copy link

AlexYoung757 commented Jul 23, 2021

0.3.4版本,执行notebook示例:Run Self Defined Problem,出现以下错误:
InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument: cycle_length must be > 0
[[node ExperimentalParallelInterleaveDataset (defined at /home/appadmin/anaconda3/envs/multi_task/lib/python3.6/site-packages/bert_multitask_learning-0.3.4-py3.6.egg/bert_multitask_learning/read_write_tfrecord.py:520) ]]
[[MultiDeviceIteratorToStringHandle/_8865]]
(1) Invalid argument: cycle_length must be > 0
[[node ExperimentalParallelInterleaveDataset (defined at /home/appadmin/anaconda3/envs/multi_task/lib/python3.6/site-packages/bert_multitask_learning-0.3.4-py3.6.egg/bert_multitask_learning/read_write_tfrecord.py:520) ]]
0 successful operations.
0 derived errors ignored.

运行环境如下:
tensorflow==1.14.0
keras==2.3.1
tensor2tensor==1.15.5

how to solve it

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