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

tfrecords error with sample input file #1

Open
den-run-ai opened this issue May 13, 2022 · 0 comments
Open

tfrecords error with sample input file #1

den-run-ai opened this issue May 13, 2022 · 0 comments

Comments

@den-run-ai
Copy link

I'm getting this traceback from the model:

csrun_cpu python run.py --mode train --model_dir train_dir_00 --params configs/params.yaml

Traceback (most recent call last):
  File "run.py", line 226, in <module>
    main()
  File "run.py", line 220, in main
    args=args, params=params, model_fn=model_fn, input_fn=input_fn,
  File "run.py", line 191, in run
    use_cs=use_cs,
  File "../../../modelzoo/common/tf/estimator/cs_estimator.py", line 87, in train
    **kwargs,
  File "/cbcore/py_root/cerebras/tf/cs_estimator.py", line 2140, in train
    saving_listeners=saving_listeners,
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 349, in train
    loss = self._train_model(input_fn, hooks, saving_listeners)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1182, in _train_model
    return self._train_model_default(input_fn, hooks, saving_listeners)
  File "/cbcore/py_root/cerebras/tf/cs_estimator.py", line 1786, in _train_model_default
    input_fn, hooks, saving_listeners
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1215, in _train_model_default
    saving_listeners)
  File "/cbcore/py_root/cerebras/tf/cs_estimator.py", line 1826, in _train_with_estimator_spec
    saving_listeners,
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1518, in _train_with_estimator_spec
    _, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss])
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 778, in run
    run_metadata=run_metadata)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1283, in run
    run_metadata=run_metadata)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1384, in run
    raise six.reraise(*original_exc_info)
  File "/cb/toolchains/buildroot/monolith-default/202201281853-188-65388b41/rootfs-x86_64/usr/lib/python3.7/site-packages/six.py", line 693, in reraise
    raise value
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1369, in run
    return self._sess.run(*args, **kwargs)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1442, in run
    run_metadata=run_metadata)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1200, in run
    return self._sess.run(*args, **kwargs)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 958, in run
    run_metadata_ptr)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1181, in _run
    feed_dict_tensor, options, run_metadata)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/cbcore/python/python-x86_64/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Name: <unknown>, Feature: data (data type: string) is required but could not be found.
         [[{{node ParseExample/ParseExampleV2}}]]
         [[IteratorGetNext]]
srun: error: cypress-r1n12: task 0: Exited with exit code 1
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